... | ... | @@ -236,6 +236,26 @@ Save the file and exit the editor. `ldapvi` will prompt you to confirm |
|
|
the changes, you can review with the <kbd>v</kbd> key or save with
|
|
|
<kbd>y</kbd>.
|
|
|
|
|
|
### Adding/removing an admin
|
|
|
|
|
|
The LDAP administrator group is a special group that is not defined
|
|
|
through the `supplementaryGid` field, but by adding users into the
|
|
|
group itself. With `ldapvi` (see above), you need to add a `member:`
|
|
|
line, for example:
|
|
|
|
|
|
```
|
|
|
2 cn=LDAP Administrator,ou=users,dc=torproject,dc=org
|
|
|
objectClass: top
|
|
|
objectClass: groupOfNames
|
|
|
cn: LDAP administrator
|
|
|
member: uid=anarcat,ou=users,dc=torproject,dc=org
|
|
|
```
|
|
|
|
|
|
To remove the user from the admin group, remove the line.
|
|
|
|
|
|
The group grants the user access to administer LDAP directly, for
|
|
|
example making any change through `ldapvi`.
|
|
|
|
|
|
## Searching LDAP
|
|
|
|
|
|
This will load a text editor with a dump of all the users (useful to
|
... | ... | |