Created
June 21, 2021 10:14
-
-
Save ralvares/c526816c404d605b28b821658e66fee7 to your computer and use it in GitHub Desktop.
LdapSyncConfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kind: LDAPSyncConfig | |
| apiVersion: v1 | |
| url: ldap://ldap.local | |
| augmentedActiveDirectory: | |
| groupsQuery: | |
| derefAliases: never | |
| pageSize: 0 | |
| groupUIDAttribute: dn | |
| groupNameAttributes: [ cn ] | |
| usersQuery: | |
| baseDN: "OU=Groups,DC=ldap,DC=local" | |
| scope: sub | |
| derefAliases: never | |
| filter: (objectclass=person) | |
| pageSize: 0 | |
| userNameAttributes: [ sAMAccountName ] | |
| groupMembershipAttributes: [ "memberOf:1.2.840.113556.1.4.1941:" ] | |
| oc adm groups sync 'CN=Developers,OU=Groups,DC=ldap,DC=local' --sync-config=ldapsync.yaml --confirm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment