Thanks a lot! You have no ideia how much you helped me!
And i have another question: what you told me is about how subgroup are
retrieved. So, i have another question: How do i set a user to
supplementary group ? may you report a dn entry for the users on a given
group ?

Once more, thanks a lot.

Gustavo

Em qui., 3 de set. de 2026 às 12:56, Stuart Henderson <
[email protected]> escreveu:

> 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.
>
>

-- 
In software systems the price of reliability is the pursuit of the utmost
simplicity. It is a price which the very rich find most hard to pay.

Reply via email to