Manual Search
ldapsearch -x -D "CN=xxx,OU=Service-Accounts,OU=DCS,DC=homeoffice,DC=example,DC=com" -W -H ldaps://ldaphost.example.com -b "ou=Users,dc=office,dc=example,DC=com" -s sub 'sAMAccountName=user1'
In master-config.yaml
identityProviders:
- name: "my_ldap_provider"
challenge: true
login: true
provider:
apiVersion: v1
kind: LDAPPasswordIdentityProvider
attributes:
id:
- dn
email:
- mail
name:
- cn
preferredUsername:
- uid
bindDN: "cn=directory manager"
bindPassword: "secret"
ca: my-ldap-ca-bundle.crt
insecure: false
url: "ldaps://ipa.example.com/cn=users,cn=accounts,dc=example,dc=com?uid"