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

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


Author: nkinder

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

Modified Files:
	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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- syncserv.cpp	14 Oct 2005 16:00:00 -0000	1.10
+++ syncserv.cpp	14 Oct 2005 17:58:19 -0000	1.11
@@ -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