summaryrefslogtreecommitdiffstats
path: root/source/lib/util_getent.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Some more 'winbind default domain' support patches from Alexander BokovoyAndrew Bartlett2002-01-271-1/+7
| | | | | | | | | | | <a.bokovoy@sam-solutions.net>. This patch is designed to remove the 'special cases' required for this support. In particular this now kills off winbind_initgroups, as it appears no longer to be required. Andrew Bartlett
* This patch makes the 'winbind use default domain' code interact better withAndrew Bartlett2002-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | smbd, and also makes it much cleaner inside winbindd. It is mostly my code, with a few changes and testing performed by Alexander Bokovoy <a.bokovoy@sam-solutions.net>. ab has tested it in security=domain and security=ads, but more testing is always appricatiated. The idea is that we no longer cart around a 'domain\user' string, we keep them seperate until the last moment - when we push that string into a pwent on onto the socket. This removes the need to be constantly parsing that string - the domain prefix is almost always already provided, (only a couple of functions actually changed arguments in all this). Some consequential changes to the RPC client code, to stop it concatonating the two strings (it now passes them both back as params). I havn't changed the cache code, however the usernames will no longer have a double domain prefix in the key string. The actual structures are unchanged - but the meaning of 'username' in the 'rid' will have changed. (The cache is invalidated at startup, so on-disk formats are not an issue here). Andrew Bartlett
* Added the group enum code from 2.2Jeremy Allison2001-12-141-0/+81
| | | | Jeremy.
* move to SAFE_FREE()Simo Sorce2001-09-171-19/+12
|
* lib/util_getent.c: removed debug code.Jeremy Allison2001-06-121-5/+2
| | | | | | | smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy.
* Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........Jeremy Allison2001-06-111-16/+47
| | | | Jeremy.
* Rename bzero -> memset.Jeremy Allison2001-05-311-55/+81
| | | | | Check returns from *all* mallocs (including strdups). Jeremy.
* 4 new functions to retrieve single linked list of group and passwd entriesSimo Sorce2001-05-291-0/+185
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions