Re: Fw: Re: nss_ldap in -CURRENT

2003-08-14 Thread Clement Laforet
On Thu, 7 Aug 2003 01:17:47 +0200
Clement Laforet <[EMAIL PROTECTED]> wrote:

> If someone wants to add/correct something.
> 
> Begin forwarded message:
> 
> Date: Thu, 7 Aug 2003 01:14:50 +0200
> From: Clement Laforet <[EMAIL PROTECTED]>
> To: Kerberus <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: nss_ldap in -CURRENT
> 

> 9. configure /etc/nsswitch
  ^^ => /etc/nsswitch.conf 
-bash-2.05b# cat /etc/nsswitch.conf 
passwd: files ldap
groups: files ldap
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fw: Re: nss_ldap in -CURRENT

2003-08-07 Thread Thomas Deniau
> 10. id  to test

OK, things work up to this step. "su" works too. Thank you !
(the symlink thing was missing)

Now I'm trying to implement password changes

I've put

passwordsufficient  /usr/local/lib/pam_ldap.so
passwordrequiredpam_unix.so no_warn
try_first_pass nullok


in /etc/pam.d/passwd


But when I try to change a pass for a LDAP user I get :
passwd: Sorry, `passwd' can only change passwords for local or NIS
users.

The logs show me that the LDAP query returned the correct value.

Any clue ?

-- 
Thomas Deniau
"Unix is user friendly. It's just selective when choosing friends."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"