General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] - Ldap Filter don't work


Chronological Thread 
  • From: Christian Mack < >
  • To:
  • Subject: Re: [SOGo] - Ldap Filter don't work
  • Date: Wed, 27 Feb 2013 11:05:29 +0100

Hello Dario Carbone


Am 2013-02-26 16:21, schrieb Dario Carbone:
> Il 26/02/2013 14:59, Christian Mack ha scritto:
>>
>> Am 2013-02-26 10:27, schrieb Dario Carbone:
>>> Here my .GNUstepDefaults :
>>>
>>> <dict>
>>> <key>CNFieldName</key>
>>> <string>cn</string>
>>> <key>IDFieldName</key>
>>> <string>uid</string>
>>> <key>MailFieldNames</key>
>>> <string>(mail,)</string>
>>> <key>SOGoLDAPQueryTimeout</key>
>>> <string>20</string>
>>> <key>UIDFieldName</key>
>>> <string>uid</string>
>>> <key>baseDN</key>
>>> <string>dc=primeur,dc=com</string>
>>> <key>bindFields</key>
>>> <array>
>>> <string>uid</string>
>>> </array>
>>> <key>canAuthenticate</key>
>>> <string>NO</string>
>>> <key>displayName</key>
>>> <string>Primeur Global</string>
>>> <key>filter</key>
>>> <string>
>>> (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')</string>
>>> <key>hostname</key>
>>> <string>192.168.20.115</string>
>>> <key>id</key>
>>> <string>Primeur_LDAP</string>
>>> <key>isAddressBook</key>
>>> <string>YES</string>
>>> <key>passwordPolicy</key>
>>> <string>NO</string>
>>> <key>port</key>
>>> <string>389</string>
>>> <key>scope</key>
>>> <string>SUB</string>
>>> <key>type</key>
>>> <string>ldap</string>
>>> </dict>
>>>
>>> I've created a group on OpenLDAP and addess some users, but on the slapd
>>> log i've undefined filter. see the log :
>>>
>>> ldapserver:/var/log # cat messages | grep conn=2843622
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from
>>> IP=192.168.20.115:43613 (IP=0.0.0.0:389)
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn=""
>>> method=128t
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97
>>> err=0 text=
>>> Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH
>>> base="dc=primeur,dc=com" scope=2 deref=0 filter="(&(cn=*)(?=undefined))"*
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=*
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT
>>> tag=101 err=0 nentries=0 text=
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND
>>> Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed
>>>
>>> What's wrong ?
>>> The Address Book make me crazy!!!
>>>
>>
>> Do you mean this bug?
>> http://www.sogo.nu/bugs/view.php?id=2169
>>
>
> I don't think, because i do the auth on Active Directory and the users
> search on OpenLDAP to load the Address Book.
> But I think there is something in filter parsing, but I don't know how
> is the code/script to do this.
>

Could you provide an LDIF of an user in this group and an LDIF of your
group?


Kind regards,
Christian Mack

--
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz



Archive powered by MHonArc 2.6.18.

Top of page