... | @@ -20,7 +20,7 @@ olcMemberOfMemberAD: member |
... | @@ -20,7 +20,7 @@ olcMemberOfMemberAD: member |
|
olcMemberOfMemberOfAD: memberOf
|
|
olcMemberOfMemberOfAD: memberOf
|
|
```
|
|
```
|
|
|
|
|
|
1. Create `refint1.ldif` file
|
|
2. Create `refint1.ldif` file
|
|
|
|
|
|
```ldif
|
|
```ldif
|
|
dn: cn=module{1},cn=config
|
|
dn: cn=module{1},cn=config
|
... | @@ -28,7 +28,7 @@ add: olcmoduleload |
... | @@ -28,7 +28,7 @@ add: olcmoduleload |
|
olcmoduleload: refint
|
|
olcmoduleload: refint
|
|
```
|
|
```
|
|
|
|
|
|
1. Create `refint2.ldi` file
|
|
3. Create `refint2.ldi` file
|
|
|
|
|
|
```ldif
|
|
```ldif
|
|
dn: olcOverlay={1}refint,olcDatabase={1}hdb,cn=config
|
|
dn: olcOverlay={1}refint,olcDatabase={1}hdb,cn=config
|
... | @@ -40,13 +40,13 @@ olcOverlay: {1}refint |
... | @@ -40,13 +40,13 @@ olcOverlay: {1}refint |
|
olcRefintAttribute: memberof member manager owner
|
|
olcRefintAttribute: memberof member manager owner
|
|
```
|
|
```
|
|
|
|
|
|
1. To set up the memberof module and configure it, run this command:
|
|
4. To set up the memberof module and configure it, run this command:
|
|
|
|
|
|
```
|
|
```
|
|
sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f memberof_config.ldif
|
|
sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f memberof_config.ldif
|
|
```
|
|
```
|
|
|
|
|
|
1. To load and configure the refint module
|
|
5. To load and configure the refint module
|
|
|
|
|
|
```
|
|
```
|
|
sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f /tmp/refint1.ldif
|
|
sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f /tmp/refint1.ldif
|
... | | ... | |