[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/libkdepim
From: Karl-Heinz Zimmer <khz () klaralvdalens-datakonsult ! se>
Date: 2004-09-09 20:05:54
Message-ID: 20040909200554.7ACE81773 () office ! kde ! org
[Download RAW message or body]
CVS commit by khz:
Fixing kolab bug 212 again: Detect kolab distribution lists.
M +4 -2 ldapclient.cpp 1.17
--- kdepim/libkdepim/ldapclient.cpp #1.16:1.17
@@ -217,5 +217,6 @@ void LdapClient::finishCurrentObject()
{
mCurrentObject.dn = d->ldif.dn();
- if( mCurrentObject.objectClass.lower() == "groupofnames" ){
+ const QString sClass( mCurrentObject.objectClass.lower() );
+ if( sClass == "groupofnames" || sClass == "kolabgroupofnames" ){
LdapAttrMap::ConstIterator it = mCurrentObject.attrs.find("mail");
if( it == mCurrentObject.attrs.end() ){
@@ -522,5 +523,6 @@ void LdapSearch::makeSearchData( QString
else if( it2.key() == "sn" )
sn = tmp;
- else if( it2.key() == "objectClass" && tmp == "groupOfNames" ) {
+ else if( it2.key() == "objectClass" &&
+ (tmp == "groupOfNames" || tmp == "kolabGroupOfNames") ) {
isDistributionList = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic