s3:idmap: remove unused idmap_set_gid_hwm()
authorMichael Adam <obnox@samba.org>
Thu, 22 Jan 2009 12:49:42 +0000 (13:49 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 31 May 2010 15:00:07 +0000 (17:00 +0200)
Michael

source3/include/proto.h
source3/winbindd/idmap.c

index 5f1a324b378c5aea2e3761d0d79d8a9d51fcc3eb..8382318f6615c42bccc9635d567dcfb7e3a595be 100644 (file)
@@ -7207,7 +7207,6 @@ void idmap_close(void);
 NTSTATUS idmap_init_cache(void);
 NTSTATUS idmap_allocate_uid(struct unixid *id);
 NTSTATUS idmap_allocate_gid(struct unixid *id);
-NTSTATUS idmap_set_gid_hwm(struct unixid *id);
 NTSTATUS idmap_backends_unixid_to_sid(const char *domname,
                                      struct id_map *id);
 NTSTATUS idmap_backends_sid_to_unixid(const char *domname,
index 3efa4e89166be64e7fabbe57114d0d7b38ff4a9e..2d567abc356346c7075ce4b1a3cd40150e4c3e4a 100644 (file)
@@ -631,19 +631,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)
 {