mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:idmap: remove unused idmap_set_gid_hwm()
Michael
This commit is contained in:
parent
002fe91768
commit
806e006288
@ -6016,7 +6016,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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user