diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-10 22:21:19 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-02-10 23:20:05 +0100 |
commit | efa460e2912f66629df4d916f950ff9e31c6c208 (patch) | |
tree | 8b10b015539e39f110ce8fb93bfeee87303f7d19 /source3/passdb | |
parent | b524e58f9a37e0e780c998d819fdbac7b3c34fed (diff) | |
download | samba-efa460e2912f66629df4d916f950ff9e31c6c208.tar.gz samba-efa460e2912f66629df4d916f950ff9e31c6c208.tar.bz2 samba-efa460e2912f66629df4d916f950ff9e31c6c208.zip |
s3: Align the args in tldap_modify
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ads.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index bf1aa79a52..a1b830634a 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -593,7 +593,7 @@ static NTSTATUS pdb_ads_update_sam_account(struct pdb_methods *m, return NT_STATUS_OK; } - rc = tldap_modify(ld, priv->dn, num_mods, mods, NULL, 0, + rc = tldap_modify(ld, priv->dn, mods, num_mods, NULL, 0, NULL, 0); TALLOC_FREE(mods); if (rc != TLDAP_SUCCESS) { @@ -1089,7 +1089,7 @@ static NTSTATUS pdb_ads_mod_groupmem(struct pdb_methods *m, return NT_STATUS_NO_MEMORY; } - rc = tldap_modify(ld, groupdn, 1, mods, NULL, 0, NULL, 0); + rc = tldap_modify(ld, groupdn, mods, 1, NULL, 0, NULL, 0); TALLOC_FREE(frame); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_modify failed: %s\n", @@ -1325,7 +1325,7 @@ static NTSTATUS pdb_ads_set_aliasinfo(struct pdb_methods *m, return NT_STATUS_OK; } - rc = tldap_modify(ld, dn, num_mods, mods, NULL, 0, NULL, 0); + rc = tldap_modify(ld, dn, mods, num_mods, NULL, 0, NULL, 0); TALLOC_FREE(msg); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_modify failed: %s\n", @@ -1421,7 +1421,7 @@ static NTSTATUS pdb_ads_mod_aliasmem(struct pdb_methods *m, return NT_STATUS_NO_MEMORY; } - rc = tldap_modify(ld, aliasdn, 1, mods, NULL, 0, NULL, 0); + rc = tldap_modify(ld, aliasdn, mods, 1, NULL, 0, NULL, 0); TALLOC_FREE(frame); if (rc != TLDAP_SUCCESS) { DEBUG(10, ("ldap_modify failed: %s\n", |