From c320fa9da6e6b8a19680e457f121d01ae588128b Mon Sep 17 00:00:00 2001 From: kakwa Date: Thu, 16 Jun 2016 09:23:56 +0200 Subject: [PATCH] fix default configuration --- conf/attributes.yml | 10 +++++++--- conf/ldapcherry.ini | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/conf/attributes.yml b/conf/attributes.yml index 393d061..a53d549 100644 --- a/conf/attributes.yml +++ b/conf/attributes.yml @@ -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" @@ -56,6 +56,8 @@ uid: args: - $first-name - $name + - '10000' + - '40000' backends: ldap: uid # ad: sAMAccountName @@ -69,6 +71,8 @@ uidNumber: args: - $first-name - $name + - '10000' + - '40000' backends: ldap: uidNumber # ad: UIDNumber @@ -93,7 +97,7 @@ shell: - /bin/sh backends: ldap: loginShell -# ad: LOGINSHEL +# ad: loginShell home: description: "Home user path" display_name: "Home" @@ -116,7 +120,7 @@ password: type: password backends: ldap: userPassword -# ad: PASSWORD +# ad: userPassword #logscript: # description: "Windows login script" diff --git a/conf/ldapcherry.ini b/conf/ldapcherry.ini index f6ff0f7..a661b72 100644 --- a/conf/ldapcherry.ini +++ b/conf/ldapcherry.ini @@ -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