View previous topic :: View next topic |
Author |
Message |
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Sun Sep 02, 2007 7:08 pm Post subject: ldap + passwd: Authentication token lock busy ? |
|
|
hi,
i am trying to set up ldap authentication and have already managed to get users authenticated, but i seem to have a problem when someone tries changing passwd.
Code: |
strowi@ber-ameise ~ $ passwd
Changing password for strowi
(current) UNIX password:
New UNIX password:
Retype new UNIX password:
passwd: Authentication token lock busy
strowi@ber-ameise ~ $
|
/etc/nsswitch.conf
Code: |
# /etc/nsswitch.conf:
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nsswitch.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $
passwd: compat ldap
shadow: compat ldap
group: compat ldap
#passwd: compat nis
#shadow: compat nis
#group: compat nis
hosts: files dns wins
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
|
/etc/pam.d/system-auth
Code: |
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok shadow
auth sufficient pam_ldap.so use_first_pass
auth required pam_afs.so.1 try_first_pass ignore_root
auth required pam_deny.so
account requisite pam_unix.so
account sufficient pam_localuser.so
account required pam_ldap.so
password required pam_cracklib.so retry=3
password sufficient pam_unix.so nullok use_authtok shadow md5
password sufficient pam_ldap.so use_authtok use_first_pass
password required pam_deny.so
session required pam_limits.so
session required pam_unix.so
session required pam_mkhomedir.so skel=/etc/skel/ umask=0066
session optional pam_ldap.so
|
Any help appreciated! _________________ --
Linux & such ...
http://blog.hasnoname.de |
|
Back to top |
|
|
sschlueter Guru
Joined: 26 Jul 2002 Posts: 578 Location: Dortmund, Germany
|
Posted: Sun Sep 02, 2007 11:18 pm Post subject: |
|
|
passwd cannot change ldap passwords, ldappasswd can. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|