hi there.
first of all, as a squirrelmail user, i have to say that roundcube
rocks at first glance even if it's still rather "limited" in functions if compared to SM.
i like it, and i will be around here to watch it grow.
by the way, i have a problem RC on a linux box with ldap addressbook accessing on a M$ exchange server.
this command works:
[root@qmail2 roundcubemail]# ldapsearch -D "cn=my-admin,cn=users,dc=gs,dc=spc" -w my-pass -h exchange.gs.spc -p 389 -P 3 -x -s sub -b "cn=users,dc=gs,dc=spc"
so i configured RC as following:
$rcmail_config['ldap_public']['LDAP'] = array(
'name' => 'LDAP',
'hosts' => array('exchange.gs.spc'),
'port' => 389,
'base_dn' => 'cn=users,dc=gs,dc=spc',
'bind_dn' => 'cn=my-admin,cn=users,dc=gs,dc=spc',
'bind_pw' => 'my-pass',
'search_fields' => array('mail', 'cn'),
'name_field' => 'cn',
'email_field' => 'mail',
'scope' => 'sub', // search mode: sub|base|list
'filter' => '', // will be &'d with search field ex: (status=act)
'fuzzy_search' => true);
but is not working.
squirrelmail ldap addresbook browsing on same server works, instead.
here is the ldap conf from SM:
[ldap] command (?=help) > l
0. exchange.gs.spc
base: dc=gs,dc=spc
port: 389
name: "LDAP"
binddn: cn=my-admin,cn=users,dc=gs,dc=spc
bindpw: my-pass
protocol: 3
i think there's a problem with the protocol (if i don't specify protocol in SM config, ldap doesn't work).
do i need to pass the protocol value to the $rcmail_config['ldap_public']['LDAP'] array and modify the ldap query?
any other idea about it?
cheers