Hi,

Could anyone show me a working ldap usersource using ModulesConstraints to hide (for example) the calendar?

Finalle managed to get the following in my config using "defaults write...", but it doesn't have any effect...

<key>SOGoUserSources</key>
  <array>
   <dict>
       <key>CNFieldName</key>
       <string>cn</string>
       <key>IDFieldName</key>
       <string>cn</string>
       <key>IMAPHostFieldName</key>
       <string>localhost</string>
       <key>ModulesConstraints</key>
       <string>{Calendar = { objectClass = nonExistingClass;};}</string>
       <key>UIDFieldName</key>
       <string>uid</string>
       <key>baseDN</key>
       <string>dc=example,dc=org</string>
       <key>bindFields</key>
       <string>uid</string>
       <key>canAuthenticate</key>
       <string>YES</string>
       <key>displayName</key>
       <string>Internal Addresses</string>
       <key>hostname</key>
       <string>servername</string>
       <key>id</key>
       <string>shared</string>
       <key>isAddressBook</key>
       <string>YES</string>
       <key>port</key>
       <string>389</string>
       <key>scope</key>
       <string>SUB</string>
   </dict>
  </array>
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to