From 588fa2f3232285d04b81ea4b2e2c3d838cb628e0 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 8 Aug 2007 22:20:07 -0400 Subject: Add dependency and a comment --- ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c') 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); -- cgit