s3: Align the args of pdb_ads_update_sam_account to tldap_modify
authorVolker Lendecke <vl@samba.org>
Sat, 12 Feb 2011 10:39:16 +0000 (11:39 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 13 Feb 2011 11:11:52 +0000 (12:11 +0100)
source3/passdb/pdb_ads.c

index 565b469b0336e3f77455959e1eb23c412bc12a59..108629d6e9151e8e6fe2497ba698cf711dd1905f 100644 (file)
@@ -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;
        }