LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Postfix LDAP lookups with Active Directory (https://www.linuxquestions.org/questions/linux-networking-3/postfix-ldap-lookups-with-active-directory-378814/)

paul_mat 10-31-2005 10:36 PM

Postfix LDAP lookups with Active Directory
 
hi there,

i'm trying to get postfix to run with Active Directory so i can logon to my e-mail useing my ADS account and get the aliase from the 'mail'
section of my container.

now when i try and run what is ment to be a test for this i get this error, now i know it's a microsoft LDAP error as shown with the link below.

http://archives.neohapsis.com/archiv...3-06/3121.html

so i'm wondering if someone knows how to get arount this?

[root@rhel /]# postmap -q pma ldap:/etc/postfix/ldap-aliases.cf
postmap: warning: dict_ldap_lookup: Search error 9: Partial results and referral received

paul_mat 11-02-2005 08:44 PM

i have found a website that seams promising, although i don't
read any languages other than english.

http://www.myunix.idv.tw/mx/forum/printview.php?
t=476&start=0&sid=f67b4d66a3643eb7f38fda3b97983145

but towards the bottom is does mention my error messsage.

發現升級至 Windows 2003的Active Directory後,在/var/log/maillog
中會出現類似以下訊息

代碼:
Sep 21 10:02:54 mail postfix/smtpd[21129]: warning:
dict_ldap_lookup: Search error 9: Partial results and referral
received
Sep 21 10:02:54 mail postfix/smtpd[21129]: 5B7A4137642:
reject: RCPT from x.x.x.x[x.x.x.x]:
451 <vincent@myunix.idv.tw>: Temporary lookup failure;
from=<zoob@ms13.url.com.tw> to=<vincent@myunix.idv.tw
> proto=SMTP helo=<myunix.idv.tw>


【訽因】

因為Windows 2003已經使用LDAP v3的協定,所以如果在main.cf裡面沒
有指定ldapsource_verion = 3 的話,預設會使用LDAP v2與Win 2003
AD來連結

【解決】

(1)請在main.cf裡面加入以下敘述

代碼:
ldapsource_verion = 3

(2)重新啟動 postfix service

from what i can make out of that i need to
add, 'ldapsource_verion = 3' to my main.cf file and restart
postfix. i did that but still nothing.

i'm still looking for the answer, so if anyone out there finds the answer in here, can they tell me?


All times are GMT -5. The time now is 11:45 AM.