Brian Rosenberger wrote:
ldapuser: driver = smartuser local_parts = ${lookup ldap{ldap://xxxx.xx:389/ou=SMTP%20Service,ou=Mailaccounts,dc=brutex,dc=n et?([EMAIL PROTECTED])}{${local_part}}} home_directory = ${lookup ldap{ldap://xxxx.xx:389/ou=SMTP%20Service,ou=Mailaccounts,dc=brutex,dc=n et?homeDirectory?([EMAIL PROTECTED] transport = my_local_delivery
[...]
I suppose the ldap search string is wrong. However, the LDAP log says, there is something going on.
I think so too. Seems the scope parameter is missing.
Something like this??
ldap://xxxx.xx:389/ou=SMTP%20Service,ou=Mailaccounts,dc=brutex,dc=n > et?sub?homeDirectory?([EMAIL PROTECTED] - Sandip
Umm, there is a problem with the URL that is sent. The ldap URL syntax is ldap://server:host/basedn?attr?scope?filter?extension
So the URL above should be
home_directory = ${lookup ldap{ldap://xxxx.xx:389/ou=SMTP%20Service,ou=Mailaccounts,dc=brutex,dc=net?homeDirectory?sub?([EMAIL PROTECTED])
}{${value}}fail}
You had also missed the right parenthesis for the filter expression which I have added above.
- Sandip
-- Sandip Bhattacharya http://www.sandipb.net sandip at puroga.com Puroga Technologies Pvt. Ltd. http://www.puroga.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]