Skip to content

Commit d30402f

Browse files
committed
README apparmor trick
1 parent 379c7f5 commit d30402f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ pip install slapd
1313
'dn:cn=manager,dc=slapd-test,dc=python-ldap,dc=org\n'
1414
>>> process.stop()
1515
```
16+
17+
# Troubleshouting
18+
19+
On distributions like Ubuntu, apparmor may restrict *slapd* to access some files that
20+
*python-slapd* has generated. This situation can be solved by passing slapd in complain mode:
21+
22+
```bash
23+
sudo apt install --yes apparmor-utils
24+
sudo aa-complain /usr/sbin/slapd
25+
```

0 commit comments

Comments
 (0)