Stefan Metzmacher
2a1ee36e7f
r2862: prepare LDAP SASL support for the server
...
metze
(This used to be commit 9a7505bd74a453b10aa2d40071bb80eb656bc61f)
2007-10-10 12:59:40 -05:00
Stefan Metzmacher
9abbd9e860
r2855: fix error codes for Compare
...
metze
(This used to be commit d23335bc14de7f0402e3d536006d04e813403893)
2007-10-10 12:59:39 -05:00
Andrew Tridgell
1aabcd7312
r2836: removed a couple of unused variables
...
(This used to be commit 391b09dad1cb549b4ce508265a9925c405201e47)
2007-10-10 12:59:38 -05:00
Stefan Metzmacher
85428819e3
r2825: fix the build
...
this function names are unsed elsewhere in the code too
metze
(This used to be commit a8f2fe0ff0dc2b4219a2cc56272e1e929b9b59b8)
2007-10-10 12:59:37 -05:00
Simo Sorce
cf42c06c86
r2820: complete the parsing routing with correct support for escaped chars
...
clean up simple_ldb functions
(This used to be commit 3af61cb6cd43c8609f06d66d2678994726805063)
2007-10-10 12:59:37 -05:00
Stefan Metzmacher
85b78669b4
r2816: fix 'Default-First-Site-Name' dn
...
metze
(This used to be commit ae4b99d15c24696e0784e406e00220d2d0c0a93f)
2007-10-10 12:59:36 -05:00
Simo Sorce
44a556fd5a
r2815: add some more docs
...
add a nearly complete rfc conformat dn parsing function
(This used to be commit 1bc5a94488f48ae5c8e67db169f24f5f24c4a234)
2007-10-10 12:59:36 -05:00
Andrew Tridgell
1429ed54f1
r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),
...
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-10 12:59:34 -05:00
Simo Sorce
338c90404f
r2758: keep docos handy while developing it
...
(This used to be commit 5f9b58c785950e9871ef6411ff2ef34f988959ed)
2007-10-10 12:59:31 -05:00
Stefan Metzmacher
a4a360b7fe
r2757: some minor fixes
...
metze
(This used to be commit 991b4777c8690337bb319c57550e918ced5d7503)
2007-10-10 12:59:30 -05:00
Simo Sorce
53e5e96830
r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.
...
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-10 12:59:30 -05:00
Stefan Metzmacher
525dc6f089
r2748: implement sldb_Compare()
...
Simo: this commit should not conflict much with your changes:-)
metze
(This used to be commit 6825e78e01a220bc837ea51aa6afbf3f26a02c49)
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
ab5a0d31a3
r2731: use debug level 10 everywhere
...
metze
(This used to be commit a0e4dca3dab1da02edc09fd5f80690ec0b764c17)
2007-10-10 12:59:27 -05:00
Stefan Metzmacher
6baf350771
r2724: - use ldapsrv_service and set it up with the rootDSE and default partition
...
(this is not complete yet)
- call asn1_free() after each call
metze
(This used to be commit 0aa622bdc497e4ae1a23bd47ad9d9bf2757c8fd5)
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
aee52f2b57
r2722: remove tmp debug messages
...
metze
(This used to be commit 60dcba3e91cedca78d2eb7e01bc04790739a4aad)
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
4d541b26ea
r2720: -implement sldb_Modify() call
...
metze
(This used to be commit e74d3895f01369606254250f77376ae6ba3682ac)
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
7c0efa5cf1
r2714: - add sldb_Add() implementation
...
- fix some errstr settings
metze
(This used to be commit 7419c6dabbe09b4a5628fc36c7636a1763e4876f)
2007-10-10 12:59:25 -05:00
Simo Sorce
eac532ee3a
r2695: revert "Del" renaming
...
(This used to be commit ddd74dae8efe4e04b5a56ee9ecd9d4f87f99d104)
2007-10-10 12:59:24 -05:00
Stefan Metzmacher
43d45f80ad
r2693: - send a reply when no attributes there
...
- add some debug messages
metze
(This used to be commit 1de1beca66da68e5af0869629d2c50016c25e776)
2007-10-10 12:59:23 -05:00
Simo Sorce
456e2f82e8
r2689: Use consistent naming Del -> Delete
...
Add delete functionality to ldb simple lda server backend
add some const in ldap.h
(This used to be commit 5ed9a6eb184f34eb572dd81202237042518ec7cd)
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
718bb5e8ff
r2688: - fix case where listed attributes are asked
...
- use the return code of the functions
and only call ldapsrv_terminate_connection from ldapsrv_recv() or ldapsrv_send()
- the rootdse is now a normal partition
metze
(This used to be commit af1501a28d700f90cd2243fbfdce6527a0f62961)
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
c8a7c5b95e
r2685: ALLOC_CHECK() after talloc_steal() isn't needed
...
(thanks simo:-)
metze
(This used to be commit e62cd75d3786f3d638ac2a27d6e864c826eaa48f)
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
ccdb6138ab
r2682: as sambdb holds all search data, don't double free the data
...
metze
(This used to be commit 740347255b8f1aafda1ebd10d63fdde1c4041af0)
2007-10-10 12:59:21 -05:00
Stefan Metzmacher
965feb2cff
r2681: commit the first semi working search implementation
...
which exports data from a ldb.
I commit this code, so that someone can help me to find a strange
bug
metze
(This used to be commit 67bb49172567af9d106ded55c1257b808d2a97ff)
2007-10-10 12:59:21 -05:00
Andrew Tridgell
764eddb696
r2646: - use a talloc destructor to ensure that sockets from the new socket
...
library are closed on abnormal termination
- convert the service.h structures to the new talloc methods
(This used to be commit 2dc334a3284858eb1c7190f9687c9b6c879ecc9d)
2007-10-10 12:59:16 -05:00
Andrew Tridgell
223e78990a
r2628: got rid of some warnings and converted a few more places to use hierarchical memory allocation
...
(This used to be commit 26da45a8019a2d6c9ff2ac2a6739c7d0b42b00de)
2007-10-10 12:59:14 -05:00
Stefan Metzmacher
9a7c87bb64
r2527: - add a dummy for a simple ldb backend
...
- handle the complete rootDSE search (maybe this will be also a partition module)
metze
(This used to be commit 6fc904a71cf5305d0c5c260ad1665499ea6c6f9a)
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
0c7a18525c
r2526: use LDAP error 53 (unwillingToPerform)
...
when the backend didn't implement the call
metze
(This used to be commit e2fe6858494da311ee9a3f06dd84509572318893)
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
1efef4a19f
r2525: fix a search response when the backend didn't support Search
...
we return LDAP error 32 (noSuchObject) now instead of a protocol error
metze
(This used to be commit f9dc34cd0b5e5e05e5ca6b034a7056b34053c4d0)
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
6ad5996ef5
r2523: - readd rootDSE reply
...
- add infrastructure start for having multiple directory partitions (backends)
metze
(This used to be commit 5103e7fe7873c0309461ad471f0529223d7c38eb)
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
b6d3ba9672
r2509: add a struct ldapsrv_call which is simular to the dcesrv_call_state struct
...
and related stuff...
metze
(This used to be commit dc1f8212ff717765c40ea5668e841db50e636748)
2007-10-10 12:59:00 -05:00
Stefan Metzmacher
7d06a06584
r2447: let the server code use the new lib/socket/ stuff
...
metze
(This used to be commit 2fd577d2417e117a7e8c1a56feb147eae805df34)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
9041c3560f
r2401: make our LDAP server useable:
...
- we need to mark the fd event as writable otherwise we'll never senda packet to the client
- a search response have to ended by a LDAP result message
- return currentTime, supportedLDAPVersion and dnsHostName for testing
ldap -x -s base -h ldap://localhost/ is now works against our LDAP server
metze
(This used to be commit 3a9ca351166cf56de878e4408e221df299271c32)
2007-10-10 12:58:48 -05:00
Stefan Metzmacher
a560d554bd
r2321: add complately untested LDAP server start
...
based on volker's patch
this is compiled by default but not started by default
metze
(This used to be commit 5387bc423d4dc669cbac6626f8dd3a5498a6519d)
2007-10-10 12:58:43 -05:00