On Tue, 29 Oct 2002, Scott Wrosch wrote: > Okay, I've got it partially working. Will that module also do it from a non-*nix >login? For instance, say the user will more than likely never log into that server >from a telnet session. Where would I put the following line: > > session required /lib/security/pam_mkhomedir.so skel=/etc/skel > > I'm running RedHat 7.3. In the /etc/pam.d directory, there are a bunch of different >files. Currently I have it in two spots, the login file, and the samba file. I know >it works fine in the login file as far as a telnet session goes. It does nothing >though when connecting to the share through Windows. So I tried putting the same >line in the samba file, and still nothing. > > Am I putting it in the wrong file?
No, it has to be in the Samba pam file, but there is more to it. You also have to tell Samba that is has to obey the rules set forth in the pam files. I've created a small howto detailing a Samba/Winbind setup as part of a domain controlled by Windows DC's. It includeds all details on setting up pam_mkhomedir. You can fin it at : http://www.sin.khk.be/~dj/ Kind regards, Tim Verhoeven -- =========================================================================== Tim Verhoeven Linux & Open Source Specialist GSM : 0496 / 693 453 + e-business solutions Email : [EMAIL PROTECTED] + consulting URL : www.sin.khk.be/~dj/ + Server consolidation =========================================================================== -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
