update readme form
This commit is contained in:
parent
eb8756b615
commit
5f14f61b9f
@ -3,7 +3,7 @@
|
|||||||
Go Ldap API is an HTTP API to an LDAP backend.
|
Go Ldap API is an HTTP API to an LDAP backend.
|
||||||
Only supporting read at the moment, maybe one day it will write, and break LDAP backends with ease and joy!
|
Only supporting read at the moment, maybe one day it will write, and break LDAP backends with ease and joy!
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Start glapi with parameters on command line:
|
Start glapi with parameters on command line:
|
||||||
```
|
```
|
||||||
glapi -ldap-host ldap://ldap.example.org -ldap-base-dn dc=example,dc=org -ldap-user cn=yo,dc=example,dc=org -ldap-pass 'here_is_the_password'
|
glapi -ldap-host ldap://ldap.example.org -ldap-base-dn dc=example,dc=org -ldap-user cn=yo,dc=example,dc=org -ldap-pass 'here_is_the_password'
|
||||||
@ -14,7 +14,7 @@ or point it to a configuration file :
|
|||||||
glapi -config glapi.env
|
glapi -config glapi.env
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration file
|
## Configuration file
|
||||||
``̀`
|
``̀`
|
||||||
LISTEN="127.0.0.1:8080"
|
LISTEN="127.0.0.1:8080"
|
||||||
LDAP_HOST="ldap://ldap.example.org"
|
LDAP_HOST="ldap://ldap.example.org"
|
||||||
|
Loading…
Reference in New Issue
Block a user