Re: pam_ldap and passwd

2003-11-24 Thread Danny Braniss
while you are at it can you: --- passwd.cTue Jul 15 12:31:13 2003 +++ passwd.c.orig Sat Apr 19 00:27:09 2003 @@ -119,10 +119,6 @@ fprintf(stderr, "Changing NIS password for %s\n", pwd->pw_name); break; - case _PWF_HESIOD: -

Re: pam_ldap and passwd

2003-11-24 Thread Clement Laforet
On Mon, 24 Nov 2003 14:17:06 +0100 Yuri Khotyaintsev <[EMAIL PROTECTED]> wrote: > > I think I will wait for "official" solution rather then hacking > myself... Wise decision > Do you have any patches for this ? Sorry I don't have clean and reliable patch for this... clem _

Re: pam_ldap and passwd

2003-11-24 Thread Yuri Khotyaintsev
Clement Laforet wrote: Yuri Khotyaintsev <[EMAIL PROTECTED]> wrote: As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD ? according to src/usr.bin/passwd/passwd.c: ... /* check where the user's from */ switch (pwd->pw_fields & _PWF_SOURCE)

Re: pam_ldap and passwd

2003-11-24 Thread Yuri Khotyaintsev
Dag-Erling Smørgrav wrote: Yuri Khotyaintsev <[EMAIL PROTECTED]> writes: As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD ? Unfortunately, for historical reasons, passwd(1) does not use PAM to change the password. You may want to file a PR about this an

Re: pam_ldap and passwd

2003-11-24 Thread Dag-Erling Smørgrav
Yuri Khotyaintsev <[EMAIL PROTECTED]> writes: > As I understand pam_ldap supports changing LDAP passwords. Is it supposed to > work on FreeBSD ? Unfortunately, for historical reasons, passwd(1) does not use PAM to change the password. You may want to file a PR about this and have it assigned to

Re: pam_ldap and passwd

2003-11-24 Thread Clement Laforet
On Mon, 24 Nov 2003 10:39:16 +0100 Yuri Khotyaintsev <[EMAIL PROTECTED]> wrote: > I have a server where I use pam_ldap and nss_ldap. Everything works > fine except for changing passwords: > > [EMAIL PROTECTED] passwd > passwd: Sorry, `passwd' can only change passwords for local or NIS > users. >

pam_ldap and passwd

2003-11-24 Thread Yuri Khotyaintsev
I have a server where I use pam_ldap and nss_ldap. Everything works fine except for changing passwords: [EMAIL PROTECTED] passwd passwd: Sorry, `passwd' can only change passwords for local or NIS users. As I understand pam_ldap supports changing LDAP passwords. Is it supposed to work on FreeBSD