On 2026-09-03, Gustavo Rios <[email protected]> wrote:
> --000000000000d3a70e065a946ba5
> Content-Type: text/plain; charset="UTF-8"
>
> Hi folks, Good morning.
>
> I am installing and configuring OpenLDAP to be used by ypldap. How is
> supplementary groups define within ypldap+openldap ?

This depends how you configured it in ypldap.conf.

The sample in /etc/examples/ypldap.conf looks like this:

        # group maps configuration (RFC 2307 posixGroup object class)
        group filter "(objectClass=posixGroup)"

        attribute groupname maps to "cn"
        fixed attribute grouppasswd "*"
        attribute groupgid maps to "gidNumber"
        # memberUid returns multiple group members
        list groupmembers maps to "memberUid"

this looks for a group object with
(&(cn=<groupname>)(objectClass=posixGroup)) and picks up the numeric
gid from "groupgid: <groupnumber>" and members from multiple memberUid
attributes.

Otherwise see how you configured it.

-- 
Please keep replies on the mailing list.

Reply via email to