From 24eadec61eb082d668603dacce63fbe3375678f0 Mon Sep 17 00:00:00 2001 From: katagia Date: Wed, 23 Apr 2003 20:33:56 +0000 Subject: [PATCH] modfied include-lines to new location of files --- lam/config/lam.conf | 11 ++++++----- lam/templates/account.php | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lam/config/lam.conf b/lam/config/lam.conf index 85b5279c..1dc83f2b 100644 --- a/lam/config/lam.conf +++ b/lam/config/lam.conf @@ -6,22 +6,23 @@ serverURL: ldap://localhost:389 # list of users who are allowed to use LDAP Account Manager # names have to be seperated by semicolons # e.g. admins: cn=admin,dc=yourdomain,dc=org;cn=root,dc=yourdomain,dc=org -admins: cn=admin,o=test,c=de;uid=testuser,o=test,c=de;cn=Manager,dc=home,dc=duergner +admins: cn=Manager,dc=my-domain,dc=com + # password to change these preferences via webfrontend passwd: lam # suffix of users # e.g. ou=People,dc=yourdomain,dc=org -usersuffix: o=test,c=de +usersuffix: ou=people,dc=my-domain,dc=com # suffix of groups # e.g. ou=Groups,dc=yourdomain,dc=org -groupsuffix: ou=group,o=test,c=de +groupsuffix: ou=groups,dc=my-domain,dc=com # suffix of Samba hosts # e.g. ou=machines,dc=yourdomain,dc=org -hostsuffix: o=test,c=de +hostsuffix: ou=machines,dc=my-domain,dc=com # minimum and maximum UID numbers minUID: 10000 @@ -57,4 +58,4 @@ grouplistAttributes: #cn;#gidNumber;#memberUID;#description # entries can either be predefined values (e.g. '#cn' or '#uid') # or individual ones (e.g. 'cn:Host Name') # values have to be seperated by semicolons -hostlistAttributes: #cn;#rid;#description +hostlistAttributes: #cn;#rid;#description;gidNumber:GID diff --git a/lam/templates/account.php b/lam/templates/account.php index c25faa6a..4bb84d76 100644 --- a/lam/templates/account.php +++ b/lam/templates/account.php @@ -24,8 +24,8 @@ $Id$ */ include('../lib/account.inc'); // File with custom functions -include('../config/config.php'); -include('../lib/ldap.php'); +include('../lib/config.inc'); +include('../lib/ldap.inc'); registervars(); // Register all needed variables in session and register session $error = "0";