Description | When user LDAP address book is enabled SOGo will use username , value of attribute UIDFieldName or UIDFieldName@domain if SOGoEnableDomainBasedUID is
enabled instead value of attribute set by IDFieldName to build address book DN.
Wrong address book DN will cause infinite loop when Contacts are accessed.
--- cut ---
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
UIDFieldName = mail;
IDFieldName = uid; // first field of the DN for direct binds
canAuthenticate = YES;
bindAsCurrentUser = YES;
baseDN = "ou=people,dc=example,dc=com";
bindDN = "uid=sogo,ou=service,dc=example,dc=com";
bindPassword= "secretpassword";
bindFields = ( mail );
displayName = "Global Addressbook";
hostname = "ldap://ldap-server:389/????!StartTLS";
id = public_users;
isAddressBook = YES;
passwordPolicy = YES;
abOU = "addressbook";
}
);
[...]
SOGoDebugRequests = YES;
SoDebugBaseURL = YES;
ImapDebugEnabled = YES;
LDAPDebugEnabled = YES;
PGDebugEnabled = YES;
SOGoUIxDebugEnabled = YES;
WODontZipResponse = YES;
--- cut ---
user DN = uid=exuser,ou=people,dc=example,dc=com
--- cut ---
ov 05 20:18:03 sogod [9]: 192.168.88.233, 10.42.0.126 "GET /SOGo/so/exuser@example.com/Contacts/addressbooksList HTTP/1.1" 200 19/0 0.023 - - 0 - 12
Nov 05 20:18:03 sogod [9]: |SOGo| starting method 'GET' on uri '/SOGo/so/exuser@example.com/Contacts/addressbooksList'
Nov 05 20:18:03 sogod [9]: <0x0x55f3bc141790[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldap://ldap-server:389/????!StartTLS
2024-11-05 20:18:03.945 sogod[9:9] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=addressbook,uid=exuser@example.com,ou=people,dc=example,dc=com' filter '(objectclass=)' for attrs ''
--- cut --- |
---|