[yast-commit] r67637 - in /branches/SuSE-Code-11-SP2-Branch/ldap: VERSION package/yast2-ldap.changes src/LdapAgent.cc
Author: jsuchome Date: Thu Mar 15 15:26:17 2012 New Revision: 67637 URL: http://svn.opensuse.org/viewcvs/yast?rev=67637&view=rev Log: - added option to disable certificate checks (bnc#745877) - 2.17.7 Modified: branches/SuSE-Code-11-SP2-Branch/ldap/VERSION branches/SuSE-Code-11-SP2-Branch/ldap/package/yast2-ldap.changes branches/SuSE-Code-11-SP2-Branch/ldap/src/LdapAgent.cc Modified: branches/SuSE-Code-11-SP2-Branch/ldap/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/ldap/VERSION?rev=67637&r1=67636&r2=67637&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/ldap/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/ldap/VERSION Thu Mar 15 15:26:17 2012 @@ -1 +1 @@ -2.17.6 +2.17.7 Modified: branches/SuSE-Code-11-SP2-Branch/ldap/package/yast2-ldap.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/ldap/package/yast2-ldap.changes?rev=67637&r1=67636&r2=67637&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/ldap/package/yast2-ldap.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/ldap/package/yast2-ldap.changes Thu Mar 15 15:26:17 2012 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Feb 16 15:50:48 CET 2012 - jsuchome@suse.cz + +- added option to disable certificate checks (bnc#745877) +- 2.17.7 + +------------------------------------------------------------------- Wed Aug 31 15:55:42 CEST 2011 - jsuchome@suse.cz - properly initialize value of ldap_initialized (bnc#715240) Modified: branches/SuSE-Code-11-SP2-Branch/ldap/src/LdapAgent.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/ldap/src/LdapAgent.cc?rev=67637&r1=67636&r2=67637&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/ldap/src/LdapAgent.cc (original) +++ branches/SuSE-Code-11-SP2-Branch/ldap/src/LdapAgent.cc Thu Mar 15 15:26:17 2012 @@ -508,6 +508,7 @@ { string cacertfile = getValue (args, "cacertfile"); string cacertdir = getValue (args, "cacertdir"); + string require = getValue (args, "require_cert"); TlsOptions tls; if (cacertfile != "") { @@ -518,7 +519,12 @@ } if (set_tls == "yes") { - tls.setOption (TlsOptions::REQUIRE_CERT, TlsOptions::DEMAND); + if (require == "never") { + tls.setOption (TlsOptions::REQUIRE_CERT, TlsOptions::NEVER); + } + else { + tls.setOption (TlsOptions::REQUIRE_CERT, TlsOptions::DEMAND); + } } if (set_tls == "try") { tls.setOption (TlsOptions::REQUIRE_CERT, TlsOptions::TRY); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org