From fea2ed5b796a41e9146b3d1581138acff6a399ee Mon Sep 17 00:00:00 2001 From: xeoneox Date: Tue, 19 Nov 2024 16:01:30 -0500 Subject: [PATCH] example_configs: Add onedev --- README.md | 1 + example_configs/onedev.md | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 example_configs/onedev.md diff --git a/README.md b/README.md index bb45d72..3e2ca65 100644 --- a/README.md +++ b/README.md @@ -606,6 +606,7 @@ folder for help with: - [Nextcloud](example_configs/nextcloud.md) - [Nexus](example_configs/nexus.md) - [OCIS (OwnCloud Infinite Scale)](example_configs/ocis.md) +- [OneDev](example_configs/onedev.md) - [Organizr](example_configs/Organizr.md) - [Portainer](example_configs/portainer.md) - [PowerDNS Admin](example_configs/powerdns_admin.md) diff --git a/example_configs/onedev.md b/example_configs/onedev.md new file mode 100644 index 0000000..cb1291c --- /dev/null +++ b/example_configs/onedev.md @@ -0,0 +1,23 @@ +# Configuration for Onedev +In Onedev, go to `Administration > Authentication Sources` and click `External Authentication` +Select `Generic LDAP` + +* LDAP URL: Your lldap server's ip/hostname +* Authentication Required: On +* 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 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 Name Attribute: cn +* Create User As Guest: Off +* Default Group: "No Default Group" +* Timeout: 300 + +Replace every instance of `dc=example,dc=com` with your configured domain. + +After applying the above settings, users should be able to log in with their user name.