svn commit: samba r23688 - in branches: SAMBA_3_0/source/passdb SAMBA_3_0_25/source/passdb SAMBA_3_0_26/source/passdb

jra at samba.org jra at samba.org
Tue Jul 3 18:00:57 GMT 2007


Author: jra
Date: 2007-07-03 18:00:54 +0000 (Tue, 03 Jul 2007)
New Revision: 23688

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23688

Log:
Fix bug #4759 reported by Raul <ismell at ismell.org>.
"N" is not a valid format entry for ber_printf, should be "n"
Jeremy.

Modified:
   branches/SAMBA_3_0/source/passdb/pdb_ldap.c
   branches/SAMBA_3_0_25/source/passdb/pdb_ldap.c
   branches/SAMBA_3_0_26/source/passdb/pdb_ldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_ldap.c	2007-07-03 16:27:35 UTC (rev 23687)
+++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c	2007-07-03 18:00:54 UTC (rev 23688)
@@ -1611,7 +1611,7 @@
 		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"));

Modified: branches/SAMBA_3_0_25/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0_25/source/passdb/pdb_ldap.c	2007-07-03 16:27:35 UTC (rev 23687)
+++ branches/SAMBA_3_0_25/source/passdb/pdb_ldap.c	2007-07-03 18:00:54 UTC (rev 23688)
@@ -1611,7 +1611,7 @@
 		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"));

Modified: branches/SAMBA_3_0_26/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0_26/source/passdb/pdb_ldap.c	2007-07-03 16:27:35 UTC (rev 23687)
+++ branches/SAMBA_3_0_26/source/passdb/pdb_ldap.c	2007-07-03 18:00:54 UTC (rev 23688)
@@ -1611,7 +1611,7 @@
 		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"));



More information about the samba-cvs mailing list