LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows XP Home - no visible SAMBA shares (https://www.linuxquestions.org/questions/linux-newbie-8/windows-xp-home-no-visible-samba-shares-4175594693/)

Mr486 12-03-2016 07:32 AM

Windows XP Home - no visible SAMBA shares
 
Hi, this used to work a while ago but some change seems to have caused a problem in that I am not seeing the Windows shares from my Linux machine, I shared a directory called 2016 and a directory called Z, but not appearing in the list - could this be a anonymous/guest access issue?

$/usr/bin/smbclient -L SYSTEN
Unknown parameter encountered: "time service"
Ignoring unknown parameter "time service"
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Got a positive name query response from 10.0.0.11 ( 10.0.0.11 )
Server time is Sat Dec 3 12:06:50 2016
Timezone is UTC-0.0
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
connected as guest security=user

Server=[SYSTEN] User=[] Workgroup=[HOME] Domain=[]
$

Mr486 12-03-2016 07:40 AM

The SYSTEN shares can be seen from a fellow XP machine.
The linux machine samba shares can be seen from the SYSTEN machine and the fellow XP machine....

Mr486 05-27-2017 03:21 AM

Hi,

This problem actually got resolved on its own(I tried a few days later and the sharelist was listed!) and I could see a sharelist. However now it has come back again and I can no longer see the sharelist.

I dont know what things I can do to get the XP machine to "cough-up" a sharelist.

Mr486 05-27-2017 03:28 AM

I changed the XP machine Workgroup to "A" then I can see the Browselist and Workgroup list:


Code:

This machine has a browse list:

        Server              Comment
        ---------            -------
        SYSTEN


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        A                    SYSTEN
        HOME                LINUX


Mr486 05-27-2017 06:27 AM

What I have done now is change the name of the workgroup on the XP machine (to VALLEY) and also changed it in the linux machines /etc/smb.conf file (workgroup=VALLEY) to see if that makes any difference:


Code:


/usr/bin/smbclient -L systen -I 10.0.0.11 -U%

Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sat May 27 12:23:57 2017
Timezone is UTC+1.0
Domain=[VALLEY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
security=user


This machine has a browse list:

        Server              Comment
        ---------            -------
        SYSTEN


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        VALLEY              SYSTEN


Mr486 05-27-2017 09:33 AM

Hi, I have got smbclient working in the following way.....

On the Windows machine I created and shared an empty directory called 99
Then on the linux machine I did the command as follows in the code excerpt:
Does anyone know what holds me back from mount a windows directory or seeing the share list?

Code:

/usr/bin/smbclient \\\\systen\\99 -I 10.0.0.11
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sat May 27 15:28:35 2017
Timezone is UTC+1.0
Password:
Domain=[VALLEY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
connected as guest security=user
smb: \> cd
Current directory is \
smb: \> ls
  .                                  D        0  Sat May 27 15:24:10 2017
  ..                                  D        0  Sat May 27 15:24:10 2017

                39935 blocks of size 262144. 330 blocks available
smb: \> put backup_minimum_to_tar
putting file backup_minimum_to_tar of size 1540 bytes as \backup_minimum_to_tar (10.5168 kb/s) (average 10.5168 kb/s)
smb: \>

I am trying to mount the drive as follows:

Code:

/usr/bin/smbmount //systen/99 /mnt -I 10.0.0.11
Password:
mount error: No such device
Please look at smbmount's manual page for possible reasons


Mr486 05-28-2017 06:06 AM

This is an intersting result. On a windows 98 machine the share list works ok:

Code:

smbclient -L Laptop -I 10.0.0.12
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sun May 28 12:01:48 2017
Timezone is UTC+1.0
security=share

Server=[LAPTOP] User=[] Workgroup=[HOME] Domain=[HOME]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$          IPC      Remote Inter Process Communication
        PQBOOT        Disk      go


This machine has a browse list:

        Server              Comment
        ---------            -------
        SERVER1              IBM
        LAPTOP              Laptop
        OPTIPLEX780          Optiplex780


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        HOME                LAPTOP


Mr486 05-28-2017 06:11 AM

However trying to mount the Windows 98 smb share I still get mount error: No such device

Jjanel 05-29-2017 02:50 AM

Maybe: modprobe smbfs
From a web-search of: smbmount "mount error: No such device"
If not, this shows to post version info, strace -f
Quote:

Please do "cat /proc/filesystems". If "smbfs" does not show up in the output then your kernel is not compiled with smbfs support, or it is compiled with smbfs support in the form of a module but the module is not loaded.


All times are GMT -5. The time now is 09:14 AM.