Skip to content

Commit a7d9bbb

Browse files
committed
Readme
1 parent 6fb9fa5 commit a7d9bbb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# python-slapd
2-
Control a slapd process in a pythonic way
2+
Controls your OpenLDAP process in a pythonic way. Install with `pip install slapd`.
3+
4+
5+
```python
6+
>>> import slapd
7+
>>> process = slapd.Slapd()
8+
>>> process.start()
9+
>>> process.ldapwhoami().stdout.decode("utf-8")
10+
'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\n'
11+
>>> process.stop()
12+
```

0 commit comments

Comments
 (0)