lib/winbind_util: Add winbind_xid_to_sid for --without-winbind
authorChristof Schmitt <cs@samba.org>
Tue, 5 Mar 2019 18:56:49 +0000 (11:56 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 12 Mar 2019 11:25:44 +0000 (11:25 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13813

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar  6 01:53:16 UTC 2019 on sn-devel-144

(cherry picked from commit 4125ff89e44a3e98882cfc38c06e559a6e1e56a5)

source3/lib/winbind_util.c

index c6fcb34957b0139ec7381283a822d163ee850964..0e31aa8380aef8d41b784179a2a4031235ca5e84 100644 (file)
@@ -400,6 +400,13 @@ bool winbind_gid_to_sid(struct dom_sid *sid, gid_t gid)
        return false;
 }
 
+/* Call winbindd to convert uid or gid to SID */
+
+bool winbind_xid_to_sid(struct dom_sid *sid, const struct unixid *xid)
+{
+       return false;
+}
+
 /* Check for a trusted domain */
 
 wbcErr wb_is_trusted_domain(const char *domain)