summaryrefslogtreecommitdiffstats
path: root/sss_client/group.c
Commit message (Collapse)AuthorAgeFilesLines
* Catch possible bad input passed in by glibcSimo Sorce2009-08-241-0/+11
| | | | Seen in tests and was leading to a segfault
* Fix potential integer oveflowSimo Sorce2009-05-281-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.
* Treat uids and gids as 32 bit numbers not 64Simo Sorce2009-03-101-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.
* Fix bugs in functions dealing with groupsSimo Sorce2009-03-101-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.
* Add PAM clientSumit Bose2009-02-241-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>