1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internal

This is in preparation of allowing allocating ldap based domain-specific configs.
This commit is contained in:
Michael Adam 2011-06-01 00:25:23 +02:00
parent 5882d3eba3
commit 2de65b97b9

View File

@ -232,8 +232,8 @@ done:
Allocate a new uid or gid
********************************/
static NTSTATUS idmap_ldap_allocate_id(struct idmap_domain *dom,
struct unixid *xid)
static NTSTATUS idmap_ldap_allocate_id_internal(struct idmap_domain *dom,
struct unixid *xid)
{
TALLOC_CTX *mem_ctx;
NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
@ -405,7 +405,7 @@ static NTSTATUS idmap_ldap_get_new_id(struct idmap_domain *dom,
return NT_STATUS_NOT_IMPLEMENTED;
}
ret = idmap_ldap_allocate_id(dom, id);
ret = idmap_ldap_allocate_id_internal(dom, id);
return ret;
}