docs: unify representation of dn=token (#1264)

This commit is contained in:
Jan Christoph Ebersbach 2022-12-15 22:41:30 +01:00 committed by GitHub
parent 8ad5bab7fa
commit 6f3f166904
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,9 +118,9 @@ If you have [issued api tokens for a service account](../accounts_and_groups.htm
they can be used to gain extended read permissions for those service accounts.
Api tokens can also be used to gain extended search permissions with LDAP. To do this you can bind
with a dn of "dn=token" and provide the api token in the password.
with a dn of `dn=token` and provide the api token in the password.
> **NOTE** The 'dn=token' keyword is guaranteed to not be used by any other entry, which is why it was chosen as the keyword to initiate api token binds.
> **NOTE** The `dn=token` keyword is guaranteed to not be used by any other entry, which is why it was chosen as the keyword to initiate api token binds.
```shell
ldapwhoami -H ldaps://URL -x -D "dn=token" -w "TOKEN"