summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-22 13:49:06 +0100
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:32 +0200
commit002fe91768757f20de2a40f14480b6c5f8b74bdc (patch)
treee7f60bc2b8320615058d3c1f355bd59aee2dd3af /source3
parent61f019d61d2aeb5d5dd79c3048d9c6048f4881f5 (diff)
downloadsamba-002fe91768757f20de2a40f14480b6c5f8b74bdc.tar.gz
samba-002fe91768757f20de2a40f14480b6c5f8b74bdc.tar.bz2
samba-002fe91768757f20de2a40f14480b6c5f8b74bdc.zip
s3:idmap: remove unused idmap_set_uid_hwm()
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/winbindd/idmap.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 18b37543da..c60c18b3ba 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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_uid_hwm(struct unixid *id);
NTSTATUS idmap_set_gid_hwm(struct unixid *id);
NTSTATUS idmap_backends_unixid_to_sid(const char *domname,
struct id_map *id);
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 4229bf47b7..841adc8ef0 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_uid_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_UID;
- return ctx->methods->set_id_hwm(id);
-}
-
NTSTATUS idmap_set_gid_hwm(struct unixid *id)
{
struct idmap_alloc_context *ctx;