example_configs: add search filter in onedev configuration

This commit is contained in:
xeoneox 2024-12-07 01:17:52 -05:00 committed by GitHub
parent 3895a5050d
commit 928faa4bcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,12 +6,13 @@ In Onedev, go to `Administration > External Authentication Source > Authenticato
* Manager DN: `uid=admin,ou=people,dc=example,dc=com`
* Manager Password: Your bind user's password
* User Search Base: `ou=people,dc=example,dc=com`
* User Search Filter: `(&(uid={0})(objectclass=person))`
* User Full Name Attribute: `displayName`
* Email Attribute: mail
* User SSH Key Attribute: (Leave Blank)
* Group Retrieval: "Search Groups Using Filter"
* Group Search Base: `ou=groups,dc=example,dc=com`
* Group Search Filter" `(&(uniqueMember={0})(objectclass=groupOfUniqueNames))`
* Group Search Filter: `(&(uniqueMember={0})(objectclass=groupOfUniqueNames))`
* Group Name Attribute: cn
* Create User As Guest: Off
* Default Group: "No Default Group"