summaryrefslogtreecommitdiff
path: root/source3/lib/util_getent.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-20This patch makes the 'winbind use default domain' code interact better withAndrew Bartlett1-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 (This used to be commit e870f0e727952aeb8599cf93ad2650ae56eca033)
2001-12-14Added the group enum code from 2.2Jeremy Allison1-0/+81
Jeremy. (This used to be commit 59e01a22c5cb1046758c8cd6b09333c19d6cd26e)
2001-09-17move to SAFE_FREE()Simo Sorce1-19/+12
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-06-12lib/util_getent.c: removed debug code.Jeremy Allison1-5/+2
smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy. (This used to be commit d989f8bd3e1524183a24fb67be1af05b3289f648)
2001-06-11Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........Jeremy Allison1-16/+47
Jeremy. (This used to be commit e0f88cabfc5ef480e7f8a7fecd2d12a1b4371a2a)
2001-05-31Rename bzero -> memset.Jeremy Allison1-55/+81
Check returns from *all* mallocs (including strdups). Jeremy. (This used to be commit 6594a59263c9ec8f62d23f3aa1b56051eefc2f88)
2001-05-294 new functions to retrieve single linked list of group and passwd entriesSimo Sorce1-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 (This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)