aboutsummaryrefslogtreecommitdiff
path: root/conf/auth.d/ldap_simple_auth.conf.example
blob: 5e50a74c57a30071dca6a6d9c51b94e70e2d2b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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           =