[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: memberOf configured via directory based model



"Todd Reed" <treed@astate.edu> writes:

> I’ve been stumped for two weeks now trying to implement the memberOf Overlay via directory based
> model.  I even tried it via a slapd.con file and still had trouble.  Here is my installation steps on
> Ubuntu.  Is anyone able to spot where I’m going wrong with my configurations?
>
> ################
>
> # Setup OpenLDAP
>
> ################
>
> sudo apt-get -y install slapd ldap-utils
>
> cd /etc/ldap
>
> sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/cosine.ldif
>
> sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetorgperson.ldif
>
> sudo ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/nis.ldif
>
> sudo vi db.ldif
>
> # Load dynamic backend modules
>
> dn: cn=module{0},cn=config
>
> objectClass: olcModuleList
>
> cn: module {0}
>
> olcModulepath: /usr/lib/ldap
>
> olcModuleload: {0}back_hdb
>
> olcModuleload: {1}memberof.la
>
> # Create the database
[...]
You are misssing an entry
olcOverlay={0}memberof,olcDatabase={1}hdb,cn=config

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E