RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Recycle Bin > Recycle Bin

For more information about the ads and why they're here, please see the FAQ
Closed Thread
  #1  
Old 09-18-2006, 11:18 PM
ko1 ko1 is offline
Registered User
 
Join Date: Sep 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Help LDAP Search

Hi everybody,

i had a LDAP Server and it running well. I like to search with the Addressbook from roundcube. Can anybody giv me a roundcube main.inc.php with LDAP search, that works. I found no howto or examples.
Thanks for help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 09-19-2006, 07:56 PM
ko1 ko1 is offline
Registered User
 
Join Date: Sep 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

Is there nobody who can help me? Here is my main.php.inc
" $rcmail_config['ldap_public']['xxxx.de'] = array('hosts' => array('servernamel'),
'port' => 389,
'base_dn' => 'ou=Users,dc=xxxx,dc=info,',
'search_fields' => array('Email' => 'mail', 'Name' => 'cn'),
'name_field' => 'cn',
'mail_field' => 'mail',
'scope' => 'sub',
" 'fuzzy_search' => 1)
it dosen`t work. Please help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-21-2006, 05:34 PM
ko1 ko1 is offline
Registered User
 
Join Date: Sep 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

Thanks for all you help. What a good forum. I just managed it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-23-2006, 01:16 PM
Registered User
 
Join Date: Aug 2006
Posts: 46
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

how about posting how to do it?

I have asked questions that people haven't answered but I don't take that tone..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-18-2006, 10:05 PM
Registered User
 
Join Date: Dec 2006
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

Ko1 I would be interested in seeing how you got this to work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-02-2007, 12:01 PM
Registered User
 
Join Date: Dec 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

I have it working with the LDAP installed in my server with the following config:

$rcmail_config['ldap_public']['localhost'] = array('hosts' => array('localhost'),
'port' => 389,
'base_dn' => 'ou=addressbook,dc=xxxx',
'search_fields' => array('Email' => 'mail', 'Name' => 'cn'),
'name_field' => 'cn',
'mail_field' => 'mail',
'scope' => 'sub',
'fuzzy_search' => 1);

What I didn't manage to configure is that the addresses are autocompleted when writing an email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-02-2007, 12:55 PM
Registered User
 
Join Date: Jan 2007
Posts: 40
Downloads: 0
Uploads: 0
Default Re: Help LDAP Search

Hi every body and happy new Year

Mine works well after some changes

first, I'm using french locales and it seems there's a bug in it

in file /usr/share/roundcube/program/localization/fr/labels.inc
you have to replace this line :
$labels['addcontact'] = 'Ajouter le contact sélectionné ÃÂÂ* votre Carnet d\'adresses';
by this one :
$labels['addcontact'] = 'Ajouter le contact sélectionné ÃÂÂ* votre Carnet d\\\'adresses';

my conf looks like :
grep -A 8 ldap_public /etc/roundcube/main.inc.php

$rcmail_config['ldap_public']['domain'] = array('hosts' => array('server'),
'port' => 389,
'base_dn' => 'ou=users,dc=domain',
'search_fields' => array('Email' => 'mail', 'Nom' => 'cn', 'Prenom' => 'sn', 'identifiant' => 'uid'),
'name_field' => 'cn',
'firstname_field' => 'sn',
'mail_field' => 'mail',
'scope' => 'sub',
'fuzzy_search' => 1);

as you can see, have made some little changes to have name and first name shown in the result list (so firstname_field won't be usefull for you)

--

I have a second ldap server with personnal adress books

where contact dn looks like :
dn: cn=contactname,ou=username,ou=personal_addressbook,dc=domain
only readable and writeable by
dn: uid=username,ou=users,dc=domain

I don't know to build ldap conf for roundcube to make this ldap directory usable due to user specific bind options and search dn.

If someone could help me on this point
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 09:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community