summaryrefslogtreecommitdiff
path: root/source4/ldap_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3962: fix compiler warningsStefan Metzmacher1-1/+1
metze (This used to be commit 3bfb732187211d450db842a7533e4c7e915b6ce4)
2007-10-10r3783: - don't use make proto for ldb anymoreStefan Metzmacher2-2/+5
- split ldh.h out of samba's includes.h - make ldb_context and ldb_module private to the subsystem - use ltdb_ prefix for all ldb_tdb functions metze (This used to be commit f5ee40d6ce8224e280070975efc9911558fe675c)
2007-10-10r3762: - only load the readed bytes into the input bufferStefan Metzmacher1-2/+3
- fix compiler warnings with gcc-4.0 metze (This used to be commit 7a931ea0f4884d866bbb05b7b81f8e0598364813)
2007-10-10r3754: merge in ldb modules support from the tmp branch ldbPluginsSimo Sorce3-8/+80
(This used to be commit 71323f424b4561af1fdddd2358629049be3dad8c)
2007-10-10r3733: More build system fixes/features:Jelmer Vernooij1-3/+0
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) (This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
2007-10-10r3507: - added deferred replies on sharing violation in pvfs open. TheAndrew Tridgell1-3/+3
deferred reply is short-circuited immediately when the file is closed by another user, allowing it to be opened by the waiting user. - added a sane set of timeval manipulation routines - converted all the events code and code that uses it to use struct timeval instead of time_t, which allows for microsecond resolution instead of 1 second resolution. This was needed for doing the pvfs deferred open code, and is why the patch is so big. (This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)
2007-10-10r3494: got rid of include/rewrite.h, and split out the dynconfig.h headerAndrew Tridgell1-0/+1
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10r3481: split out client.h and events.hAndrew Tridgell1-0/+1
(This used to be commit c6f486574470a311e0d336c026103f131451e21e)
2007-10-10r3464: split out registry.h, rap.h and ldap_server.hAndrew Tridgell5-0/+5
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)
2007-10-10r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ↵Andrew Tridgell2-1/+4
ioctl.h) (This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)
2007-10-10r3453: - split out the auth and popt includesAndrew Tridgell1-0/+1
- tidied up some of the system includes - moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl knows about inter-IDL dependencies (This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell1-0/+1
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-4/+4
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3316: give the LDAP server a chance of operating correctly non-blocking (itAndrew Tridgell1-2/+2
didn't handle EINTR or EAGAIN) (This used to be commit c35a8f92c2df354e972ced9371d33657ce99988e)
2007-10-10r3304: changed the API to lib/socket/ a little.Andrew Tridgell1-4/+19
The main change is to make socket_recv() take a pre-allocated buffer, rather than allocating one itself. This allows non-blocking users of this API to avoid a memcpy(). As a result our messaging code is now about 10% faster, and the ncacn_ip_tcp and ncalrpc code is also faster. The second change was to remove the unused mem_ctx argument from socket_send(). Having it there implied that memory could be allocated, which meant the caller had to worry about freeing that memory (if for example it is sending in a tight loop using the same memory context). Removing that unused argument keeps life simpler for users. (This used to be commit a16e4756cd68ca8aab4ffc59d4d9db0b6e44dbd1)
2007-10-10r3278: - rewrote the client side rpc connection code to use lib/socket/Andrew Tridgell1-5/+3
rather than doing everything itself. This greatly simplifies the code, although I really don't like the socket_recv() interface (it always allocates memory for you, which means an extra memcpy in this code) - fixed several bugs in the socket_ipv4.c code, in particular client side code used a non-blocking connect but didn't handle EINPROGRESS, so it had no chance of working. Also fixed the error codes, using map_nt_error_from_unix() - cleaned up and expanded map_nt_error_from_unix() - changed interpret_addr2() to not take a mem_ctx. It makes absolutely no sense to allocate a fixed size 4 byte structure like this. Dozens of places in the code were also using interpret_addr2() incorrectly (precisely because the allocation made no sense) (This used to be commit 7f2c771b0e0e98c5c9e5cf662592d64d34ff1205)
2007-10-10r3136: - Allow specifying socket type when adding smbd serviceJelmer Vernooij1-2/+2
- Make sure a epm_tower struct is completely initialized - Some more minor fixes (This used to be commit d560dcbdb85cb2c6915bdb9e2f82f1872b0f5a52)
2007-10-10r3099: implment sldb_ModifyDN()Stefan Metzmacher1-1/+100
metze (This used to be commit a25d1c44198fe9dd2c0a1c3472b58000f2d95e60)
2007-10-10r3098: - fix segfault in sldb_Compare()Stefan Metzmacher1-22/+21
- be more verbose on the INVALID_DN errstr metze (This used to be commit 4b8d90866efb0ed7fcc8e44e29c3d84f7537621c)
2007-10-10r3097: - an empty string is a valid DNStefan Metzmacher3-120/+141
- detect in valid DN's - some error handling fixes metze (This used to be commit d92eff232864aaf1e0e3c6bb26079cd5abb29d79)
2007-10-10r2908: fix typoSimo Sorce1-1/+1
(This used to be commit f544f830630c8d0bd37a66dc06683621c4dbcdde)
2007-10-10r2892: fix compiler warningStefan Metzmacher1-4/+0
metze (This used to be commit 1a3b546fce8a625dcd05e1177fea547d5cdb81d2)
2007-10-10r2891: call rootDSE only with LDAP_SEARCH_SCOPE_BASEStefan Metzmacher2-10/+10
this is needed because of the global catalog metze (This used to be commit 071c19c25df92e87355ce6efb5eb7ce7694cf09b)
2007-10-10r2890: fix segfault when call is destroyed and we dereference itStefan Metzmacher1-4/+3
metze (This used to be commit 82e792a0ce94f63eeb8573d340b2198660aef132)
2007-10-10r2886: missing stuff from last commitStefan Metzmacher1-2/+2
metze (This used to be commit f3f2d1c6765a5799c3b0a302b68d41d045e1ba22)
2007-10-10r2885: windows doesn't try to do sign or seal by defaultStefan Metzmacher1-1/+1
metze (This used to be commit 0f5267c29cca943acf5df392ce1f5c601c4ef7f0)
2007-10-10r2881: also bind the ldap service on the global catalog service portStefan Metzmacher1-0/+3
(port 3268) metze (This used to be commit 7d17122c71e5a84c4804b5630790ba2d1dac73ee)
2007-10-10r2880: move the rootdse.ldif template to the source/ dirStefan Metzmacher1-27/+0
so that that it will be easier found by running ./script/rootdse.pl metze (This used to be commit 650713f7fe5cf8cf81cab034af47d533c2e84227)
2007-10-10r2878: add server sasl supportStefan Metzmacher3-25/+147
(there are a lot of clean ups following later, but the LDAP-BASIC test works :-) metze (This used to be commit 34fe29c04a76f2f53f27adcaf9be2dce8d177516)
2007-10-10r2877: the Bind and Unbind function are already moved...Stefan Metzmacher1-30/+0
metze (This used to be commit 5c3f3b4072ed67c6b6b11af6a0f7f2869c717cdb)
2007-10-10r2876: - more than one rootDSE entry in the database is an error!Stefan Metzmacher2-57/+36
- don't say that we provide the same functionality as w2k3 - netbiosname is always upper case hostname - minor fixes rootdse.pl metze (This used to be commit 0b30ec593fc6a8f0c0a5b2219ca1250fdd87c1f3)
2007-10-10r2875: some fixes + (C) noteSimo Sorce1-1/+2
(This used to be commit d878c3c36505f548158297a3cb3b1e3b18b24c55)
2007-10-10r2874: Italian CodeJam commit :-)Simo Sorce2-41/+256
implemented rootDSE on ldb with rootdse.ldif and related script to populate a basic rootDSE tree (This used to be commit 923c936088a42adbe49303d95af08e8129a4e908)
2007-10-10r2864: - Bind and Unbind are no directory partition operationsStefan Metzmacher3-2/+53
- move Bind Unbind code to a seperate file metze (This used to be commit 3aa1a298970eab563ff6304210bee4696ecec105)
2007-10-10r2863: move the logical ldapsrv functions to a seperate fileStefan Metzmacher3-257/+280
metze (This used to be commit 5173c4d4fe78b2ca539e0b650745b63475d48e1d)
2007-10-10r2862: prepare LDAP SASL support for the serverStefan Metzmacher2-13/+192
metze (This used to be commit 9a7505bd74a453b10aa2d40071bb80eb656bc61f)
2007-10-10r2855: fix error codes for CompareStefan Metzmacher1-4/+4
metze (This used to be commit d23335bc14de7f0402e3d536006d04e813403893)
2007-10-10r2836: removed a couple of unused variablesAndrew Tridgell1-2/+0
(This used to be commit 391b09dad1cb549b4ce508265a9925c405201e47)
2007-10-10r2825: fix the buildStefan Metzmacher1-2/+2
this function names are unsed elsewhere in the code too metze (This used to be commit a8f2fe0ff0dc2b4219a2cc56272e1e929b9b59b8)
2007-10-10r2820: complete the parsing routing with correct support for escaped charsSimo Sorce2-155/+147
clean up simple_ldb functions (This used to be commit 3af61cb6cd43c8609f06d66d2678994726805063)
2007-10-10r2816: fix 'Default-First-Site-Name' dnStefan Metzmacher1-1/+1
metze (This used to be commit ae4b99d15c24696e0784e406e00220d2d0c0a93f)
2007-10-10r2815: add some more docsSimo Sorce6-5/+1934
add a nearly complete rfc conformat dn parsing function (This used to be commit 1bc5a94488f48ae5c8e67db169f24f5f24c4a234)
2007-10-10r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),Andrew Tridgell1-5/+5
so talloc now doesn't contain any ldb specific functions. allow NULL to be passed to a couple more talloc() functions (This used to be commit 1246f80d806fb5f63cfbf3879de6d546384552a8)
2007-10-10r2758: keep docos handy while developing itSimo Sorce6-0/+5674
(This used to be commit 5f9b58c785950e9871ef6411ff2ef34f988959ed)
2007-10-10r2757: some minor fixesStefan Metzmacher1-3/+1
metze (This used to be commit 991b4777c8690337bb319c57550e918ced5d7503)
2007-10-10r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.Simo Sorce1-29/+60
Make it handle all cases: - remove spaces before and after ',' - remove spaces after '=' TODO: check if there are escape chars in the RFC, they are not handled here yet. Simo. (This used to be commit ba2970c3a44562f071309198494c4b68659b2f3f)
2007-10-10r2748: implement sldb_Compare()Stefan Metzmacher1-1/+63
Simo: this commit should not conflict much with your changes:-) metze (This used to be commit 6825e78e01a220bc837ea51aa6afbf3f26a02c49)
2007-10-10r2731: use debug level 10 everywhereStefan Metzmacher1-7/+7
metze (This used to be commit a0e4dca3dab1da02edc09fd5f80690ec0b764c17)
2007-10-10r2724: - use ldapsrv_service and set it up with the rootDSE and default ↵Stefan Metzmacher1-13/+42
partition (this is not complete yet) - call asn1_free() after each call metze (This used to be commit 0aa622bdc497e4ae1a23bd47ad9d9bf2757c8fd5)
2007-10-10r2722: remove tmp debug messagesStefan Metzmacher1-4/+1
metze (This used to be commit 60dcba3e91cedca78d2eb7e01bc04790739a4aad)