summaryrefslogtreecommitdiff
path: root/source3/groupdb/mapping_ldb.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23323: merged ldb changes from 3.0.26Andrew Tridgell1-53/+45
(This used to be commit 7c9a5c2a3f012a06e9550dc0de7df460c2fd943b)
2007-10-10r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison1-4/+2
we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy. (This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10r19927: Fix klokwork ID 4702Volker Lendecke1-1/+4
(This used to be commit 820a64af25799c19f1731a08b8e4651aea8a516b)
2007-10-10r19516: Fix the DN, to make searches using the domain as baseSimo Sorce1-9/+9
the DN must be rid,domain and not domain,rid Also use member and not memberOf for group members following conventions. (This used to be commit 7c0ea791d21d914e882b56a849766d966ce8ed1a)
2007-10-10r19073: mapping_dn can failVolker Lendecke1-2/+15
(This used to be commit d234f39c79e0e50f784826d0920ebd21cc9a283d)
2007-10-10r18938: fixed a group map bug reported by Jerry. The caller in mapping.cAndrew Tridgell1-4/+1
relies on appending to this list. Unfortunately this can't be tested using 'net groupmap' (This used to be commit a8d398edf0ce08b2a53342e80c2017f1805908d5)
2007-10-10r18912: we don't need the special case for comments now in theAndrew Tridgell1-5/+1
This also fixes comments in group mappings, as the code accidentially put in "ntName" in the comment field :-) (This used to be commit 7f1f5d6056da8ac55a41db54b68bf25967f81aaf)
2007-10-10r18875: The comment field can be emptyVolker Lendecke1-2/+6
(This used to be commit 6d5d7bf4bbcfee77853776af59e00d006fd86dc9)
2007-10-10r18870: - enable the ldb ldap backend properly based on configure tests forAndrew Tridgell1-2/+2
ldap - use ldb_global_init() instead of the backend specific ldb_tdb_init(). (This used to be commit a6c53e58616d7731a1df9af33f78ccf0c774296e)
2007-10-10r18868: just in case there is a disaster (with our code? never ...) use aAndrew Tridgell1-2/+7
rename to group_mapping.tdb.upgraded rather than an unlink when upgrading. So if we absolutely have to go back to the tdb, we can change mapping_ldb.o to mapping_tdb.o in Makefile.in and recover peoples group mappings. We could go one step futher and make the backend configurable. Any opinions on that? (This used to be commit 203fc0b03c7397f7339a917456cb1701ed592f32)
2007-10-10r18867: change the group mapping code to use ldb instead of tdbAndrew Tridgell1-0/+670
See the discussion of this on the samba-technical list (This used to be commit 4ad1436ceae0128e187222fce0fc79adb3049d3f)