summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-03-05 11:56:49 -0700
committerKarolin Seeger <kseeger@samba.org>2019-03-12 11:25:44 +0000
commit57158ba47e72c748f9096c9597cdb490e03403aa (patch)
tree5eb923b664df35e342b275fa7c84b8f54c14738d /source3/lib
parent38d723896da46e5e799f2cb6ee6a25711a40e450 (diff)
downloadsamba-57158ba47e72c748f9096c9597cdb490e03403aa.tar.gz
lib/winbind_util: Add winbind_xid_to_sid for --without-winbind
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)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/winbind_util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c
index c6fcb34957b..0e31aa8380a 100644
--- a/source3/lib/winbind_util.c
+++ b/source3/lib/winbind_util.c
@@ -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)