summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-11-23 17:50:50 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:27 +0100
commitb47be53a1f68735b1a95d57781eaf9beea68481b (patch)
tree189bdf6968451df5a6e477796298a5cd36a0b8a6
parentc927ff4b3641e10369f9e17b20d92d3148f55633 (diff)
downloadsamba-b47be53a1f68735b1a95d57781eaf9beea68481b.tar.gz
samba-b47be53a1f68735b1a95d57781eaf9beea68481b.tar.bz2
samba-b47be53a1f68735b1a95d57781eaf9beea68481b.zip
s3:winbindd: remove unused server implementation of wbint_Sid2Gid()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/winbindd/winbindd_dual_srv.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index 914647e800..5344063f16 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_Sid2Gid(struct pipes_struct *p, struct wbint_Sid2Gid *r)
-{
- gid_t gid;
- NTSTATUS status;
-
- status = idmap_sid_to_gid(r->in.dom_name ? r->in.dom_name : "",
- r->in.sid, &gid);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
- *r->out.gid = gid;
- return NT_STATUS_OK;
-}
-
NTSTATUS _wbint_Sids2UnixIDs(struct pipes_struct *p,
struct wbint_Sids2UnixIDs *r)
{