summaryrefslogtreecommitdiffstats
path: root/source3/lib/ldb
Commit message (Collapse)AuthorAgeFilesLines
* r19193: merge from samba4:Stefan Metzmacher2007-10-101-1/+3
| | | | | | | | fixed another checker warning and a possible error on allocation failure metze (This used to be commit d64583a763ffcff27f0bd6761196f7d554d44849)
* r19192: merge from samba4:Stefan Metzmacher2007-10-101-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)
* r19191: merge from samba4:Stefan Metzmacher2007-10-102-1/+2
| | | | | | | fix checker warnings metze (This used to be commit 93a0fe093b4614a18e99d0c3a71c5c8af2e57e4f)
* r19190: merge from samba4:Stefan Metzmacher2007-10-101-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)
* r19185: merge comment from samba4Stefan Metzmacher2007-10-101-0/+4
| | | | | metze (This used to be commit 256b83820168d14df2b15a75d8681be5f418ddf8)
* r19183: merge from samba4:Stefan Metzmacher2007-10-101-3/+13
| | | | | | | don't crash on invalid utf8 chars metze (This used to be commit 71e1f8550f96eaaae7e4fc4d02eb36f1d894abc8)
* r19182: merge from samba4:Stefan Metzmacher2007-10-104-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)
* r19163: pass always a mem_ctx to functions and a ldb_context where neededStefan Metzmacher2007-10-105-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)
* r19145: talloc_reference() can fail!Stefan Metzmacher2007-10-101-1/+3
| | | | | metze (This used to be commit e4f2183684da90a67bc6a635d008b72a6dd3d0dd)
* r19137: that looks nicer:-)Stefan Metzmacher2007-10-102-2/+2
| | | | | metze (This used to be commit db40552d9471f4a8ce2c5c724319a4eb242ed24a)
* r19135: fix bugs...Stefan Metzmacher2007-10-101-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)
* r19133: More C++ warnings -- Merge across?Volker Lendecke2007-10-101-6/+12
| | | | (This used to be commit c879ed3d1edffeda629dc1e05031dca91c1a1e30)
* r19132: Fix some C++ warnings. Is there interest to have them in Samba4 as well?Volker Lendecke2007-10-106-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)
* r19124: merge from samba4:Stefan Metzmacher2007-10-101-1/+1
| | | | | | | pass LDFLAGS from configure to Makefile metze (This used to be commit 7ba9fddacb97153405bf0bec16b3a868e4e323e0)
* r19079: talloc_array can failVolker Lendecke2007-10-101-0/+1
| | | | (This used to be commit 7b6738522a80740824f3b96e73e7c48a0623b1b1)
* r19076: ldb_dn_copy_partial can failVolker Lendecke2007-10-101-0/+1
| | | | (This used to be commit c247cf3fba13ce1a32878efcc922eadfcbc2b092)
* r19075: Fix a potential NULL dereferenceVolker Lendecke2007-10-101-0/+4
| | | | (This used to be commit 0ab5d7692c2c0fe798a067866cb236ea9c304463)
* r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | 4_0, I'd like you to comment. Volker (This used to be commit ba18c58f1fb618447ba39bae6ef8f4e6c00c4d32)
* r19071: Backport to SAMBA_3_0 as wellSimo Sorce2007-10-101-2/+2
| | | | (This used to be commit df148a5def06956ecd8392d259f1c408c62100fa)
* r19067: Fix a potential NULL dereferenceVolker Lendecke2007-10-101-0/+4
| | | | (This used to be commit 6a8937ed03f0ee62eb81da798e0c38b405d44731)
* r18939: don't rely on the umask being right in ldb creation. Both Samba3 andAndrew Tridgell2007-10-102-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)
* r18910: Change ldb_msg_add_string() to not actually add an attribute if theAndrew Tridgell2007-10-101-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)
* r18901: try to fix the samba3 build without having ldapStefan Metzmacher2007-10-104-4/+6
| | | | | | | vl: you were a few seconds faster than me...:-) metze (This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
* r18900: Next attempt to fix the Solaris build. Not sure about whether to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | merge this one. Tridge? Metze? Volker (This used to be commit d0eef2f6e870031538959f2308a3414fc68ef18c)
* r18889: Add some const. What's the policy here? Should I do this in Samba4 ↵Volker Lendecke2007-10-101-5/+5
| | | | | | | as well? Volker (This used to be commit fd020a1998db7660ab093c136207df4fb09720cb)
* r18866: Jeremy and Volker have given the go-ahead on the group mapping ldbAndrew Tridgell2007-10-10126-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)