[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kldap
From: Szombathelyi György <gyurco () freemail ! hu>
Date: 2006-07-31 22:38:21
Message-ID: 1154385501.801098.29370.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 568378 by gyurco:
Fix x-tls extension parsing
M +5 -5 ldapserver.cpp
--- trunk/KDE/kdepimlibs/kldap/ldapserver.cpp #568377:568378
@@ -58,17 +58,17 @@
if ( port <= 0 ) mPort = 389; else mPort = port;
mBaseDn = url.dn();
+ mSecurity = None;
if ( url.protocol() == "ldaps" )
mSecurity = SSL;
- else if ( url.extension("x-tls"), critical )
+ else if ( url.hasExtension("x-tls") )
mSecurity = TLS;
- else
- mSecurity = None;
-
+ kDebug() << "security: " << mSecurity << endl;
+
mMech = mUser = mBindDn = QString();
if ( url.hasExtension("x-sasl") ) {
mAuth = SASL;
- if ( url.hasExtension("x-mech") )
+ if ( url.hasExtension("x-mech") )
mMech = url.extension( "x-mech", critical );
if ( url.hasExtension("x-realm") )
mRealm = url.extension( "x-realm", critical );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic