From: cajus Date: Fri, 7 Aug 2009 07:39:28 +0000 (+0000) Subject: Added dummy autocompleter X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bb54cf17425265c9f565d02829eeea9bcf62ff37;p=gosa.git Added dummy autocompleter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13991 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }