summaryrefslogtreecommitdiff
path: root/sss_client/group.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-28Fix potential integer oveflowSimo Sorce1-11/+10
If mem_num is big enough then ptmem can be big enough that dlen - ptmem actually gives back a postive integer. Also tidy up the termination condition at the end of the buffer so that it is less confusing.
2009-03-10Treat uids and gids as 32 bit numbers not 64Simo Sorce1-16/+16
In the nss communication protocol we were treating uids and gids as 64 bit values, but uids and gids are really u32 values, change the protocol to reflect the real size.
2009-03-10Fix bugs in functions dealing with groupsSimo Sorce1-1/+1
Fix infinite loop within initgr functions. Fix min length check copy&paste error, was filtering valid groups if the name was short enough and the group had no members.
2009-02-24Add PAM clientSumit Bose1-0/+425
Also rename nss_client to sss_client and reuse the same pipe protocol for both the NSS and PAM client libraries. Signed-off-by: Simo Sorce <ssorce@redhat.com>