From f3bb102c24018f0a91f8b51de6fe646c091da6be Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 3 Jul 2007 18:00:54 +0000 Subject: [PATCH] r23688: Fix bug #4759 reported by Raul . "N" is not a valid format entry for ber_printf, should be "n" Jeremy. --- source/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index dfa039a739f..d7fca4142d6 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/passdb/pdb_ldap.c @@ -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")); -- 2.34.1