From 17e8722a81f4d2104c147b2b91847dfd1020ef8b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 5 Mar 2003 16:05:23 +0000 Subject: [PATCH] ldap.php: initial release, just interface, no implementation config/*: minor changes --- lam/config/config.php | 2 ++ lam/config/conflogin.php | 2 +- lam/config/confmain.php | 2 +- lam/config/confsave.php | 2 +- lam/lib/ldap.php | 68 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 73 insertions(+), 3 deletions(-) create mode 100644 lam/lib/ldap.php diff --git a/lam/config/config.php b/lam/config/config.php index ba7ab036..273aab84 100644 --- a/lam/config/config.php +++ b/lam/config/config.php @@ -210,3 +210,5 @@ class Config { } } + +?> \ No newline at end of file diff --git a/lam/config/conflogin.php b/lam/config/conflogin.php index 05fe41ed..5ca52d6e 100644 --- a/lam/config/conflogin.php +++ b/lam/config/conflogin.php @@ -1,4 +1,4 @@ -conf = $config; + else { echo _("Ldap->Ldap failed!"); exit;} + } + + // returns an array of strings with the DN entries + // $base is optional and specifies the root from where to search for entries + function getUsers($base = "") { + } + + // returns an array of strings with the DN entries + // $base is optional and specifies the root from where to search for entries + function getGroups($base = "") { + } + + // returns an array of strings with the DN entries + // $base is optional and specifies the root from where to search for entries + function getMachines($base = "") { + } + + // connects to the server using the given username and password + // $base is optional and specifies the root from where to search for entries + function connect($user, $passwd) { + } + + // closes connection to server + // $base is optional and specifies the root from where to search for entries + function close() { + } + +} + + +?> +