Zhang Huangbin wrote: > Hi, all. > > I use OpenLDAP as global address book in roundcube-0.1.1, how can i use > '%d', '%u' like in postfix ldap lookup table? so that i can make the > user only search their own domain for address book. e.g. > > 'base_dn' => "domainName=%d,o=domains,dc=iredmail,dc=org", > > I tried this syntax, but it failed.
Those strings are only replaced if you have the 'user_specific' property of the ldap server config set to true. If user_specific is true RoundCube tries to bind to the LDAP server using 'bind_dn' and 'bind_pass' which will probably fail. This now changed in r2157 where the bind command isn't issued if 'bind_dn' is empty but 'user_specific' is set. ~Thomas _______________________________________________ List info: http://lists.roundcube.net/users/
