Hi All,
May I first say that this is a fantastic open source I have ever
tried!
I just need to ask a question if someone can answer please.
Can you please help?
====
I am trying to set up a directory with ldap. I set up
ldap_services.php page with following info:
On config.gen.inc.php file:
$email_ending = "@
foed.auckland.ac.nz";
on ldap_services.php file:
define("SERVER", "ldap");
define("DN","ou=Staff,DC=FOED,DC=AUCKLAND,DC=AC,DC=NZ");
But I am getting a following error:
Warning: ldap_get_entries() expects parameter 2 to be resource,
boolean given in /Applications/XAMPP/xamppfiles/htdocs/Mobile-Web/lib/
ldap_services.php on line 142
Warning: strpos() expects parameter 1 to be string, array given in /
Applications/XAMPP/xamppfiles/htdocs/Mobile-Web/lib/ldap_services.php
on line 68
Warning: ldap_get_entries() expects parameter 2 to be resource,
boolean given in /Applications/XAMPP/xamppfiles/htdocs/Mobile-Web/lib/
ldap_services.php on line 142
**
Line 142: $entries = ldap_get_entries($ds, $sr) or ldap_die("could
not get entries");
Line 68: if(strpos($words, '@') === False) {