lldap/example_configs/onedev.md
xeoneox 64514ddfc6
Some checks are pending
Rust / pre_job (push) Waiting to run
Rust / cargo test (push) Blocked by required conditions
Rust / cargo clippy (push) Blocked by required conditions
Rust / cargo fmt (push) Blocked by required conditions
Rust / Code coverage (push) Blocked by required conditions
example_configs: expand url for OneDev config
fix capitalization and expound URL example
2024-11-21 10:01:24 +01:00

962 B

Configuration for OneDev

In Onedev, go to Administration > Authentication Sources and click External Authentication Select Generic LDAP

  • LDAP URL: ldap://lldap_ip_or_hostname:3890 or ldaps://lldap_ip_or_hostname:6360
  • 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.