Il 29/06/2012 16:33, Alessio Fattorini ha scritto:
Anyone knows the problem above? Is it a bug?
I have done some tests, contact name is zuffe Co., if i query address book by sogo i see this in
my ldap log and no results
@40004ff452e02f7106f4 conn=19 fd=23 ACCEPT from IP=127.0.0.1:34330
(IP=0.0.0.0:389)
@40004ff452e02f72d7cc conn=19 op=0 BIND dn= method=128
@40004ff452e02f74b074 conn=19 op=0 RESULT tag=97 err=0 text=
@40004ff452e02f7fb4c4 conn=19 op=1 SRCH base=dc=rubrica scope=2 deref=0
filter=(|(sn=zuff*)(displayName=zuff*)(telephoneNumber=zuff*)(mail=zuff*)(cn=zuff*))
@40004ff452e02f7fc07c conn=19 op=1 SRCH attr=*
@40004ff452e03327cd64 conn=19 op=1 SEARCH RESULT tag=101 err=0 nentries=1
text=
@40004ff452e0335cc7e4 conn=19 op=2 UNBIND
@40004ff452e0335fbdb4 conn=19 fd=23 closed
If create manually an LDAP address book (New - LDAP Address Book - dc=rubrica)
query works and i have this log:
@40004ff452d7011801a4 conn=18 fd=21 ACCEPT from IP=192.168.5.19:46073
(IP=0.0.0.0:389)
@40004ff452d701290904 conn=18 op=0 BIND dn= method=128
@40004ff452d701299d74 conn=18 op=0 RESULT tag=97 err=0 text=
@40004ff452d701cde424 conn=18 op=1 SRCH base=dc=rubrica scope=2 deref=0
filter=(|(mail=*zuff*)(cn=*zuff*)(givenName=*zuff*)(sn=*zuff*))
@40004ff452d701ce3a14 conn=18 op=1 SRCH attr=birthday o company mail mozillaHomeCountryName
mozillaUseHtmlMail xmozillausehtmlmail mozillaCustom2 custom2 ou department departmentnumber orgunit
mobile cellphone carphone telephoneNumber title mozillaCustom1 custom1 sn surname mozillaNickname
xmozillanickname mozillaWorkUrl workurl labeledURI facsimiletelephonenumber fax mozillaSecondEmail
xmozillasecondemail mozillaCustom4 custom4 nsAIMid nscpaimscreenname street streetaddress
postOfficeBox givenName l locality homePhone mozillaHomeUrl homeurl mozillaHomeStreet st region
mozillaHomePostalCode mozillaHomeLocalityName mozillaCustom3 custom3 mozillaWorkStreet2
mozillaHomeStreet2 postalCode zip birthmonth c countryname pager pagerphone mozillaHomeState
description notes birthyear modifytimestamp cn commonname objectClass
@40004ff452d702717724 conn=18 op=1 SEARCH RESULT tag=101 err=0 nentries=1
text=
The only differences are this two fields (displayName=zuff*) (givenName=*zuff*), Thunderbird query
on givenName and not display name.
But this fields have the same value on my ldap, infact if i query directly LDAP
server:
ldapsearch -x -b dc=rubrica displayName=zuff*
ldapsearch -x -b dc=rubrica givenName=*zuff*
I have the same results:
# Zuffe Co, rubrica
dn: cn=Zuffe Co,dc=rubrica
objectClass: inetOrgPerson
cn: Zuffe Co
sn: Zuffe Co
givenName: Zuffe Co
displayName: Zuffe Co
telephoneNumber: 01234567
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
Can anyone help me? :-(
--
Alessio Fattorini (alessio.fattor...@nethesis.it)
nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists