Update README.md
This commit is contained in:
parent
ae72effbbd
commit
f088d44e63
14
README.md
14
README.md
@ -10,7 +10,7 @@ build ldapdock
|
|||||||
> docker build -t ldapdock /path/to/dockerfile
|
> docker build -t ldapdock /path/to/dockerfile
|
||||||
```
|
```
|
||||||
|
|
||||||
after build, check the docker image has been created properly with the given REPOSITORY name __*__
|
__*__ after build, check the docker image has been created properly with the given REPOSITORY name
|
||||||
```
|
```
|
||||||
> docker images
|
> docker images
|
||||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||||
@ -30,7 +30,7 @@ start the openLDAP daemon server
|
|||||||
* Starting OpenLDAP slapd [ OK ]
|
* Starting OpenLDAP slapd [ OK ]
|
||||||
```
|
```
|
||||||
|
|
||||||
edit base configuration of openLDAP server __*__
|
__*__ edit base configuration of openLDAP server
|
||||||
```
|
```
|
||||||
> vim /etc/ldap/ldap.conf
|
> vim /etc/ldap/ldap.conf
|
||||||
```
|
```
|
||||||
@ -43,6 +43,16 @@ Re-enter new password:
|
|||||||
{SSHA}hashpwd
|
{SSHA}hashpwd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
__*__ checkout the root DN configuration, the oldRootDN that we will setup later
|
||||||
|
```
|
||||||
|
> ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config "(olcRootDN=*)" olcRootDN
|
||||||
|
dn: olcDatabase={0}config,cn=config
|
||||||
|
olcRootDN: cn=admin,cn=config
|
||||||
|
|
||||||
|
dn: olcDatabase={1}mdb,cn=config
|
||||||
|
olcRootDN: cn=admin,dc=example,dc=com
|
||||||
|
```
|
||||||
|
|
||||||
### _Base administrative Tasks for openLDAP_
|
### _Base administrative Tasks for openLDAP_
|
||||||
|
|
||||||
create a file setting up our default root DN and our *hostname* **(change *dc=example,dc=com* as needed)**
|
create a file setting up our default root DN and our *hostname* **(change *dc=example,dc=com* as needed)**
|
||||||
|
Loading…
Reference in New Issue
Block a user