diff options
author | Michael Adam <obnox@samba.org> | 2012-11-23 17:50:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:26 +0100 |
commit | c927ff4b3641e10369f9e17b20d92d3148f55633 (patch) | |
tree | 8d04aabc415ee5dda04838ea4e35bd0a5a5abb4e /source3/winbindd | |
parent | aa771618718378bc3449b1caa78d1d942ff937c4 (diff) | |
download | samba-c927ff4b3641e10369f9e17b20d92d3148f55633.tar.gz samba-c927ff4b3641e10369f9e17b20d92d3148f55633.tar.xz samba-c927ff4b3641e10369f9e17b20d92d3148f55633.zip |
s3:winbindd: remove unused server implementation of wbint_Sid2Uid()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_dual_srv.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index 660008293d9..914647e800b 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -108,20 +108,6 @@ NTSTATUS _wbint_LookupName(struct pipes_struct *p, struct wbint_LookupName *r) return status; } -NTSTATUS _wbint_Sid2Uid(struct pipes_struct *p, struct wbint_Sid2Uid *r) -{ - uid_t uid; - NTSTATUS status; - - status = idmap_sid_to_uid(r->in.dom_name ? r->in.dom_name : "", - r->in.sid, &uid); - if (!NT_STATUS_IS_OK(status)) { - return status; - } - *r->out.uid = uid; - return NT_STATUS_OK; -} - NTSTATUS _wbint_Sid2Gid(struct pipes_struct *p, struct wbint_Sid2Gid *r) { gid_t gid; |