Connect SOGo to Active Directory
To connect SOGo to Active Directory, you need on your .GNUstepDefaults file the configuration seen below (for Windows Server 2003 and Windows Server 2008). The capitalization (Users not users) is important.
The requirements:
your Active Directory server is servername
your Active Directory domain is domain.net
your domain user is sogo (or sogo@domain.net)
The Windows 2003 Active Directory is the version I have tried. The Windows 2008 Active Directory version is from the mail seen here http://www.sogo.nu/bugs/view.php?id=1937
For Windows 2003
<key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>cn</string> <key>UIDFieldName</key> <string>userPrincipalName</string> <key>baseDN</key> <string>CN=Users,DC=domain,DC=net</string> <key>bindDN</key> <string>CN=sogo,CN=Users,DC=domain,DC=net</string> <key>bindFields</key> <array> <string>sAMAccountName</string> <string>userPrincipalName</string> </array> <key>bindPassword</key> <string>secret_password</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>Active Directory</string> <key>hostname</key> <string>servername</string> <key>id</key> <string>directory</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> </dict> </array>
For Windows 2008
<key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>cn</string> <key>UIDFieldName</key> <string>userPrincipalName</string> <key>baseDN</key> <string>CN=Users,DC=server,DC=domain,DC=net</string> <key>bindDN</key> <string>CN=sogo,CN=Users,DC=server,DC=domain,DC=net</string> <key>bindFields</key> <array> <string>sAMAccountName</string> <string>userPrincipalName</string> </array> <key>bindPassword</key> <string>secret_password</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>Active Directory</string> <key>hostname</key> <string>servername</string> <key>id</key> <string>directory</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> </dict> </array>