On Fri, 15 Feb 2008 09:45:23 +0700 (ICT), Olivier Nicole wrote

Hi Olivier,

> Though I am looking one step ahead, how to allow a user to
> authenticate to this machine and not that machine, using the same ldap
> directory.

You can override attributes in you /usr/local/etc/nss_ldap.conf.

Something like this :

nss_override_attribute_value homeDirectory /dev/null
nss_override_attribute_value loginShell /usr/bin/false
nss_override_attribute_value userPassword x

should prevent users from login on your machine.

Best regards,

Ganaƫl LAPLANCHE
[EMAIL PROTECTED]
http://www.martymac.com

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to