Skip to content

Instantly share code, notes, and snippets.

@jaloren
Created March 21, 2017 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaloren/ec7b76feea980dd23d757c477680f751 to your computer and use it in GitHub Desktop.
Save jaloren/ec7b76feea980dd23d757c477680f751 to your computer and use it in GitHub Desktop.
kind: LDAPSyncConfig
apiVersion: v1
url: ldap://SERVER:389
insecure: true
rfc2307:
groupsQuery:
baseDN: "ou=Group,dc=acme,dc=com"
scope: sub
derefAliases: never
filter: (objectclass=posixGroup)
groupUIDAttribute: dn
groupNameAttributes: [ cn ]
groupMembershipAttributes: [ memberUid ]
usersQuery:
baseDN: "ou=People,dc=acme,dc=com"
scope: sub
derefAliases: never
filter: (objectclass=inetOrgPerson)
userUIDAttribute: dn
userNameAttributes: [ uid ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment