Remove outdated documentation

This commit is contained in:
crudo 2017-12-23 14:43:36 +01:00
parent c79d89c0b7
commit ce7369da06
3 changed files with 2 additions and 21 deletions

View File

@ -9,22 +9,3 @@ APIs for the Unit hacklab.
Requirements: Requirements:
* Python >= 3.4 * Python >= 3.4
Create a new virtualenv and run `pip install .` inside of it.
## LDAP client example
```
>>> from phi.config import get_config
>>> config_file, config = get_config()
>>> ldap_config = config['ldap']
>>>
>>> from phi.ldap.client import Client
>>> ldap_client = Client(**ldap_config)
>>> ldap_client.open()
>>>
>>> from phi.ldap.commands import whoami
>>> whoami(client)
>>>
>>> ldap_client.close()
```

View File

@ -49,13 +49,13 @@ Such commands require some environment variables to be set. The `make shell`
command will start a new shell with those variables already set. Currently command will start a new shell with those variables already set. Currently
only Zsh is supported. only Zsh is supported.
## Populate the server ## Populating the server
The `init.ldif` file that can be found in the `openldap` directory in the root The `init.ldif` file that can be found in the `openldap` directory in the root
of this repository contains a basic structure that can be imported to the 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. OpenLDAP directory server. Just run `make populate` from withing the same directory.
## Inspect the server ## Inspecting the server
Running the command `make inspect` from within the `openldap` directory in Running the command `make inspect` from within the `openldap` directory in
the root of this repository will show all the stored information in the the root of this repository will show all the stored information in the