Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ldap + passwd: Authentication token lock busy ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Sun Sep 02, 2007 7:08 pm    Post subject: ldap + passwd: Authentication token lock busy ? Reply with quote

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
View user's profile Send private message
sschlueter
Guru
Guru


Joined: 26 Jul 2002
Posts: 578
Location: Dortmund, Germany

PostPosted: Sun Sep 02, 2007 11:18 pm    Post subject: Reply with quote

passwd cannot change ldap passwords, ldappasswd can.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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