1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/nbt_server
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
..
dgram r11041: r10358@SERNOX: metze | 2005-09-20 21:40:03 +0200 2007-10-10 13:42:34 -05:00
wins r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
config.mk r11244: Relative path names in .mk files 2007-10-10 13:45:06 -05:00
defense.c r11052: bring samba4 uptodate with the samba4-winsrepl branch, 2007-10-10 13:44:43 -05:00
interfaces.c r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200 2007-10-10 13:39:52 -05:00
irpc.c r11373: Handle an apparent alias in NBT ntlogin replies. 2007-10-10 13:45:28 -05:00
nbt_server.c r10706: split out the irpc server functions in the NBT server, so the mainline 2007-10-10 13:39:22 -05:00
nbt_server.h r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200 2007-10-10 13:44:42 -05:00
nodestatus.c r11052: bring samba4 uptodate with the samba4-winsrepl branch, 2007-10-10 13:44:43 -05:00
packet.c r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200 2007-10-10 13:39:52 -05:00
query.c r11052: bring samba4 uptodate with the samba4-winsrepl branch, 2007-10-10 13:44:43 -05:00
register.c r11329: the 0x1C must be registered as group name 2007-10-10 13:45:20 -05:00