Hello,
Could you tell me if you’re searching for a user in this address book, is there 
any result?
Also, could you add LDAPDebugEnabled = YES; to your sogo.conf (and restart sogo)

Quentin

 

From: users-requ...@sogo.nu <users-requ...@sogo.nu> On Behalf Of Eduardo Maia
Sent: mercredi 22 mai 2024 12:27
To: users@sogo.nu
Subject: [SOGo] AddressBook remains empty - Sogo v5.10.0

 

Hi,

I configured an AddressBook based on my OpenLDAP users, but with the new Sogo 
version 5.10.0 on Debian BookWorm, it’s not working. The AddressBook remains 
empty.” 

I tried with some nightly versions and a compiled version. The result was the 
same.

Note: The same configuration on Sogo 5.9.0 and Debian Buster works fine!

 

Configuration on my /etc/sogo/sogo.conf :

 SOGoUserSources =
                (
                    {
                        type = ldap;
                        CNFieldName = cn;
                        UIDFieldName = uid;
                        IDFieldName = uid; //first field of the DN for direct 
binds
                        bindFields = (uid, mail); //array of fields to use for 
indirect binds
                        baseDN = "ou=Users,dc=demo222,dc=pt";
                        bindDN = "cn=reader,dc=demo222,dc=pt";
                        bindPassword = "385831e5962a9d6516971c8f6a08d65d";
                        canAuthenticate = YES;
                        displayName = "Users" ;
                        hostname =  <ldap://127.0.0.1:389> 
"ldap://127.0.0.1:389";;
                        id = "colaboradores";
                        isAddressBook = YES;
                        listRequiresDot = NO;
                        SOGoSearchMinimumWordLength = 3;
                    }

        );

 

 

Extract from /var/log/sogo/sogo.log (with debug enabled):

 

May 22 11:10:15 sogod [105042]: |SOGo| starting method 'POST' on uri 
'/SOGo/so/emaia/Contacts/colaboradores/view'
May 22 11:10:15 sogod [105042]: |SOGo| traverse(acquire): emaia => Contacts => 
colaboradores => view
May 22 11:10:15 sogod [105042]: |SOGo|   do traverse name: 'emaia'
May 22 11:10:15 sogod [105042]: |SOGo|   do traverse name: 'Contacts'
May 22 11:10:15 sogod [105042]: |SOGo|   do traverse name: 'colaboradores'
2024-05-22 11:10:15.173 sogod[105042:105042] PG0x0x5556926d4390 SQL: SELECT 
c_path4 FROM sogo_folder_info WHERE c_path2 = 'emaia' AND c_folder_type = 
'Contact'
2024-05-22 11:10:15.176 sogod[105042:105042] PG0x0x5556926d4390 SQL: SELECT 
c_path4 FROM sogo_folder_info WHERE c_path2 = 'emaia' AND c_folder_type = 
'Contact'
May 22 11:10:15 sogod [105042]: |SOGo|   do traverse name: 'view'
May 22 11:10:15 sogod [105042]: |SOGo| set clientObject: 
<0x555692a31250[SOGoContactSourceFolder]: name=colaboradores 
container=0x555692a79d10/Contacts>
May 22 11:10:15 sogod [105042]: |SOGo| request took 0.010682 seconds to execute
May 22 11:10:15 sogod [105042]: <0x0x555692a57ff0[WOResponse]> Zipping of 
response disabled
May 22 11:10:15 sogod [105042]: 10.200.140.53 "POST 
/SOGo/so/emaia/Contacts/colaboradores/view HTTP/1.1" 200 74/46 0.013 - - 0 - 12

 

Anyone could help ?

 

Thanks in advance!

-- 


Eduardo Maia
IPBrick IDI 

 <https://www.ipbrick.com/> 


Av. da França, 821 
4250-214 Porto
Portugal 

TEL: +351 220 126 921
TLM: +351 933 568 871
FAX: +351 225 189 722
UCoIP:  <mailto:em...@ipbrick.com> em...@ipbrick.com 


 <https://www.ipbrick.com/> www.ipbrick.com
 <https://www.youtube.com/ipbricksa> www.youtube.com/ipbricksa 

 <http://emaia.ipbrick.com/>  
<http://www.facebook.com/pages/IPBrick/263923950988/>  
<http://twitter.com/IPBrick/>  
<https://www.linkedin.com/company/ipbrick-international>  
<https://www.instagram.com/ipbricksa> 

 

Reply via email to