From bb54cf17425265c9f565d02829eeea9bcf62ff37 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 7 Aug 2009 07:39:28 +0000 Subject: [PATCH] Added dummy autocompleter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13991 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/autocomplete.php | 54 +++++++++++++++++++++++++++++++++ gosa-core/html/getFAIstatus.php | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 gosa-core/html/autocomplete.php diff --git a/gosa-core/html/autocomplete.php b/gosa-core/html/autocomplete.php new file mode 100644 index 000000000..b88b89bee --- /dev/null +++ b/gosa-core/html/autocomplete.php @@ -0,0 +1,54 @@ +get_ldap_link(); + $ldap->cd($config->current['BASE']); + $n= normalizeLDAP($_POST['NAME']); + $res= $ldap->search ("(&(objectClass=gosaAccount)(cn=*$n*)(givenName=*$n*)(sn=*$n*)(uid=*$n*))", array("cn")); + + echo ''; +} + + +?> diff --git a/gosa-core/html/getFAIstatus.php b/gosa-core/html/getFAIstatus.php index 42d67404a..c0b6ec2f0 100644 --- a/gosa-core/html/getFAIstatus.php +++ b/gosa-core/html/getFAIstatus.php @@ -29,7 +29,7 @@ session::global_set('errorsAlreadyPosted',array()); /* Logged in? Simple security check */ if (!session::global_is_set('ui')){ - new log("security","unknown","",array(),"Error: getbin.php called without session") ; + new log("security","unknown","",array(),"Error: getFAIstatus.php called without session") ; header ("Location: index.php"); exit; } -- 2.30.2