summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ildap/ldb_ildap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-01s4-ldb: moved the ldb_ildap backend into lib/ldb-sambaAndrew Tridgell1-879/+0
this backend is samba4 specific
2010-11-01s4-ldb: added an override flag to ldb_register_backend()Andrew Tridgell1-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
2010-11-01s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell1-15/+15
this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
2010-10-18ldb: always return PROTOCOL_ERROR if an operation is unsupportedMatthias Dieter Wallnöfer1-1/+1
That's exactly the behaviour of various LDAP servers.
2010-10-18ldb Ensure we mark ongoing LDAP requests as PENDINGAndrew Bartlett1-0/+2
2010-09-28s4-ildap: two more places that need talloc_reparent()Andrew Tridgell1-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
2010-06-15s4-waf: Fix build of libldb_ildap against system ldb.Jelmer Vernooij1-1/+1
2010-05-21s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett1-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
2010-03-03s4/ildap: fine tune ildb_callback()Kamen Mazdrashki1-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>
2010-02-22LDB related spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-17s4/ldap: Refactor the fix for ldap nested searchesKamen Mazdrashki1-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>
2010-01-29s4/ldap: Fix nested searches SEGFAULT bugKamen Mazdrashki1-0/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-18Added control copying for message types other than ldb_search.Nadezhda Ivanova1-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.
2009-10-25ldb:backend "connect" functions - convert result values to LDB constantsMatthias Dieter Wallnöfer1-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.
2009-10-02s4:ldb_ildap - Don't segfault on a empty RDNMatthias Dieter Wallnöfer1-4/+12
2009-07-14remove all '\n' from ldb_debugSumit Bose1-3/+3
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce1-2/+1
do not reference it from ldb.h
2009-02-13s4:ldb_ildap: remove compiler warningsStefan Metzmacher1-4/+9
metze
2009-01-30Fix the mess with ldb includes.Simo Sorce1-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.
2009-01-21s4:ldb: remove dependency to samba4's events wrapperStefan Metzmacher1-6/+6
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-12-23ldb: Include tevent.h rather than events.h.Jelmer Vernooij1-1/+1
2008-12-17s4:ldb: make it possible to return per entry controlsAndrew Bartlett1-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb_ildap: try to pass extended DNs to the serverAndrew Bartlett1-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>
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-09-29LDB ASYNC: other backendsSimo Sorce1-246/+237
2008-09-25Revert LDB return code patches from Matthias.Jelmer Vernooij1-3/+3
2008-09-24Cosmetic corrections for the LDB backend modulesMatthias Dieter Wallnöfer1-3/+3
This commit applies some cosmetic corrections for the LDB backend modules.
2008-06-15Fix cleanup.Simo Sorce1-4/+9
(This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)
2008-06-15Cleanup.Simo Sorce1-23/+29
Remove trailing spaces and try to fit 80 column where possible. (This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)
2008-06-15Now that we pass down the event context, start removing calls toSimo Sorce1-8/+0
event_context_init() where possible (This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-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)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-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)
2008-02-29Fix ldapi support.Jelmer Vernooij1-2/+2
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij1-3/+3
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-20Remove more function-based inits.Jelmer Vernooij1-3/+15
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-02-20Use function-based initialization for ildap backend.Jelmer Vernooij1-6/+3
(This used to be commit 46e5027f56722fbe19af36aad1ab03ea1c862f43)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-2/+3
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-10-10r25522: Convert to standard bool types.Jelmer Vernooij1-1/+1
(This used to be commit 5e814287ba475e12f8cc934fdd09b199dcdfdb86)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij1-1/+1
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett1-4/+10
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r20129: remove unused structure elementsStefan Metzmacher1-12/+8
metze (This used to be commit 53805a8562c59116e458dedd695e061eabf78620)
2007-10-10r20128: get rid of more talloc_get_type() callsStefan Metzmacher1-8/+8
metze (This used to be commit cb89f0b8d5a64433374887bcd44e04ad63e4857e)
2007-10-10r20125: fix some ugly mem leaks in the ldb_ildb backendStefan Metzmacher1-7/+7
metze (This used to be commit db85b7840c1022665d410516d9a8989474d67a0f)
2007-10-10r20123: - avoid some more talloc_get_type() callsStefan Metzmacher1-29/+23
- pass down ldb_request metze (This used to be commit b0b9e83fed0145bac6058d11e9b1b2c57d091649)
2007-10-10r20122: pass ildb to ildb_request_noop()Stefan Metzmacher1-8/+8
metze (This used to be commit cf9aade216930980bf47ea8b97db976c4907cbca)
2007-10-10r20121: pass down the ldb_request struct to ildb_request_send(),Stefan Metzmacher1-18/+13
also pass ildb instead of module, to avoid multiple talloc_get_type() calls metze (This used to be commit 03029d4fed86b1ca5fb19a408312607d8790d110)