Skip to content

Commit

Permalink
fix default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kakwa committed Jun 16, 2016
1 parent 88002cf commit c320fa9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions conf/attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cn:
- $name
backends:
ldap: cn
# ad: CN
# ad: cn
first-name:
description: "First name of the user"
display_name: "First Name"
Expand Down Expand Up @@ -56,6 +56,8 @@ uid:
args:
- $first-name
- $name
- '10000'
- '40000'
backends:
ldap: uid
# ad: sAMAccountName
Expand All @@ -69,6 +71,8 @@ uidNumber:
args:
- $first-name
- $name
- '10000'
- '40000'
backends:
ldap: uidNumber
# ad: UIDNumber
Expand All @@ -93,7 +97,7 @@ shell:
- /bin/sh
backends:
ldap: loginShell
# ad: LOGINSHEL
# ad: loginShell
home:
description: "Home user path"
display_name: "Home"
Expand All @@ -116,7 +120,7 @@ password:
type: password
backends:
ldap: userPassword
# ad: PASSWORD
# ad: userPassword

#logscript:
# description: "Windows login script"
Expand Down
2 changes: 1 addition & 1 deletion conf/ldapcherry.ini
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ldap.dn_user_attr = 'uid'
## Name of the backend
#ad.module = 'ldapcherry.backend.backendAD'
## display name of the ldap
#ldap.display_name = 'My Active Directory'
#ad.display_name = 'My Active Directory'
## ad domain
#ad.domain = 'dc.ldapcherry.org'
## ad login
Expand Down

0 comments on commit c320fa9

Please sign in to comment.