From 57158ba47e72c748f9096c9597cdb490e03403aa Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Tue, 5 Mar 2019 11:56:49 -0700 Subject: 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 Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison 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 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/lib') 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) -- cgit v1.2.1