1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

21 Commits

Author SHA1 Message Date
Stefan Metzmacher
0aa622bdc4 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
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
60dcba3e91 r2722: remove tmp debug messages
metze
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
e74d3895f0 r2720: -implement sldb_Modify() call
metze
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
7419c6dabb r2714: - add sldb_Add() implementation
- fix some errstr settings

metze
2007-10-10 12:59:25 -05:00
Simo Sorce
ddd74dae8e r2695: revert "Del" renaming 2007-10-10 12:59:24 -05:00
Stefan Metzmacher
1de1beca66 r2693: - send a reply when no attributes there
- add some debug messages

metze
2007-10-10 12:59:23 -05:00
Simo Sorce
5ed9a6eb18 r2689: Use consistent naming Del -> Delete
Add delete functionality to ldb simple lda server backend
add some const in ldap.h
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
af1501a28d 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
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
e62cd75d37 r2685: ALLOC_CHECK() after talloc_steal() isn't needed
(thanks simo:-)

metze
2007-10-10 12:59:22 -05:00
Stefan Metzmacher
740347255b r2682: as sambdb holds all search data, don't double free the data
metze
2007-10-10 12:59:21 -05:00
Stefan Metzmacher
67bb491725 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
2007-10-10 12:59:21 -05:00
Andrew Tridgell
2dc334a328 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
2007-10-10 12:59:16 -05:00
Andrew Tridgell
26da45a801 r2628: got rid of some warnings and converted a few more places to use hierarchical memory allocation 2007-10-10 12:59:14 -05:00
Stefan Metzmacher
6fc904a71c r2527: - add a dummy for a simple ldb backend
- handle the complete rootDSE search (maybe this will be also a partition module)

metze
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
e2fe685849 r2526: use LDAP error 53 (unwillingToPerform)
when the backend didn't implement the call

metze
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
f9dc34cd0b 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
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
5103e7fe78 r2523: - readd rootDSE reply
- add infrastructure start for having multiple directory partitions (backends)

metze
2007-10-10 12:59:02 -05:00
Stefan Metzmacher
dc1f8212ff r2509: add a struct ldapsrv_call which is simular to the dcesrv_call_state struct
and related stuff...

metze
2007-10-10 12:59:00 -05:00
Stefan Metzmacher
2fd577d241 r2447: let the server code use the new lib/socket/ stuff
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
3a9ca35116 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
2007-10-10 12:58:48 -05:00
Stefan Metzmacher
5387bc423d r2321: add complately untested LDAP server start
based on volker's patch

this is compiled by default but not started by default

metze
2007-10-10 12:58:43 -05:00