passwd -e does not work for LDAP users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am trying to set the password of a LDAP user as expired using option -e of command passwd.
However, I get the following message:
#passwd -e testldap
passwd: user 'testldap' does not exist in /etc/passwd
However, command
#passwd testldap
works flawlessly, so the user is found in the LDAP database (and indeed can login).
BTW, the following command also gives the same problem:
chage -d 0 testldap
I am using Lucid with the following package versions:
ii passwd 1:4.1.4.
ii libpam0g 1.1.1-2ubuntu5
ii libpam-modules 1.1.1-2ubuntu5
ii debianutils 3.2.2
ii libselinux1 2.0.89-4
ii libc6 2.11.1-0ubuntu7.8
Regards
This bug remains. Is it possible that the password aging sequence is not using PAM?
# passwd -e foo RELEASE= 10.04 CODENAME= lucid DESCRIPTION= "Ubuntu 10.04.3 LTS" pam|debian| libsel| libc6)" debianchangelog -perl 1.1.1-2ubuntu2 parse Debian changelogs and output them in other formats 2-1ubuntu2. 2 change and administer password and group data
passwd: user 'foo' does not exist in /etc/passwd
# passwd foo
Password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
LDAP password information changed for snagoor
passwd: password updated successfully
# cat /etc/*ease
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# dpkg -l | grep -E "(passwd|
ii auth-client-config 0.9 pam and NSS profile switcher
ii base-passwd 3.5.22 Debian base system master password and group files
ii debianutils 3.2.2 Miscellaneous utilities specific to Debian
ii libc6 2.11.1-0ubuntu7.8 Embedded GNU C Library: Shared libraries
ii libc6-i686 2.11.1-0ubuntu7.8 GNU C Library: Shared libraries [i686 optimized]
ii libpam-cracklib 1.1.1-2ubuntu5.4 PAM module to enable cracklib support
ii libpam-ldap 184-8.2ubuntu1 Pluggable Authentication Module for LDAP
ii libpam-modules 1.1.1-2ubuntu5.4 Pluggable Authentication Modules for PAM
ii libpam-runtime 1.1.1-2ubuntu5.4 Runtime support for the PAM library
ii libpam0g 1.1.1-2ubuntu5.4 Pluggable Authentication Modules library
ii libparse-
ii libparted0debian1 2.2-5ubuntu5.2 The GNU Parted disk partitioning shared library
ii libselinux1 2.0.89-4 SELinux runtime shared libraries
ii odbcinst1debian1 2.2.11-21 Support library for accessing odbc ini files
ii passwd 1:4.1.4.