summaryrefslogtreecommitdiffstats
path: root/ldap/synctools/passwordsync/passsync/syncserv.cpp
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2005-10-14 17:58:19 +0000
committerNathan Kinder <nkinder@redhat.com>2005-10-14 17:58:19 +0000
commit1d20c35b27f2cfcb9db42c87b56a6f731b8bb8dd (patch)
treefb8dbafb5a46d9ff34c821ffef64d112466bfd24 /ldap/synctools/passwordsync/passsync/syncserv.cpp
parent3f0041a0f470c115c37c34c5659614c8b71c260a (diff)
downloadds-1d20c35b27f2cfcb9db42c87b56a6f731b8bb8dd.tar.gz
ds-1d20c35b27f2cfcb9db42c87b56a6f731b8bb8dd.tar.xz
ds-1d20c35b27f2cfcb9db42c87b56a6f731b8bb8dd.zip
170816 - Don't consume password changes if modify fails
Diffstat (limited to 'ldap/synctools/passwordsync/passsync/syncserv.cpp')
-rw-r--r--ldap/synctools/passwordsync/passsync/syncserv.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldap/synctools/passwordsync/passsync/syncserv.cpp b/ldap/synctools/passwordsync/passsync/syncserv.cpp
index 247184dd..bac518e8 100644
--- a/ldap/synctools/passwordsync/passsync/syncserv.cpp
+++ b/ldap/synctools/passwordsync/passsync/syncserv.cpp
@@ -345,6 +345,11 @@ int PassSyncService::SyncPasswords()
// 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
{