[Bug 774580] Re: passwd -e does not work for LDAP users
ddouthitt
ddouthitt at acm.org
Wed Feb 8 14:50:55 UTC 2012
This bug remains. Is it possible that the password aging sequence is not
using PAM?
# passwd -e foo
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_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"
# dpkg -l | grep -E "(passwd|pam|debian|libsel|libc6)"
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-debianchangelog-perl 1.1.1-2ubuntu2 parse Debian changelogs and output them in other formats
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.2-1ubuntu2.2 change and administer password and group data
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/774580
Title:
passwd -e does not work for LDAP users
Status in “shadow” package in Ubuntu:
Confirmed
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.2-1ubuntu2.2
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/774580/+subscriptions
More information about the foundations-bugs
mailing list