From 6eca9338e7b3abea74029cd431ba9e5159811cd4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 8 Dec 2007 10:53:51 +0000 Subject: [PATCH] server -> server() --- lam/docs/devel/FAQ.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/docs/devel/FAQ.htm b/lam/docs/devel/FAQ.htm index 82ab6ea1..72cbacac 100644 --- a/lam/docs/devel/FAQ.htm +++ b/lam/docs/devel/FAQ.htm @@ -26,13 +26,13 @@ How can I make LDAP operations, where is the user name and password? A: LAM automatically reconnects to the LDAP server on every page load. You can -use $_SESSION['ldap']->server +use $_SESSION['ldap']->server() which is the LDAP server handle.
Be sure to include ldap.inc before (automatically included for account modules).

Example: ldap_search($_SESSION['ldap']->server$_SESSION['ldap']->server(), $suffix, $filter, $attributes)