openldap/README.md updated.
This commit is contained in:
parent
9413293578
commit
871ba1e43b
|
@ -32,7 +32,7 @@ built docker image.
|
||||||
## Running the container image
|
## Running the container image
|
||||||
|
|
||||||
Just run `make run`. This will start an OpenLDAP daemon bound to `127.0.0.1`
|
Just run `make run`. This will start an OpenLDAP daemon bound to `127.0.0.1`
|
||||||
on port `389`.
|
on port `389`. It will also preload the content of `init.ldif`.
|
||||||
|
|
||||||
The root user DN is `cn=root,dn=unit,dc=macaomilano,dc=org` and its password
|
The root user DN is `cn=root,dn=unit,dc=macaomilano,dc=org` and its password
|
||||||
is `root`.
|
is `root`.
|
||||||
|
@ -45,18 +45,16 @@ running docker instance..
|
||||||
In order to operate LDAP commands you need the `ldapsearch` and `ldapmodify`
|
In order to operate LDAP commands you need the `ldapsearch` and `ldapmodify`
|
||||||
binaries.
|
binaries.
|
||||||
|
|
||||||
Such commands require some environment variables to be set. The `make shell`
|
There are two targets:
|
||||||
command will start a new shell with those variables already set. Currently
|
|
||||||
only Zsh is supported.
|
|
||||||
|
|
||||||
## Populating the server
|
```
|
||||||
|
$ make prepare
|
||||||
|
```
|
||||||
|
|
||||||
The `init.ldif` file that can be found in the `openldap` directory in the root
|
will run the container in background and load into the ldap the content of `init.ldif`.
|
||||||
of this repository contains a basic structure that can be imported to the
|
|
||||||
OpenLDAP directory server. Just run `make populate` from withing the same directory.
|
|
||||||
|
|
||||||
## Inspecting the server
|
```
|
||||||
|
$ make inspect
|
||||||
|
```
|
||||||
|
|
||||||
Running the command `make inspect` from within the `openldap` directory in
|
will display the content of the ldap db.
|
||||||
the root of this repository will show all the stored information in the
|
|
||||||
OpenLDAP directory server.
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user