On Wednesday 09 June 2010 4:47:31 pm you wrote: > Hi Dimitri, > > You probably want to enable the PAM module > responsible for this. Back up and edit your > /etc/pam.d/system-auth and add the following > line: > > session required pam_oddjob_mkhomedir.so > skel=/etc/skel/ umask=0022 > > Note: Messing with your pam config may lock you > out of the system, so be careful. > > 2010/6/9 Dimitri Yioulos <dyiou...@firstbhph.com>: > > Hi, all. > > > > I'm working on a project to create a Samba > > PDC with LDAP authentication. I've been > > pretty successful in getting everything to > > work. However, I've run into a small snag: > > > > The PDC is built on an OpenSuse 11.2 box. > > Most of the member servers are also OpenSuse > > 11.2 boxes. However, a CentOS 5.5 server was > > just added to the mix. While users can lo > > into the CentOS box, with LDAP providing the > > creds, no home directory is automagically > > created as in the OpenSuse boxes. I'd like > > to fix that, with your help. > > > > I've used authconfig-tui on the CentOS box to > > enable "Use LDAP" and "Use LDAP > > Authentication" (the equivalent of YAST's > > LDAP Client config tool?). I believe my > > smb.conf and ldap.conf files are correct > > (I'll provide them if you all need to see > > them). Any ideas? > > > > Thanks. > > > > Dimitri > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > -- > > To unsubscribe from this list go to the > > following URL and read the instructions: > > https://lists.samba.org/mailman/options/samb > >a > > -- > Diego Lima
Diego, That worked perfectly! I used pam_mkhomedir.so, though, as this is a 32-bit system. Thank you. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba