[Pkg-shadow-devel] usermod & LDAP
dkopecek at redhat.com
Fri Jul 4 15:02:36 UTC 2008
we have recently received a bug report for shadow-utils, here is the
description: When trying to add LDAP users to local groups, the utility
usermod errors out with "usermod: <username> not found in /etc/passwd".
Other utilities, like gpasswd, include support for LDAP users. This
should also work for usermod.
The attached patch contains a possible solution for
this issue. The problem is that usr_update() fails if the specified user
has no record in passwd db.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 497 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20080704/b20b4c9d/attachment.bin
More information about the Pkg-shadow-devel