Mailing List Archive

Davical1.1.1-1: Couldn't contact LDAP server for authentication
Hi all,


I want to install al CalDAV-Server for our company.
I am using a fresh Debian 7.7 with the Debian default PostgreSQL, Apache
und Davical. With the default admin user I am able to log in.
So far, so good.

Now I want to connect the Davical to our central LDAP-Server.
My config looks like:

-----------------------------------------------------------------
<?php
$c->domain_name = "cal.company.de";
$c->sysabbr = 'DAViCal';
$c->admin_email = 'admin@company.de';
$c->system_name = "company Calendar Server";
$c->pg_connect[] = 'dbname=davical port=5432 user=davical_app';
$c->default_locale = 'de_DE';
$c->dbg["ALL"] = 1;

$c->authenticate_hook['call'] = 'LDAP_check';
$c->authenticate_hook['config'] = array(
'host' => 'ldap1.company.de',
'port' => '389',
'bindDN'=> 'cn=mail,ou=apps,dc=company,dc=de',
'passDN'=> 'password',
'protocolVersion' => '3',
'baseDNUsers'=> 'ou=staff,dc=company,dc=de',
'filterUsers' => '(objectClass=mailUser)',
'mapping_field' => array('username' => 'uid',
'fullname' => 'cn',
'email' =>'mail'),
'default_value' => array("date_format_type" => "E","locale" =>
"de_DE"),
'format_updated'=> array('Y' => array(0,4),'m' => array(4,2),'d'=>
array(6,2),'H' => array(8,2),'M'=>array(10,2),'S' => array(12,2)),
'scope' => 'subtree'
);
$c->do_not_sync_from_ldap = array( 'admin' => true );

include_once('drivers_ldap.php');
-----------------------------------------------------------------

But now when I try to log in via Web-Interface I just get an empty white
page and the apache.log says:

DAViCal: ***: ERROR:Couldn't contact LDAP server for authentication,
referer: https://cal.company.de/

Thats it.
The main Problem is, Davical dont try to contact the LDAP-Server. A
tcpdump on this mashine dont show any packets to Server
ldap1.company.de.

Any Idea why Davical dont try to connect the LDAP-Server? Is there any
missing parameter in the config? Is there a parsing error of the config?

Thanks a lot
Thomas


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general