Author Topic: roundcube and http://freeldap.org/  (Read 8001 times)

Offline jslater

  • Newbie
  • *
  • Posts: 3
roundcube and http://freeldap.org/
« Reply #15 on: June 18, 2008, 07:24:17 AM »
Quote from: Vicelow;12619
Without 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.

Offline Vicelow

  • Jr. Member
  • **
  • Posts: 21
roundcube and http://freeldap.org/
« Reply #16 on: June 18, 2008, 12:58:21 PM »
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...

Offline jslater

  • Newbie
  • *
  • Posts: 3
roundcube and http://freeldap.org/
« Reply #17 on: June 20, 2008, 10:20:17 AM »
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?

Offline anilj

  • Newbie
  • *
  • Posts: 6
roundcube and http://freeldap.org/
« Reply #18 on: June 22, 2008, 03:27:29 PM »
Maybe its a connectivity issue? Can you see if you can telnet from that server (where roundcube is running on) to port 389?