Re: passwd and ldap

2007-05-11 Thread Roberto C . Sánchez
On Wed, May 09, 2007 at 02:58:06PM +0200, Martin Marcher wrote: > Hello, > > I set up my system to authenticate against ldap, > > id ; getent passwd; getent group # all show the correct information > Do you also have ldap setup in your pam configuration? This is what I have: common-account: ac

Re: passwd and ldap [SOLVED]

2007-05-10 Thread Alex Samad
On Thu, May 10, 2007 at 10:51:46AM +0200, Martin Marcher wrote: > On 5/10/07, Alex Samad <[EMAIL PROTECTED]> wrote: > >On Thu, May 10, 2007 at 10:34:41AM +0200, Martin Marcher wrote: > >> The solution is in the options pam stack uses: > >> > >> /etc/pam.d/common-password: > >> password sufficient

Re: passwd and ldap [SOLVED]

2007-05-10 Thread Martin Marcher
On 5/10/07, Alex Samad <[EMAIL PROTECTED]> wrote: On Thu, May 10, 2007 at 10:34:41AM +0200, Martin Marcher wrote: > The solution is in the options pam stack uses: > > /etc/pam.d/common-password: > password sufficient pam_ldap.so ignore_unknown_user > password required pam_unix.so try_first_

Re: passwd and ldap [SOLVED]

2007-05-10 Thread Alex Samad
On Thu, May 10, 2007 at 10:34:41AM +0200, Martin Marcher wrote: > On 5/10/07, Alex Samad <[EMAIL PROTECTED]> wrote: > >I had a similar problem, the way i tracked it down was to turn on logging > >on > >slapd it worked out the permissions were not correct. If memory serves me > >correctly I used a

Re: passwd and ldap [SOLVED]

2007-05-10 Thread Martin Marcher
On 5/10/07, Alex Samad <[EMAIL PROTECTED]> wrote: I had a similar problem, the way i tracked it down was to turn on logging on slapd it worked out the permissions were not correct. If memory serves me correctly I used a binddn as well a a rootdn. I'm using apacheds (directory.apache.org - reall

Re: passwd and ldap

2007-05-09 Thread Alex Samad
On Wed, May 09, 2007 at 02:58:06PM +0200, Martin Marcher wrote: > Hello, > > I set up my system to authenticate against ldap, > > id ; getent passwd; getent group # all show the correct information > > However when I su to a user and do passwd the following happens: > > $ passwd > passwd: User

passwd and ldap

2007-05-09 Thread Martin Marcher
Hello, I set up my system to authenticate against ldap, id ; getent passwd; getent group # all show the correct information However when I su to a user and do passwd the following happens: $ passwd passwd: User not known to the underlying authentication module passwd: password unchanged Where