Skip to content

Instantly share code, notes, and snippets.

@kincl
Created August 8, 2024 19:51
Show Gist options
  • Save kincl/0d4ceec7cbb9fafe5261acd4e268f367 to your computer and use it in GitHub Desktop.
Save kincl/0d4ceec7cbb9fafe5261acd4e268f367 to your computer and use it in GitHub Desktop.
LDAPSyncConfig
kind: LDAPSyncConfig
apiVersion: v1
url: ldap://ad.example.com:389
insecure: true
bindDN: cn=admin,dc=example,dc=com
bindPassword:
value: "password"
rfc2307:
groupsQuery:
baseDN: "ou=groups,dc=example,dc=com"
scope: sub
filter: "(objectclass=group)"
derefAliases: never
pageSize: 1000
groupUIDAttribute: distinguishedName
groupNameAttributes: [ cn ]
groupMembershipAttributes: [ member ]
usersQuery:
baseDN: "ou=users,dc=example,dc=com"
scope: sub
derefAliases: never
pageSize: 1000
filter: (objectClass=person)
userUIDAttribute: distinguishedName
userNameAttributes: [ sAMAccountName ]
tolerateMemberNotFoundErrors: false
tolerateMemberOutOfScopeErrors: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment