1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/lib/ldb/tools
Simo Sorce 5c95905871 r11567: Ldb API change patch.
This patch changes the way lsb_search is called and the meaning of the returned integer.
The last argument of ldb_search is changed from struct ldb_message to struct ldb_result
which contains a pointer to a struct ldb_message list and a count of the number of messages.
The return is not the count of messages anymore but instead it is an ldb error value.

I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good
amount of places. I also tried to double check all my changes being sure that the calling
functions would still behave as before. But this patch is big enough that I fear some bug
may have been introduced anyway even if it passes the test suite. So if you are currently
working on any file being touched please give it a deep look and blame me for any error.

Simo.
(This used to be commit 22c8c97e6f)
2007-10-10 13:45:53 -05:00
..
cmdline.c r10894: make the handling of dn/distinguishedName much closer to real 2007-10-10 13:39:40 -05:00
cmdline.h r10406: added --nosync option to all ldb tools, so that you can control if 2007-10-10 13:38:41 -05:00
ldbadd.c r10477: expose transactions outside ldb and change the API once more 2007-10-10 13:38:52 -05:00
ldbdel.c r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
ldbedit.c r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
ldbmodify.c r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names 2007-10-10 13:33:32 -05:00
ldbrename.c r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names 2007-10-10 13:33:32 -05:00
ldbsearch.c r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
ldbtest.c r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
oLschema2ldif.c r10913: This patch isn't as big as it looks ... 2007-10-10 13:39:41 -05:00