diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-10 22:12:14 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-10 22:34:01 +0100 |
commit | b524e58f9a37e0e780c998d819fdbac7b3c34fed (patch) | |
tree | e19076b2f0790a048f24210d0e6c0d5d3074f2f7 /source3/passdb | |
parent | 4063bde3edd15b241f2b93bb5aedfef57ec4df91 (diff) | |
download | samba-b524e58f9a37e0e780c998d819fdbac7b3c34fed.tar.gz samba-b524e58f9a37e0e780c998d819fdbac7b3c34fed.tar.bz2 samba-b524e58f9a37e0e780c998d819fdbac7b3c34fed.zip |
s3: Align tldap_add and tldap_add_send
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index f153c9e0ce..bf1aa79a52 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -491,7 +491,7 @@ static NTSTATUS pdb_ads_create_user(struct pdb_methods *m, } - rc = tldap_add(ld, dn, num_mods, mods, NULL, 0, NULL, 0); + rc = tldap_add(ld, dn, mods, num_mods, NULL, 0, NULL, 0); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_add failed %s\n", tldap_errstr(talloc_tos(), ld, rc))); @@ -779,7 +779,7 @@ static NTSTATUS pdb_ads_create_dom_group(struct pdb_methods *m, return NT_STATUS_NO_MEMORY; } - rc = tldap_add(ld, dn, num_mods, mods, NULL, 0, NULL, 0); + rc = tldap_add(ld, dn, mods, num_mods, NULL, 0, NULL, 0); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_add failed %s\n", tldap_errstr(talloc_tos(), state->ld, rc))); @@ -1164,7 +1164,7 @@ static NTSTATUS pdb_ads_create_alias(struct pdb_methods *m, return NT_STATUS_NO_MEMORY; } - rc = tldap_add(ld, dn, num_mods, mods, NULL, 0, NULL, 0); + rc = tldap_add(ld, dn, mods, num_mods, NULL, 0, NULL, 0); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_add failed %s\n", tldap_errstr(talloc_tos(), state->ld, rc))); |