Vishaal,

If memory servers me correctly there was a bug in the code for which I
submitted a bug report for (http://www.sogo.nu/bugs/view.php?id=1816).

Also have a look at
http://www.sogo.nu/nc/support/faq/article/how-are-groups-handled-in-sogo-2.html
to ensure you have all the required objectClasses and attributes.

-Ron

>
> Hi,
>
>    I'm trying to configure the SOGoUserSources array to properly use
>    our LDAP RFC2307 based server.
>    my question  is very similar to Ronald J. Yacketta's problem
>    (https://inverse.ca/sogo/lists/arc/users/2012-05/msg00197.html).
>
>    When I add a group to an event, ONLY the memberuid of the ldap group
>    entry were added. But I'd expected that the other entries with the
>    same the same gidNumber are added too.
>
>    However the rest goes well: the mail of the memberuid was find and
>    added to the event.
>
>    My config:
>
> sogod SOGoUserSources '(
>     {
>     CNFieldName = cn;
>     IDFieldName = uid;
>     IMAPLoginFieldName = uid;
>     MailFieldNames = (
>         mail,
>         maildrop,
>         mailAlternateAddress,
>         UpeMail
>       );
>     ModulesConstraints = {
>          Calendar = {
>        gidNumber = 150;
>       };
>      };
>      UIDFieldName = uid;
>      baseDN = "ou=Users,ou=Personnel,dc=domain,dc=fr";
>      bindAsCurrentUser = YES;
>      canAuthenticate = YES;
>      displayName = "Annuaire LDAP ADM";
>      hostname = localhost;
>      id = ldapadm;
>      isAddressBook = YES;
>      port = 389;
>      scope = ONE;
>      type = ldap;
>     },
>     {
>     CNFieldName = cn;
>     IDFieldName = cn;
>     SOGoLDAPContactInfoAttribute = description;
>     UIDFieldName = cn;
>     baseDN = "ou=Groups,ou=Personnel,dc=domain,dc=fr";
>     canAuthenticate = YES;
>     displayName = "Annuaire LDAP ADM Groupes";
>     hostname = localhost;
>     id = "ldapadm-groupes";
>     isAddressBook = YES;
>     port = 389;
>     scope = ONE;
>     type = ldap;
>     }
> )'
>
> #SCO-CRINF Group
> dn: cn=sco-crinf,ou=Groups,ou=Personnel,dc=domain,dc=fr
> objectClass: top
> objectClass: posixGroup
> objectClass: qmailUser
> cn: sco-crinf
> gidNumber: 150
> memberUid: foo
> memberUid: bar
> memberUid: baz
> description: Centre de Ressources Informatiques
> mail: [email protected]
>
> #SCO-CRINF User
> dn: uid=qux,ou=Users,ou=Personnel,dc=domain,dc=fr
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> uid: qux
> uidNumber: 1000
> gidNumber: 150
> cn: qux
> sn: quux
> homeDirectory: /home/sco-crinf/qux
> loginShell: /bin/false
>
> --
>
> ------------------------------------------------------------------------------
> Vishaal Golam - Centre de Ressources Informatiques
> Université Paris-Est - Marne-la-Vallée
> Cité Descartes - 5,bld Descartes-Champs-sur-Marne-77454 Marne-la-Vallée
> Cedex2
> Tél : +33 (0)1 60 95 74 55  Fax : 74 60  E-mail
> :Vishaal.Golam(at)univ-mlv.fr
> -------------------------------------------------------------------------------
> --
> [email protected]
> https://inverse.ca/sogo/lists
>

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to