summaryrefslogtreecommitdiff
path: root/source3/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19690: Remove this ancient module, I never realized it was ported over.Simo Sorce3-497/+1
(This used to be commit 3ef6ef7cc89b6421b9e8ec301cbd55ccd09e4d20)
2007-10-10r19688: Fix a deadcode warning by Coverity.Volker Lendecke1-7/+5
Simo, I'm not sure this is the correct fix. So I'd like you to look at it and merge to 4 if appropriate. Volker (This used to be commit afd7f12124b02b594063535f93903a8a598a0587)
2007-10-10r19576: Correct trivial typo.James Peach1-1/+1
(This used to be commit a0ada1aa342722fa7f90715a312b5d81f02f937b)
2007-10-10r19491: backport changes from samba4Simo Sorce8-35/+44
(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-10r19485: Fix Coverity # 319Volker Lendecke1-1/+1
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)
2007-10-10r19430: merge recent ldb changes from Samba4. This includes memory leak fixesAndrew Tridgell26-108/+170
and significant speedups (This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)
2007-10-10r19193: merge from samba4:Stefan Metzmacher1-1/+3
fixed another checker warning and a possible error on allocation failure metze (This used to be commit d64583a763ffcff27f0bd6761196f7d554d44849)
2007-10-10r19192: merge from samba4:Stefan Metzmacher1-1/+6
ensure that data values from ldap libs are null terminated, to allow ldb_msg_find_attr_as_string() to work correctly. Thanks to Jim Myers for spotting this! metze (This used to be commit a5ea82bb05fb9d5c1842f9a105f6a10e39141c89)
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-10r19185: merge comment from samba4Stefan Metzmacher1-0/+4
metze (This used to be commit 256b83820168d14df2b15a75d8681be5f418ddf8)
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 Metzmacher4-1/+16
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 Metzmacher5-20/+23
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-10r19145: talloc_reference() can fail!Stefan Metzmacher1-1/+3
metze (This used to be commit e4f2183684da90a67bc6a635d008b72a6dd3d0dd)
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-10r19133: More C++ warnings -- Merge across?Volker Lendecke1-6/+12
(This used to be commit c879ed3d1edffeda629dc1e05031dca91c1a1e30)
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-10r19124: merge from samba4:Stefan Metzmacher1-1/+1
pass LDFLAGS from configure to Makefile metze (This used to be commit 7ba9fddacb97153405bf0bec16b3a868e4e323e0)
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-10r19071: Backport to SAMBA_3_0 as wellSimo Sorce1-2/+2
(This used to be commit df148a5def06956ecd8392d259f1c408c62100fa)
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 Tridgell2-2/+4
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 Metzmacher4-4/+6
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 Tridgell126-0/+37877
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)