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-31 18:40:01 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-31 18:40:01 -0400
commitabeda55e34ff19d34bf48f7e8c7f1df42b86136f (patch)
tree06973ab3214f7b2c715657d88a786dbef0609a16 /ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c
parent7a0629ea55940169007d6a1c5c9e6e66c406f724 (diff)
downloadfreeipa-abeda55e34ff19d34bf48f7e8c7f1df42b86136f.tar.gz
freeipa-abeda55e34ff19d34bf48f7e8c7f1df42b86136f.tar.xz
freeipa-abeda55e34ff19d34bf48f7e8c7f1df42b86136f.zip
Add password request for admin user
Set password for admin user using the Directory Mangaer account and the mozldapldappaswd binary to get and SSL connection Fix some timeout problems with deploying keytabs Fix ipa_pwd_extop to actuallt correctly detect an SSL connection Do not ask for the user to use for the directory unless 'dirsrv' is an existing user which may clash, create it silently
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.c2
1 files changed, 1 insertions, 1 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 f3771204a..e920cec7b 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
@@ -926,7 +926,7 @@ ipapwd_extop( Slapi_PBlock *pb )
goto free_and_return;
}
- if ( (is_ssl <=1) && (sasl_ssf <= 1) ) {
+ if ( (is_ssl == 0) && (sasl_ssf <= 1) ) {
errMesg = "Operation requires a secure connection.\n";
rc = LDAP_CONFIDENTIALITY_REQUIRED;
goto free_and_return;