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

32 Commits

Author SHA1 Message Date
Andrew Tridgell
ec32b22ed5 r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
2007-10-10 13:09:15 -05:00
Stefan Metzmacher
7aa86445e3 r4709: fix compiler warnings
metze
2007-10-10 13:08:46 -05:00
Stefan Metzmacher
dd217f7916 r4629: we now have a global macro NT_STATUS_HAVE_NO_MEMORY()
so don't use a local one

metze
2007-10-10 13:08:36 -05:00
Stefan Metzmacher
590afa88f1 r4628: this function should be static
metze
2007-10-10 13:08:35 -05:00
Andrew Tridgell
1a4713bfd0 r4475: fixed smbd to work with the small changes in the ldb API (the most important
change was in the ldb_msg_add_*() routines, which now use the msg as a context,
and thus it needs to be a talloc ptr)
2007-10-10 13:07:55 -05:00
Andrew Tridgell
0928b1f5b6 r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile 2007-10-10 13:06:16 -05:00
Stefan Metzmacher
f5ee40d6ce r3783: - don't use make proto for ldb anymore
- 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
2007-10-10 13:05:52 -05:00
Simo Sorce
71323f424b r3754: merge in ldb modules support from the tmp branch ldbPlugins 2007-10-10 13:05:51 -05:00
Andrew Tridgell
70d2090f6b r3464: split out registry.h, rap.h and ldap_server.h 2007-10-10 13:05:17 -05:00
Stefan Metzmacher
a25d1c4419 r3099: implment sldb_ModifyDN()
metze
2007-10-10 13:02:21 -05:00
Stefan Metzmacher
4b8d90866e r3098: - fix segfault in sldb_Compare()
- be more verbose on the INVALID_DN errstr

metze
2007-10-10 13:02:20 -05:00
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