mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
5c95905871
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
|
||
---|---|---|
.. | ||
composite.h | ||
config.mk | ||
domain.c | ||
libnet_join.c | ||
libnet_join.h | ||
libnet_lookup.c | ||
libnet_lookup.h | ||
libnet_passwd.c | ||
libnet_passwd.h | ||
libnet_rpc.c | ||
libnet_rpc.h | ||
libnet_samdump.c | ||
libnet_samsync_ldb.c | ||
libnet_share.c | ||
libnet_share.h | ||
libnet_time.c | ||
libnet_time.h | ||
libnet_user.c | ||
libnet_user.h | ||
libnet_vampire.c | ||
libnet_vampire.h | ||
libnet.c | ||
libnet.h | ||
userinfo.c | ||
userinfo.h | ||
userman.c | ||
userman.h |