summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-08-08 22:20:07 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-08 22:20:07 -0400
commit588fa2f3232285d04b81ea4b2e2c3d838cb628e0 (patch)
treed6787b972570c87be0789d7bc5507b9fd59a1605 /ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
parent80bd4aa9f9ac044508a3e743ac2c5999f7d68ae3 (diff)
downloadfreeipa-588fa2f3232285d04b81ea4b2e2c3d838cb628e0.tar.gz
freeipa-588fa2f3232285d04b81ea4b2e2c3d838cb628e0.tar.xz
freeipa-588fa2f3232285d04b81ea4b2e2c3d838cb628e0.zip
Add dependency and a comment
Diffstat (limited to 'ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c')
-rw-r--r--ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
index f871ee4f6..73f718aae 100644
--- a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
+++ b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
@@ -792,6 +792,11 @@ static int ipapwd_userpassword(Slapi_Entry *targetEntry, const char *newPasswd)
}
}
+ /* TODO !!!
+ * instead of replace we should use a delete/add so that we are
+ * completely sure nobody else modified the entry meanwhile and
+ * fail if that's the case */
+
/* commit changes */
ret = ipapwd_apply_mods(dn, smods);