r23688: Fix bug #4759 reported by Raul <ismell@ismell.org>.
authorJeremy Allison <jra@samba.org>
Tue, 3 Jul 2007 18:00:54 +0000 (18:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:45 +0000 (12:23 -0500)
"N" is not a valid format entry for ber_printf, should be "n"
Jeremy.
(This used to be commit f3bb102c24018f0a91f8b51de6fe646c091da6be)

source3/passdb/pdb_ldap.c

index dfa039a739fc19628a69c5b8f235ab2580ffaeeb..d7fca4142d68246df7835a9f790ff512dadf8fe9 100644 (file)
@@ -1611,7 +1611,7 @@ static NTSTATUS ldapsam_modify_entry(struct pdb_methods *my_methods,
                ber_printf (ber, "{");
                ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_ID, utf8_dn);
                ber_printf (ber, "ts", LDAP_TAG_EXOP_MODIFY_PASSWD_NEW, utf8_password);
-               ber_printf (ber, "N}");
+               ber_printf (ber, "n}");
 
                if ((rc = ber_flatten (ber, &bv))<0) {
                        DEBUG(0,("ldapsam_modify_entry: ber_flatten returns a value <0\n"));