Update README.md

This commit is contained in:
Marisa 2025-09-28 13:51:32 -04:00
parent 534d178291
commit 59dbeea651

View File

@ -318,6 +318,16 @@ If successful, the output will show the modified entry.
## _Password schemas_
Since no policy overlay exists (more on this later), we need to create our own.\
\
Check adding one of the core schemas that comes with LDAP.
```
root@example:/# ldapadd -Q -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/corba.ldif
adding new entry "cn=corba,cn=schema,cn=config"
```
Notice we are using the -Q and -Y EXTERNAL parameters, instead of our usual -x, meaning SASL EXTERNAL authentication.
If we get a result different from the showed up here, we won't be able to implement any schemas or ACLs, and we should check the dockerfile first, and second the commands we used to run the container as well that we started slapd with the specified parameters before.
<!--ldappasswd -H ldap://server_domain_or_IP -x -D "cn=admin,dc=example,dc=com" -W -S "uid=bob,ou=people,dc=example,dc=com"-->