Antoine Maartens
2004-Dec-17 07:53 UTC
[Samba] Odd - some users can mount /home, others cannot
LS, What could cause the following situation: Most users CAN connect to their /home other users CANNOT connect to their /home and get the error 66 message. All users concerned are in the same group and thus share the same gid. I am aware of security stuff putting directories on 0777. Setup is: Win98SE Fedora2 Samba 3.0.3-5 Funny thing is that a smclient -U username \\\\server\username password works fine - so I can get a the data I need from the Linux side. Error log reads as follows at log level 1: [2004/12/16 10:14:59, 0] smbd/service.c:make_connection(771) fslinux (192.168.11.200) couldn't find service home Now increased the loglevel to 10 for some detail. A net use command on the Win98 machine reveals that the UNC mapping to the users /home dir exists but it does not get mapped to the drive. smb.cnf as follows: [global] workgroup = Domein netbios name = fslinux server string = www security = user encrypt passwords = Yes update encrypted = Yes password server = * log level = 1 log file = /var/log/samba/log.%U time server = Yes add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u logon script = %U.bat logon path = \\%N\netlogon\%u logon drive = x: logon home = \\%L\%U domain logons = Yes os level = 65 preferred master = True domain master = True wins support = yes winbind use default domain = yes utmp = yes map acl inherit = yes acl compatibility = auto admin users = root antoinem rob printing = cups printcap name = cups queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p [netlogon] path = /etc/samba/netlogon/ browseable = No [homes] comment = Home Directories path = /home/%U read only = No create mask = 0700 force create mode = 0700 directory mask = 0700 force directory mode = 0700 browseable = No [profile] path = /home/%U read only = no profile acl = yes [homedirs] comment = homedirs path = /home/homedirs/%U read only = No create mask = 0755 force create mode = 0755 directory mask = 0755 force directory mode = 0755 browsable = No [groepen] comment = groepen path = /home/groepen/%U read only = No create mask = 0777 force create mode = 0777 directory mask = 0777 force directory mode = 0777 browsable = No [appl] comment = onderwijs software path = /home/appl admin users = (real names removed) read list = @users write list = @users,@leerlingen,@onderwijzers read only = No create mask = 0777 directory mask = 0777 browseable = No [SOFTWARE] comment = SOFTWARE path = /home/software read only = No browseable = No [MEMO] comment = SOFTWARE path = /home/memo read only = No browseable = No admin users = xxx (real names removed read list = @users write list = @users read only = No create mask = 0777 directory mask = 0777 [OVERZICHT] comment = homedirs path = /home/groepen read only = No create mask = 0755 force create mode = 0755 directory mask = 0755 force directory mode = 0755 browsable = No [SYSADMIN] path = / valid users = xxx (real names removed) admin users = xxx (real names removed) read only = No browseable = No [CDROM] path = /mnt/cdrom valid users = @users admin users = xxx browseable = No [PRINTERS] path = /var/spool/samba printer admin = root printable = yes use client driver = yes browseable = no [educat] path = /mnt/jb01 read only = yes browseable= No