summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-22 13:49:42 +0100
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:32 +0200
commit806e00628810a0fd1d2884bcdb649df147f05286 (patch)
tree51b74e2c74b9782280bdc880497e8de0a5ae6d97 /source3/winbindd/idmap.c
parent002fe91768757f20de2a40f14480b6c5f8b74bdc (diff)
downloadsamba-806e00628810a0fd1d2884bcdb649df147f05286.tar.gz
samba-806e00628810a0fd1d2884bcdb649df147f05286.tar.bz2
samba-806e00628810a0fd1d2884bcdb649df147f05286.zip
s3:idmap: remove unused idmap_set_gid_hwm()
Michael
Diffstat (limited to 'source3/winbindd/idmap.c')
-rw-r--r--source3/winbindd/idmap.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 841adc8ef0..431f9bc005 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -646,19 +646,6 @@ NTSTATUS idmap_allocate_gid(struct unixid *id)
return ctx->methods->allocate_id(id);
}
-NTSTATUS idmap_set_gid_hwm(struct unixid *id)
-{
- struct idmap_alloc_context *ctx;
- NTSTATUS ret;
-
- if (!NT_STATUS_IS_OK(ret = idmap_alloc_init(&ctx))) {
- return ret;
- }
-
- id->type = ID_TYPE_GID;
- return ctx->methods->set_id_hwm(id);
-}
-
NTSTATUS idmap_new_mapping(const struct dom_sid *psid, enum id_type type,
struct unixid *pxid)
{