Re: Enable memberOf

2016-09-18 Thread Michael Ströder
Elias Pereira wrote: > When I run: *ldapsearch -LL -Y EXTERNAL -H ldapi:/// "(uid=test1)" -b > dc=my,dc=company,dc=br memberOf* ^ Either this is supposed to be the search filter or the attribute list. In both cases it's wrong (see ldapsearch(1)). > only shows me: *

Re: Enable memberOf

2016-09-18 Thread Elias Pereira
Thanks for the answer Michael!!! My slapd.conf in attach. I followed precisely the tip that you gave me at the link below: http://www.openldap.org/doc/admin24/overlays.html#Reverse%20Group%20Membership%20Maintenance When I run: *ldapsearch -LL -Y EXTERNAL -H ldapi:/// "(uid=test1)" -b dc=my,dc=c

Re: Enable memberOf

2016-09-18 Thread Elias Pereira
Thanks for the answers guys!! For a new group that I create, memberof is set automatically, ok? But the groups that I already have on my base. How would I do to "enable" the memberof option? Ldap accou manager maybe do that? On Fri, Sep 16, 2016 at 5:39 PM, Michael Ströder wrote: > Elias Perei

Re: Enable memberOf

2016-09-18 Thread Michael Ströder
Elias Pereira wrote: > For a new group that I create, memberof is set automatically, ok? slapo-memberof intercepts write operations to group entries and updates member entries at that time. Note that the member entry must exist of course for this to succeed. Also note that you have to run slapo-

Re: Enable memberOf

2016-09-16 Thread Michael Ströder
Elias Pereira wrote: > In our infra we using openldap in old style slapd.conf config to centralize > users, groups, etc. > > I like to know how I enable memberOf in openlap old style config? It's not that hard to find the docs: http://www.openldap.org/doc/admin24/overlays.html#Reverse%20Group%20

Re: Enable memberOf

2016-09-16 Thread Dieter Klünter
Am Fri, 16 Sep 2016 13:28:41 -0300 schrieb Elias Pereira : > Hello guys, > > In our infra we using openldap in old style slapd.conf config to > centralize users, groups, etc. > > I like to know how I enable memberOf in openlap old style config? First check whether slapo-memberof is a built-in m

Re: Enable memberof in static mode configuration

2016-03-12 Thread Michael Ströder
Elias Pereira wrote: > In all searches that I did, I found only how to make in the dynamic > configuration (cn=config). How do I enable the attribute in the old way > (slapd.conf)? Read the man page slapo-memberof(5): http://www.openldap.org/software/man.cgi?query=slapo-memberof Ciao, Michael.