Hello,

My local user can browse other shared documents except home
directory.Thisconfused me for several
days.Information as belows.How to fix it.Thanks.

Redhat is an user of my Linux system.


[EMAIL PROTECTED] ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[docs]"
Processing section "[test]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
       netbios name = REDHAT
       server string = Samba Server
       username map = /etc/samba/smbusers
       log file = /var/log/samba/%m.log
       max log size = 50
       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
       printcap name = /etc/printcap
       dns proxy = No
       cups options = raw

[homes]
       comment = Home Directories
       read only = No
       browseable = No

[printers]
       comment = All Printers
       path = /var/spool/samba
       printable = Yes
       browseable = No

[docs]
       comment = shared documents
       path = /usr/share/doc
       guest ok = Yes
       hosts allow = 192.168.0.

[test]
       path = /tmp/redhat
       valid users = itlab, @redhat
       write list = itlab, @redhat
       create mask = 0660
       directory mask = 0770
[EMAIL PROTECTED] ~]# smbclient -L 192.168.0.3 -U redhat%redhat
Domain=[REDHAT] OS=[Unix] Server=[Samba 3.0.21b-2]

       Sharename       Type      Comment
       ---------       ----      -------
       ADMIN$          IPC       IPC Service (Samba Server)
       IPC$            IPC       IPC Service (Samba Server)
       test            Disk
       docs            Disk      shared documents
       redhat          Disk      Home Directories
Domain=[REDHAT] OS=[Unix] Server=[Samba 3.0.21b-2]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------
       WORKGROUP            WINDOWS
[EMAIL PROTECTED] ~]# smbclient //192.168.0.3/redhat -U redhat%redhat
Domain=[REDHAT] OS=[Unix] Server=[Samba 3.0.21b-2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[EMAIL PROTECTED] ~]#

In WindowsXP,I can open docs and test directory with user redhat,but can't
open user redhat's home directory.the message is "The network path was not
found.".
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to