mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
719 B
29 lines
719 B
# This is an example of LDAP (BindDN) authentication |
|
# |
|
id = 101 |
|
type = ldap_bind_dn |
|
name = LDAP BindDN |
|
is_activated = true |
|
|
|
[config] |
|
host = mydomain.com |
|
port = 636 |
|
# 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS |
|
security_protocol = 0 |
|
skip_verify = false |
|
bind_dn = |
|
bind_password = |
|
user_base = ou=Users,dc=mydomain,dc=com |
|
attribute_username = |
|
attribute_name = |
|
attribute_surname = |
|
attribute_mail = mail |
|
attributes_in_bind = false |
|
filter = (&(objectClass=posixAccount)(cn=%s)) |
|
admin_filter = |
|
group_enabled = false |
|
group_dn = |
|
group_filter = |
|
group_member_uid = |
|
user_uid = |
|
|
|
|