Re: (RESOLVED) users from ldap (active directory)

2011-04-01 Thread vadim korsak
Instead of using AD Global Catalog (port 3268) can be used, this somehow helped. search_base must be empty resulting map file looks: server_host = 10.100.5.1:3268 search_base = bind = yes bind_dn = CN=mailgw,OU=SYS,DC=,DC=lan bind_pw = password scope = sub result_attribute = mail result_forma

Re: users from ldap (active directory)

2011-03-31 Thread Victor Duchovni
On Thu, Mar 31, 2011 at 08:26:17PM +0300, vadim korsak wrote: > result_format = %s OK > is OK, this is checked in other places > > >You need to use a search base that will not trigger a referral, or > >use the right LDAP server. Alternatively, the LDAP server may need > >to be configured to grant

Re: users from ldap (active directory)

2011-03-31 Thread vadim korsak
result_format = %s OK is OK, this is checked in other places >You need to use a search base that will not trigger a referral, or >use the right LDAP server. Alternatively, the LDAP server may need >to be configured to grant additional access to your "mailgw" id. why you think this is access probl

Re: users from ldap (active directory)

2011-03-31 Thread Victor Duchovni
On Thu, Mar 31, 2011 at 06:36:30PM +0300, vadim korsak wrote: > I created such ldap map file: > > /etc/postfix/ldap-users.cf > server_host = 10.100.5.1 > search_base = OU=Users,DC=,dc=local > version = 3 > bind = yes > bind_dn = CN=mailgw,OU=SYS,DC=,DC=lan > bind_pw = password > scope = s

users from ldap (active directory)

2011-03-31 Thread vadim korsak
Hi! I created such ldap map file: /etc/postfix/ldap-users.cf server_host = 10.100.5.1 search_base = OU=Users,DC=,dc=local version = 3 bind = yes bind_dn = CN=mailgw,OU=SYS,DC=,DC=lan bind_pw = password scope = sub result_attribute = mail result_format = %s OK query_filter = (&(objectClass