LDAP user authentication?
Jonathan Chen
jonc at chen.org.nz
Mon Feb 18 00:49:29 UTC 2008
On Sun, Feb 17, 2008 at 05:45:33PM -0500, Darek M. wrote:
> Jon Theil Nielsen wrote:
> >I have googled for a very long time, but I haven't found any useful
> >howto on this issue. Well, there is
> >http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
> >but that seems to be a bit confusing an not up-to-date. I guess it
> >_should_ be possible - and indeed very useful (especially combinde
> >with Samba PDC and an easily maintainlable mail server). So please, if
> >you have any experiences or knowledge of a useful description..!
> >
> >Regards,
> >Jon Theil Nielsen
>
> At the risk of a thread-jack...
>
> how are home directories handled? Will 'user' have a home dir on the
> local system? I suppose once LDAP is set up properly, you can then
> create the home dir, then chown it 'user', with 'user' not being a local
> user and not in passwd/master.passwd files. So when you chown/chgrp,
> those commands go through pam/nss/ldap to retrieve the proper id and
> name from the LDAP server?
There's security/pam_mkhomedir, which should do what you want.
Cheers.
--
Jonathan Chen <jonc at chen.org.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
- Edmond Blackadder III
More information about the freebsd-questions
mailing list