summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/common
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis2-0/+6
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10r20036: Merge ldb_search_exp_fmt -- Thanks simoVolker Lendecke1-0/+39
(This used to be commit fa6fa1268b33334d17869d0f096cf7600e88f993)
2007-10-10r19935: always use discard_const_p() in lib/ldb/Stefan Metzmacher1-1/+1
metze (This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
2007-10-10r19917: Fix warningsVolker Lendecke1-1/+1
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)
2007-10-10r19898: Fix klokwork ids 3127, 3128, 3129, 3130Volker Lendecke1-2/+9
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)
2007-10-10r19744: merge from samba4Stefan Metzmacher1-1/+13
metze (This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
2007-10-10r19741: fix compiler warningsStefan Metzmacher1-4/+8
metze (This used to be commit 18171cf54b22f9f2d73753db580934bd10e95e3d)
2007-10-10r19739: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit b7965ac26cbfdfe60f929e2fa3a295b8c57d220d)
2007-10-10r19725: sync samba3's ldb with samba4Stefan Metzmacher5-54/+123
metze (This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)
2007-10-10r19692: Another fix.Simo Sorce1-1/+0
(This used to be commit a86a56fed3eb06b4b4a04329d42a9f57bad16271)
2007-10-10r19491: backport changes from samba4Simo Sorce2-16/+26
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)
2007-10-10r19486: Probably Coverity is wrong here, but this fixes their ID 317. Not ↵Volker Lendecke1-1/+3
sure whether to merge it to 4_0. I want it in 3_0 because it took a bit to persuade myself that el can not be NULL here. Volker (This used to be commit c0c035b1c8b9d80cd205cde16ad3e838e2d44459)
2007-10-10r19430: merge recent ldb changes from Samba4. This includes memory leak fixesAndrew Tridgell5-10/+44
and significant speedups (This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)
2007-10-10r19191: merge from samba4:Stefan Metzmacher2-1/+2
fix checker warnings metze (This used to be commit 93a0fe093b4614a18e99d0c3a71c5c8af2e57e4f)
2007-10-10r19190: merge from samba4:Stefan Metzmacher1-6/+1
remove wrong check and statement. to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements. metze (This used to be commit b81cae4180452d2a14c445392fd828032e6eddec)
2007-10-10r19183: merge from samba4:Stefan Metzmacher1-3/+13
don't crash on invalid utf8 chars metze (This used to be commit 71e1f8550f96eaaae7e4fc4d02eb36f1d894abc8)
2007-10-10r19182: merge from samba4:Stefan Metzmacher1-0/+11
add ldb_set_create_perms() function to set the create_perms after ldb_init() and before ldb_connect() metze (This used to be commit dd9d469eef337954b6aee4c86ac0691f52812456)
2007-10-10r19163: pass always a mem_ctx to functions and a ldb_context where neededStefan Metzmacher3-16/+19
It would be nice if someone can merge that to samba4, otherwise I'll merge that to samba4 on monday metze (This used to be commit 6bc42f31ce294f2bd50ffbd536e1ee42607ef799)
2007-10-10r19137: that looks nicer:-)Stefan Metzmacher2-2/+2
metze (This used to be commit db40552d9471f4a8ce2c5c724319a4eb242ed24a)
2007-10-10r19135: fix bugs...Stefan Metzmacher1-5/+4
- passing mem_ctx as ldb_context is a bad idea! - naming a static function talloc_ is also bad and misleading metze (This used to be commit 0523ad249335c6094854bc9cefb46e2095f4c0ba)
2007-10-10r19132: Fix some C++ warnings. Is there interest to have them in Samba4 as well?Volker Lendecke6-14/+19
I have some problems resolving the last 3 ones in attrib_handlers.c. In line 251 the function ldb_dn_explode_casefold is called with mem_ctx as the first argument. Looking at ldb_dn_explode_casefold I see that the first argument it expects is a struct ldb_context. I could certainly add a cast to (struct ldb_context *) to that call, but I would assume that this is the wrong fix. Is it possible that attrib_handlers.c:251 and :254 should have ldb and not mem_ctx as the first argument? Can anybody from Samba4 clarify this for me and apply the correct fix? Thanks a lot. Volker (This used to be commit 26f2cb71ebf00b2c6f356da5f32384f7fa083521)
2007-10-10r19079: talloc_array can failVolker Lendecke1-0/+1
(This used to be commit 7b6738522a80740824f3b96e73e7c48a0623b1b1)
2007-10-10r19076: ldb_dn_copy_partial can failVolker Lendecke1-0/+1
(This used to be commit c247cf3fba13ce1a32878efcc922eadfcbc2b092)
2007-10-10r19075: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 0ab5d7692c2c0fe798a067866cb236ea9c304463)
2007-10-10r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to ↵Volker Lendecke1-1/+1
4_0, I'd like you to comment. Volker (This used to be commit ba18c58f1fb618447ba39bae6ef8f4e6c00c4d32)
2007-10-10r19067: Fix a potential NULL dereferenceVolker Lendecke1-0/+4
(This used to be commit 6a8937ed03f0ee62eb81da798e0c38b405d44731)
2007-10-10r18939: don't rely on the umask being right in ldb creation. Both Samba3 andAndrew Tridgell1-1/+3
Samba4 smbd force the umask to 0, which meant we ended up with ldb being world writable. This isn't really an ideal fix, as it means ldb no longer honors umask (as it should do, like all good libraries). Unfortunately the 'proper' fix is too complex for now this also merges a tiny code style fix from s4 to s3 (This used to be commit dd8ec8725f168f4286bbfc00d69cd56089ba3543)
2007-10-10r18910: Change ldb_msg_add_string() to not actually add an attribute if theAndrew Tridgell1-0/+5
string is zero length. This allows callers to not have to worry about creating an invalid ldap attribute. See extensive discussion on samba-technical list :-) (This used to be commit 9e66df05a4df3d3c7b02048d80e2661103d1d40a)
2007-10-10r18901: try to fix the samba3 build without having ldapStefan Metzmacher1-2/+2
vl: you were a few seconds faster than me...:-) metze (This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
2007-10-10r18900: Next attempt to fix the Solaris build. Not sure about whether to ↵Volker Lendecke1-1/+1
merge this one. Tridge? Metze? Volker (This used to be commit d0eef2f6e870031538959f2308a3414fc68ef18c)
2007-10-10r18889: Add some const. What's the policy here? Should I do this in Samba4 ↵Volker Lendecke1-5/+5
as well? Volker (This used to be commit fd020a1998db7660ab093c136207df4fb09720cb)
2007-10-10r18866: Jeremy and Volker have given the go-ahead on the group mapping ldbAndrew Tridgell13-0/+6560
code. Yay! This first commit copies lib/ldb/ from Samba4. A huge congratulations should go to Simo on this - he has put an enormous amount of work into ldb, and it's great to see it go into the Samba3 tree. (This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)