s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internal
authorMichael Adam <obnox@samba.org>
Tue, 31 May 2011 22:25:23 +0000 (00:25 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 31 May 2011 23:43:23 +0000 (01:43 +0200)
This is in preparation of allowing allocating ldap based domain-specific configs.

source3/winbindd/idmap_ldap.c

index 7195912fc38f6784fe21aa3074c88ff6c96d718c..c04ae26c650983d6ac4a33ede4adc12a22af4baa 100644 (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;
 }