Roundcube Community Forum

 

problems with ldap searching

Started by sirex, February 28, 2011, 04:18:36 AM

Previous topic - Next topic

sirex

(This is on 0.5 - no thread prefix available for that)

I'm trying to implement roundcube to replace squirrelmail, I'm having issues with the ldap address book. The contacts are shown but when i go to search them using the search bar (top right) no results are found.

Is this something that I could alter in the configs ? I don't understand why it isnt filtering the results it already has correctly. My settings are below:

rcmail_config['address_book_type'] = 'ldap';

$rcmail_config['ldap_public']['Global'] = array(
    'name' => 'Global address book',
    'hosts' => array('ldapserver.mydomain.co.uk'),
    'use_tls' => false,
    'user_specific' => false,
    'base_dn' => 'dc=london,dc=mydomain,dc=co,dc=uk',
    'bind_dn' => 'CN=LDAP User,OU=LDAP Accounts,OU=Services,OU=IT,DC=london,DC=mydomain,DC=co,DC=uk',
    'bind_pass' => '*******',
    'search_base_dn' => 'dc=london,dc=mydomain,dc=co,dc=uk',

    'search_filter' => '(!(msExchHideFromAddressLists=TRUE))',
    'filter' => '(&(mail=*)(objectclass=person))',

    'writable' => false,
    'ldap_version'    => 3,
    'search_fields'   => array('Name','Email'),
    'name_field'      => 'cn',
    'email_field'     => 'mail',
    'firstname_field' => 'givenName',
    'surname_field'   => 'sn',
    'sort'         => 'sn',
    'scope'           => 'sub',
    'fuzzy_search'    => true,
#    'sizelimit'       => '25000',
);


Also (separate question): does roundcube copy mail contents into itself at all, and if so can this be disabled ? I'm planning to roll this out to hundreds of users and cant afford the overhead of operating in this way.

sirex

anyone ? - having to ice this product otherwise and go with something else, although there seems to be no good choices.