1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/libnet
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
..
composite.h r10679: Monitor messages should be issued from usermod functions. 2007-10-10 13:39:17 -05:00
config.mk r11382: Require number of required M4 macros 2007-10-10 13:45:29 -05:00
domain.c r10504: - seperate implementation specific stuff, from the generic composite 2007-10-10 13:38:57 -05:00
libnet_join.c r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
libnet_join.h r11407: Push 'recreate account' logic into libnet/libnet_join.c. We don't 2007-10-10 13:45:32 -05:00
libnet_lookup.c r10504: - seperate implementation specific stuff, from the generic composite 2007-10-10 13:38:57 -05:00
libnet_lookup.h r7732: Implementation of very basic lookup function (to be used in more 2007-10-10 13:18:27 -05:00
libnet_passwd.c r8235: fix the build 2007-10-10 13:19:23 -05:00
libnet_passwd.h r4721: Changes to libnet_passwd to take advantage of the new easier to call 2007-10-10 13:08:48 -05:00
libnet_rpc.c r10486: This is a merge of Brad Henry's 'net join' rework, to better perform 2007-10-10 13:38:53 -05:00
libnet_rpc.h r10486: This is a merge of Brad Henry's 'net join' rework, to better perform 2007-10-10 13:38:53 -05:00
libnet_samdump.c r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking 2007-10-10 13:35:01 -05:00
libnet_samsync_ldb.c r10894: make the handling of dn/distinguishedName much closer to real 2007-10-10 13:39:40 -05:00
libnet_share.c r8077: Propagate changes in rpc connect routine to functions using it 2007-10-10 13:19:06 -05:00
libnet_share.h r6962: Severely simplified share functions. Removed call levels as we don't 2007-10-10 13:17:00 -05:00
libnet_time.c r8077: Propagate changes in rpc connect routine to functions using it 2007-10-10 13:19:06 -05:00
libnet_time.h r2065: add libnet_RemoteTOD() call with levels GENERIC and SRVSVC 2007-10-10 12:58:23 -05:00
libnet_user.c r8077: Propagate changes in rpc connect routine to functions using it 2007-10-10 13:19:06 -05:00
libnet_user.h r7379: Simplify CreateUser function and io structure. Also, implementing 2007-10-10 13:17:48 -05:00
libnet_vampire.c r11409: The use of 'password server = ' here is still bogus, but for now at 2007-10-10 13:45:33 -05:00
libnet_vampire.h r8752: With all the infrustructure done, details like a SamSync migration 2007-10-10 13:30:02 -05:00
libnet.c r8246: Don't try and set the element after the end off the array to NULL. 2007-10-10 13:19:25 -05:00
libnet.h r8076: Put name resolution methods into libnet_context. This allows libnet based 2007-10-10 13:19:05 -05:00
userinfo.c r10633: Formatting. 2007-10-10 13:39:13 -05:00
userinfo.h r8760: Rework monitor messaging code a bit, as Metze once suggested. 2007-10-10 13:30:03 -05:00
userman.c r10679: Monitor messages should be issued from usermod functions. 2007-10-10 13:39:17 -05:00
userman.h r8788: New monitor messages. 2007-10-10 13:30:05 -05:00