1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

21 Commits

Author SHA1 Message Date
Stefan Metzmacher
d92eff2328 r3097: - an empty string is a valid DN
- detect in valid DN's

- some error handling fixes

metze
2007-10-10 13:02:20 -05:00
Simo Sorce
d878c3c365 r2875: some fixes + (C) note 2007-10-10 12:59:41 -05:00
Stefan Metzmacher
d23335bc14 r2855: fix error codes for Compare
metze
2007-10-10 12:59:39 -05:00
Andrew Tridgell
391b09dad1 r2836: removed a couple of unused variables 2007-10-10 12:59:38 -05:00
Simo Sorce
3af61cb6cd r2820: complete the parsing routing with correct support for escaped chars
clean up simple_ldb functions
2007-10-10 12:59:37 -05:00
Simo Sorce
1bc5a94488 r2815: add some more docs
add a nearly complete rfc conformat dn parsing function
2007-10-10 12:59:36 -05:00
Andrew Tridgell
1246f80d80 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
2007-10-10 12:59:34 -05:00
Stefan Metzmacher
991b4777c8 r2757: some minor fixes
metze
2007-10-10 12:59:30 -05:00
Simo Sorce
ba2970c3a4 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.
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
6825e78e01 r2748: implement sldb_Compare()
Simo: this commit should not conflict much with your changes:-)

metze
2007-10-10 12:59:30 -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
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