[Samba] Everything but [Homes] works

Guillermo Gutierrez ggutierrez at marketscan.com
Mon May 15 12:39:28 GMT 2006


Whoops, hadn't seen that this answer was already given. never mind.

-----Original Message-----
From: samba-bounces+ggutierrez=marketscan.com at lists.samba.org
[mailto:samba-bounces+ggutierrez=marketscan.com at lists.samba.org]On
Behalf Of Guillermo Gutierrez
Sent: Monday, May 15, 2006 5:35 AM
To: Stephen Carville; Samba List
Subject: RE: [Samba] Everything but [Homes] works


will changing "path = /export/private/%S" to "path = /export/private/%U" under the [homes] section change anything?

-----Original Message-----
From: samba-bounces+ggutierrez=marketscan.com at lists.samba.org
[mailto:samba-bounces+ggutierrez=marketscan.com at lists.samba.org]On
Behalf Of Stephen Carville
Sent: Sunday, May 14, 2006 6:50 PM
To: Samba List
Subject: [Samba] Everything but [Homes] works


I am migrating from my "old" 2.2.7 samba server to a newer server runnig
  3.0.20a and everythig is working except the [homes] share.  The server
(FILE-CABINET) is a member of the domain, security is set to ADS and, as
far as I can tell, kerberos is working. The program wbinfo returns a
list of users and groups like it should.  getent passwd returns first my
local passwd file and then the list of windows users.  nscd is off.

authentication seems to be working:

$ sudo wbinfo -a scarville%<password>
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc0000064)
error messsage was: No such user
Could not authenticate user scarville%<password> with plaintext password
challenge/response password authentication succeeded

I'm currently testing from a Window 2003 terminal server and, If I use
run->\\file-cabinet I can see all the listed shares and all _except_ the
home directory are accessible.

Usually a few minutes with Google is all I need to solve Samba problem
but not this time.

Samba version: 3.0.20a

I have in nsswitch.conf:

passwd:     files winbind
shadow:     files winbind
group:      files winbind

in smb.conf:

[global]
         unix charset = LOCALE
         workgroup = TOTALFLOOD
         realm = TOTALFLOOD.COM
         netbios name = FILE-CABINET
         security = ADS
         encrypt passwords = yes
         lanman auth = no
         lm announce = no
         min protocol = NT1
         username map = /etc/samba/smbusers
         log level = 10
         syslog = 0
         server string = Main File Server
         hosts allow = 192.168.124. 127.
         log file = /var/log/samba/%m.log
         max log size = 50
         smb ports = 139
         name resolve order = wins bcasts hosts
         wins server = 192.168.124.10
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         load printers = No
         idmap uid = 10000-20000
         idmap gid = 10000-20000
         admin users = stephen, paul
[netapps]
         comment = Network Applications
         path = /export/netapps
         force user = procman
         force group = users
         read only = No
[common]
         comment = Common Files
         path = /export/common
         force group = users
         read only = No
         create mask = 0775
         force create mode = 0664
         directory mask = 0775
         force directory mode = 0775
[public]
         comment = Public Files
         path = /export/public
         force user = procman
         force group = users
         read only = No
         create mask = 0774
[homes]
         comment = Home Directory
         path = /export/private/%S
         hide dot files = yes
         valid users = %S
         read only = No
         browseable = No

-- Stephen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list