Roundcube Community Forum

 

roundcube and http://freeldap.org/

Started by Backi, May 07, 2008, 10:24:43 AM

Previous topic - Next topic

jslater

Quote from: Vicelow;12619Without any information on what you did, you can't expect anybody to give you help.

$rcmail_config['ldap_public']['freeldap'] = array(
'name' => 'freeldap',
'hosts' => array('ds1.us.freeldap.org'),
'port' => 389,
'base_dn' => 'uid=dhs, ou=People, o=entic.net',
'bind_dn' => 'uid=dhs, ou=People, o=entic.net',
'bind_pass' => 'mypassword',
'ldap_version' => 3, // using LDAPv3
'search_fields' => array('mail', 'cn'), // fields to search in
'name_field' => 'cn', // this field represents the contact's name
'email_field' => 'mail', // this field represents the contact's e-mail
'surname_field' => 'sn', // this field represents the contact's last name
'firstname_field' => 'givenName',   // this field represents the contact's first name
'scope' => 'sub', // search mode: sub|base|list
'filter' => 'objectClass=top', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
'fuzzy_search' => true); // server allows wildcard search

That is my config.  Any help would be appreciated, as it just won't work for me.  Cheers.

Vicelow

Ok, so what is not working for you? Autocomplete on composing an email? Any LDAP contact loading? Did you try to search a contact in the addressbook?
I would suggest you to download the actual SVN an fill all that in the main.inc.php.
If that won't work, have a look into your webserver's and roundcube's log!
If there is any entry, just copy it in here...

jslater

This is the error I get in roundcube logs -

[20-Jun-2008 15:15:11] PHP Warning:  ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't contact LDAP server in \program\include\rcube_ldap.inc on line 126
[20-Jun-2008 15:15:11 +0100] LDAP Error: Bind failed for dn=uid=dhs, ou=People, o=entic.net: Can't contact LDAP server in  on line 0
[20-Jun-2008 15:15:12] PHP Warning:  ldap_search() [function.ldap-search]: Search: Can't contact LDAP server in \program\include\rcube_ldap.inc on line 411
[20-Jun-2008 15:15:13] PHP Warning:  ldap_search() [function.ldap-search]: Search: Can't contact LDAP server in \program\include\rcube_ldap.inc on line 411

Any Help guys?

anilj

Maybe its a connectivity issue? Can you see if you can telnet from that server (where roundcube is running on) to port 389?