[Bug 774580] Re: passwd -e does not work for LDAP users

ddouthitt ddouthitt at acm.org
Wed Feb 8 15:00:34 UTC 2012


Looking at the strace (and ltrace) output from passwd, it looks like it
opens /etc/passwd and /etc/shadow directly instead of using PAM or
getent or other method.

-- 
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