[Fedora-directory-commits] ldapserver/ldap/synctools/passwordsync/passsync syncserv.cpp, 1.7.2.3, 1.7.2.4

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Fri Oct 14 17:59:03 UTC 2005


Author: nkinder

Update of /cvs/dirsec/ldapserver/ldap/synctools/passwordsync/passsync
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18793/passsync

Modified Files:
      Tag: Directory71RtmBranch
	syncserv.cpp 
Log Message:
170816 - Don't consume password changes if modify fails


Index: syncserv.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/synctools/passwordsync/passsync/syncserv.cpp,v
retrieving revision 1.7.2.3
retrieving revision 1.7.2.4
diff -u -r1.7.2.3 -r1.7.2.4
--- syncserv.cpp	14 Oct 2005 16:06:54 -0000	1.7.2.3
+++ syncserv.cpp	14 Oct 2005 17:59:01 -0000	1.7.2.4
@@ -345,6 +345,11 @@
 					// log modify failure.
 					timeStamp(&outLog);
 					outLog << "Modify password failed for remote entry: " << dn << endl;
+					// defer this change for later
+					timeStamp(&outLog);
+					outLog << "Deferring password change for " << currentPassInfo->username << endl;
+					currentPassInfo++;
+					continue;
 				}
 				else
 				{




More information about the Fedora-directory-commits mailing list