summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/ldb_ildap
Commit message (Collapse)AuthorAgeFilesLines
* s4-ldb: moved the ldb_ildap backend into lib/ldb-sambaAndrew Tridgell2010-11-011-879/+0
| | | | this backend is samba4 specific
* s4-ldb: added an override flag to ldb_register_backend()Andrew Tridgell2010-11-011-1/+1
| | | | | this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one
* s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell2010-11-011-15/+15
| | | | | this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-13/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* ldb: always return PROTOCOL_ERROR if an operation is unsupportedMatthias Dieter Wallnöfer2010-10-181-1/+1
| | | | That's exactly the behaviour of various LDAP servers.
* ldb Ensure we mark ongoing LDAP requests as PENDINGAndrew Bartlett2010-10-181-0/+2
|
* s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2010-09-281-1/+1
| | | | | | | these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
* s4-waf: Fix build of libldb_ildap against system ldb.Jelmer Vernooij2010-06-151-1/+1
|
* s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett2010-05-211-1/+1
| | | | | | | It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
* s4/ildap: fine tune ildb_callback()Kamen Mazdrashki2010-03-031-3/+3
| | | | | | | | | | Actually ildb_context pointer is not supposed to be valid after calling ildb_request_done(). This is due to the fact that when calling ildb_request_done() caller will (most probably) free any locally built ldap_request objects - thus rendering ildb_context invalid. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB related spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4/ldap: Refactor the fix for ldap nested searchesKamen Mazdrashki2010-02-171-9/+15
| | | | | | | | | | | Current implementation synchronizes processing for all types of LDAP request, not only LDAP_Search ones. Synchronization for ldap replies processing is done locally in ldb_ildap module as this concerns only ildb_callback() function. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4/ldap: Fix nested searches SEGFAULT bugKamen Mazdrashki2010-01-291-0/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Added control copying for message types other than ldb_search.Nadezhda Ivanova2009-11-181-1/+4
| | | | | | When ildap created a new message to forward, it only copied controls for ldb_search requests. This caused controls for add and modify to be lost in transition and tests for them could not be implemented.
* ldb:backend "connect" functions - convert result values to LDB constantsMatthias Dieter Wallnöfer2009-10-251-3/+3
| | | | | | I think this is better since "ldb_backend_connect" and "ldb_connect" which propagate those values should return only LDB constants. Therefore a conversion (especially for "-1") would be needed.
* s4:ldb_ildap - Don't segfault on a empty RDNMatthias Dieter Wallnöfer2009-10-021-4/+12
|
* remove all '\n' from ldb_debugSumit Bose2009-07-141-3/+3
|
* Fix headers, ldb_includes.h is a private header,Simo Sorce2009-02-231-2/+1
| | | | do not reference it from ldb.h
* s4:ldb_ildap: remove compiler warningsStefan Metzmacher2009-02-131-4/+9
| | | | metze
* Fix the mess with ldb includes.Simo Sorce2009-01-301-26/+36
| | | | | | | | Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
* s4:ldb: remove dependency to samba4's events wrapperStefan Metzmacher2009-01-211-6/+6
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-5/+5
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* ldb: Include tevent.h rather than events.h.Jelmer Vernooij2008-12-231-1/+1
|
* s4:ldb: make it possible to return per entry controlsAndrew Bartlett2008-12-171-1/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:ldb_ildap: try to pass extended DNs to the serverAndrew Bartlett2008-12-171-5/+5
| | | | | | | | | | | | Whenever we pass a DN to the LDAP server, we now use ldb_dn_get_extended_linearized(). This allows us to send the extended DN if set, and therefore allows searches of the form '<GUID=aaa45ea0-94cd-45e9-8753-abe455d9a8f1>'. We actually use the '0' format (GUID=aaa45ea094cd45e98753abe455d9a8f1) because it is more widely supported (by Win2k in particular). Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-1/+0
|
* LDB ASYNC: other backendsSimo Sorce2008-09-291-246/+237
|
* Revert LDB return code patches from Matthias.Jelmer Vernooij2008-09-251-3/+3
|
* Cosmetic corrections for the LDB backend modulesMatthias Dieter Wallnöfer2008-09-241-3/+3
| | | | This commit applies some cosmetic corrections for the LDB backend modules.
* ldb_ildap: don't force the build as shared_moduleStefan Metzmacher2008-06-301-1/+0
| | | | | metze (This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)
* ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)Stefan Metzmacher2008-06-301-0/+1
| | | | | metze (This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
* Fix another reference to ldbdir.Jelmer Vernooij2008-06-251-1/+1
| | | | (This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)
* Use ldbsrcdir rather than ldbdir.Jelmer Vernooij2008-06-251-1/+1
| | | | (This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
* Fix cleanup.Simo Sorce2008-06-151-4/+9
| | | | (This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)
* Cleanup.Simo Sorce2008-06-151-23/+29
| | | | | Remove trailing spaces and try to fit 80 column where possible. (This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)
* Now that we pass down the event context, start removing calls toSimo Sorce2008-06-151-8/+0
| | | | | event_context_init() where possible (This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-3/+3
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6cAndrew Bartlett2008-05-311-1/+2
| | | | | | | | This commit broke the build, because not all files (libreplace, popt) were updated. Andrew Bartlett (This used to be commit 3faacf4351d68a10aea78b53768571d2059772ae)
* Move CFLAGS handling out of smb_build.Jelmer Vernooij2008-05-301-2/+1
| | | | (This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
* Use variable for ldb source directory.Jelmer Vernooij2008-05-271-2/+2
| | | | (This used to be commit 48bfce0ea51b952baef5bfa667405e8742e5016f)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-2/+14
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* Move object files lists to makefile rather than smb_build.Jelmer Vernooij2008-04-141-2/+1
| | | | (This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
* Fix ldapi support.Jelmer Vernooij2008-02-291-2/+2
| | | | (This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
* Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij2008-02-201-3/+3
| | | | (This used to be commit ce332130ea77159832da23bab760fa26921719e2)
* Fix static module list generation for ldb.Jelmer Vernooij2008-02-201-1/+0
| | | | (This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
* Remove more function-based inits.Jelmer Vernooij2008-02-201-3/+15
| | | | (This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
* Use function-based initialization for ildap backend.Jelmer Vernooij2008-02-201-6/+3
| | | | (This used to be commit 46e5027f56722fbe19af36aad1ab03ea1c862f43)
* r26483: Merge ldb module dependency fixes, fix auth python module.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
* r26459: Build ildap module as shared module by default.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 91cff7dad2eb0467e6b9a86963859e99ded137f8)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-2/+3
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)