[PATCH] lib: Fix build --without-winbind by adding winbind_lookup_usersids dummy

Kai Blin kai at samba.org
Fri May 9 07:07:49 MDT 2014


When building without winbind lib/winbind_util.c was missing a dummy function for winbind_lookup_usersids()

Signed-off-by: Kai Blin <kai at samba.org>
---
 source3/lib/winbind_util.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c
index f62682b..3189dd3 100644
--- a/source3/lib/winbind_util.c
+++ b/source3/lib/winbind_util.c
@@ -485,4 +485,12 @@ bool winbind_get_sid_aliases(TALLOC_CTX *mem_ctx,
 	return false;
 }
 
+bool winbind_lookup_usersids(TALLOC_CTX *mem_ctx,
+			     const struct dom_sid *user_sid,
+			     uint32_t *p_num_sids,
+			     struct dom_sid **p_sids)
+{
+	return false;
+}
+
 #endif     /* WITH_WINBIND */
-- 
1.9.1



More information about the samba-technical mailing list