This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6685] New: Add a putpwnam()
- From: "miek at miek dot nl" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jun 2008 08:00:28 -0000
- Subject: [Bug libc/6685] New: Add a putpwnam()
- Reply-to: sourceware-bugzilla at sourceware dot org
glibc supports 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 (chsh, chfn, etc.) can
also be modified so that they support writing to different backends
This will also allows for a much easier transition for people wanting to
migrate to ldap (or any other supported backend).
--
Summary: Add a putpwnam()
Product: glibc
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: miek at miek dot nl
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6685
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.