Hi All!

My installation of SOGo uses LDAP database as user source and as an address book. When I want to list users from address book, I can see only their names ( "cn" field in LDAP ), but I can not see there email addresses. Mail addresses are stored in "mailBox" field in LDAP.

According to the documentation, I used the MailFieldNames option, to set what field returns the user's email address:

<key>MailFieldNames</key>
<array>
<string>mailBox</string>
</array>

But nothing has changed. I still can't see user emails in the address book.
Please help. My full  SOGo configuration is in the attachment


Thanks in advance.

Best regards!
--
[email protected]
https://inverse.ca/sogo/lists
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
	<key>OCSFolderInfoURL</key>
	<string>mysql://sogo:pass@localhost:3306/sogo/sogo_folder_info</string>
	<key>OCSSessionsFolderURL</key>
	<string>mysql://sogo:pass@localhost:3306/sogo/sogo_sessions_folder</string>
	<key>SOGoDayEndTime</key>
	<string>19</string>
	<key>SOGoFirstDayOFWeek</key>
	<string>1</string>
	<key>SOGoLanguage</key>
	<string>English</string>
	<key>SOGoLoginModule</key>
	<string>Calendar</string>
	<key>SOGoMailDomain</key>
	<string>itcohu.local</string>
	<key>SOGoMailMessageCheck</key>
	<string>every_2_minutes</string>
	<key>SOGoProfileURL</key>
	<string>mysql://sogo:pass@localhost:3306/sogo/sogo_user_profile</string>
	<key>SOGoTimeZone</key>
	<string>Europe/Moscow</string>
	<key>SOGoUserSources</key>
	<array>
	    <dict>
		<key>CNFieldName</key>
		<string>cn</string>
		<key>IDFieldName</key>
		<string>uid</string>
		<key>IMAPHostFieldName</key>
		<string>mailHost</string>
		<key>UIDFieldName</key>
		<string>uid</string>
		<key>MailFieldNames</key>
		<array>
			<string>mailBox</string>
		</array>
		<key>baseDN</key>
		<string>ou=People,dc=itochu,dc=local</string>
		<key>bindDN</key>
		<string>cn=admin,dc=itochu,dc=local</string>
		<key>bindPassword</key>
		<string>pass</string>
		<key>canAuthenticate</key>
		<string>YES</string>
		<key>displayName</key>
		<string>Itochu Addresses</string>
		<key>hostname</key>
		<string>localhost</string>
		<key>id</key>
		<string>public</string>
		<key>isAddressBook</key>
		<string>YES</string>
		<key>port</key>
		<string>389</string>
		<key>type</key>
		<string>ldap</string>
	    </dict>
	</array>
    </dict>
</dict>
</plist>

Reply via email to