/
githubmirror
/
gogs
Обзор
Документация
Войти
/
githubmirror
/
gogs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
conf/auth.d/ldap_simple_auth.conf.example
29 строк
761 B
Unknwon
auth: support authentication source config file (#3142)
12 апр 2018, 16:55
Не верифицирован
12 апр 2018, 16:55
f2ecfdc
Код
Авторство
О чём код?
# This is an example of LDAP (simple auth) authentication # id = 102 type = ldap_simple_auth name = LDAP Simple Auth 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 = user_dn = cn=%s,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 =