This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6685] New: Add a putpwnam()


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]