ContainerImage.Pinniped/hack/ldapsearch/README.md
2023-08-03 16:12:46 -05:00

20 lines
431 B
Markdown

# ldapsearch.sh
Translate your `LDAPIdentityProvider` into `ldapsearch` queries for debugging purposes.
Usage
```shell
kubectl get ldapidentityprovider <name> \
--namespace=<namespace> \
--output=yaml | ./hack/ldapsearch/ldapsearch.sh
```
Add `--debug` for some additional output.
```shell
kubectl get ldapidentityprovider <name> \
--namespace=<namespace> \
--output=yaml | ./hack/ldapsearch/ldapsearch.sh --debug
```