summaryrefslogtreecommitdiffstats
path: root/source4/cldap_server/cldap_server.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-1/+1
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell2011-06-061-2/+7
| | | | | when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-081-4/+4
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij2011-03-191-0/+2
|
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-2/+2
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samdb: Add flags argument to samdb_connect().Jelmer Vernooij2010-10-101-1/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-5/+5
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:cldap_server.c - here the counter variable should be "signed"Matthias Dieter Wallnöfer2010-06-181-2/+1
|
* s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett2010-05-211-1/+0
| | | | | | | 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:cldap_server - make it "signed-safe"Matthias Dieter Wallnöfer2010-02-251-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-1/+1
| | | | | | This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-181-6/+8
| | | | | | When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
* s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher2009-03-191-36/+60
| | | | metze
* we need to listen on all interfaces in the CLDAP server as the windowsAndrew Tridgell2008-10-021-8/+9
| | | | CDLAP client ignores replies from the wrong IP
* Rework samdb handling for 'netlogon' packets.Andrew Bartlett2008-06-301-1/+1
| | | | | | | | | | Don't reopen the samdb for every netlogon packet, and use the system_session(), as we must access data not available to anonymous. Perhaps we should consider a 'authenticated but not system' token, if we want more control on this. Andrew Bartlett (This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362)
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-1/+1
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Remove yet more uses of global_loadparm.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
* Remove useless layer of indirection, where every service calledAndrew Bartlett2008-02-041-10/+1
| | | | | | | | task_service_init() manually. Now this is called from service.c for all services. Andrew Bartlett (This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
* Rework service init functions to pass down service name. This isAndrew Bartlett2008-02-041-1/+1
| | | | | | | | needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
* r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-051-1/+1
| | | | (This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
* r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij2007-12-211-5/+11
| | | | (This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
* r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2007-12-211-3/+3
| | | | (This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
* r26260: Store loadparm context in gensec context.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
* r26237: Add loadparm context to the server service interface.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 1386c5c92505a950c65411b8af74d703ce023f95)
* r26235: Avoid global_loadparm.Jelmer Vernooij2007-12-211-8/+9
| | | | (This used to be commit e9039782204389cc827e76da319d5ccf6d33be46)
* r26227: Make loadparm_context part of a server task, move loadparm_contexts ↵Jelmer Vernooij2007-12-211-2/+2
| | | | | | further up the call stack. (This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
* r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
* r25938: We don't need the CLDAP server unless we are a DC.Andrew Bartlett2007-12-211-0/+12
| | | | | Andrew Bartlett (This used to be commit e8606bbcc67e24bdc2ee062ab3d808e5d2143d69)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r19736: handle rootdse call via CLDAPStefan Metzmacher2007-10-101-6/+32
| | | | | metze (This used to be commit 39dc94b219355ba774b309e26f1d93070d9d080b)
* r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
* r14079: I just found the setproctitle library from alt linux:-)Stefan Metzmacher2007-10-101-0/+2
| | | | | | | | | - add set_title hook to the process models - use setproctitle library in process_model standard if available - the the title for the task servers and on connections metze (This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
* r13926: More header splitups.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
* r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2007-10-101-1/+3
| | | | | file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
* r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2007-10-101-5/+15
| | | | | | | | | | | | | | | | | | | | structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell2007-10-101-0/+3
| | | | | | be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
* r7911: task_terminate() is defined in the macosx headers, so change the nameAndrew Tridgell2007-10-101-3/+3
| | | | | to task_server_terminate() (This used to be commit a7447e25ac203f0ee09ffdf72df1094eb70e7c0c)
* r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_treeAndrew Tridgell2007-10-101-2/+3
| | | | | | | | | | | | | | | | instead of a search expression. This allows our ldap server to pass its ASN.1 parsed search expressions straight to ldb, instead of going via strings. - updated all the ldb modules code to handle the new interface - got rid of the separate ldb_parse.h now that the ldb_parse structures are exposed externally - moved to C99 structure initialisation in ldb - switched ldap server to using ldb_search_bytree() (This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
* r7220: Fix commentAndrew Bartlett2007-10-101-1/+1
| | | | (This used to be commit 964f0d95bb16c5d298928f0a9c21f2870eea40c6)
* r6876: - fixed a memory leak in the cldap serverAndrew Tridgell2007-10-101-0/+1
| | | | | - keep the samdb open between requests (This used to be commit ee75a8353b0dab579abf0e675395d796f1c39746)
* r6747: first working version of cldapd server. It is missing 'sites' ↵Andrew Tridgell2007-10-101-5/+15
| | | | | | | support, and filling in some of the returned parameters is quite rough, but it seems to work OK (This used to be commit e564e3e596915414fad07c94f7ea8a0d9c3a1140)
* r6725: the beginnings of a cldap serverAndrew Tridgell2007-10-101-0/+148
(This used to be commit e51e0dffa8f8bff9bd1535751e805b548b6c6d7f)