diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-12 11:39:16 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-13 12:11:52 +0100 |
commit | 30e72e0d0ad95f8b2dd138525670ca687900f4b8 (patch) | |
tree | 5ac6d75ea76d7782de0d5e51994406eca900fe89 | |
parent | a7301556d29ce7c2e637380da00a2ee640234fcc (diff) | |
download | samba-30e72e0d0ad95f8b2dd138525670ca687900f4b8.tar.gz samba-30e72e0d0ad95f8b2dd138525670ca687900f4b8.tar.bz2 samba-30e72e0d0ad95f8b2dd138525670ca687900f4b8.zip |
s3: Align the args of pdb_ads_update_sam_account to tldap_modify
-rw-r--r-- | source3/passdb/pdb_ads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index 565b469b03..108629d6e9 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -291,7 +291,7 @@ fail: static bool pdb_ads_init_ads_from_sam(struct pdb_ads_state *state, struct tldap_message *existing, TALLOC_CTX *mem_ctx, - int *pnum_mods, struct tldap_mod **pmods, + struct tldap_mod **pmods, int *pnum_mods, struct samu *sam) { bool ret = true; @@ -609,7 +609,7 @@ static NTSTATUS pdb_ads_update_sam_account(struct pdb_methods *m, } if (!pdb_ads_init_ads_from_sam(state, priv->ldapmsg, talloc_tos(), - &num_mods, &mods, sam)) { + &mods, &num_mods, sam)) { return NT_STATUS_NO_MEMORY; } |