Public bug reported: glibc support nss with all kind of read functions, like for instance getpwnam(). These function can either read from /etc/passwd or a NIS/LDAP backend. There is however only one write function: putpwent(): int putpwent(const struct passwd *p, FILE *stream); which requires a file. As such you can only read from LDAP, never write to it.
It would be nice to be able to write to ldap, with something like putpwnam(). With this function the shadow-utils can also be modified so that they support writing to different backends (chsh, chfn, etc.). This will also allow for a much easier transition for people wanting to migrate to ldap as the default debian/ubuntu utils keep on working. ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- there should be a putpwnam() https://bugs.launchpad.net/bugs/239480 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs