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)