作者 主題: OpenWebMail 和 LDAP 之間的問題  (閱讀 14199 次)

0 會員 與 1 訪客 正在閱讀本文。

Mato

  • 懷疑的國中生
  • **
  • 文章數: 62
    • 檢視個人資料
OpenWebMail 和 LDAP 之間的問題
« 於: 2002-06-10 15:05 »
OpenWebMail 和 LDAP 能相互連結嗎?
也就是說 我用openwebmail 的時候,可以連到ldap 上嗎?
是否有整合的方法?
不行的話也給我一個訊息讓我知道~~謝謝~
(對不起~~我笨笨的~~~linux才用沒三個月..... ^^")

huckly

  • 區域板主
  • 俺是博士!
  • *****
  • 文章數: 3420
    • 檢視個人資料
    • http://blog.huckly.net
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #1 於: 2002-06-10 15:35 »
給你一個學習經驗  如有任何問題 先看 原廠網站 一般可以解決你 大部分的疑問
關於你的問題 答案就在
http://turtle.ee.ncku.edu.tw/openwebmail/doc/faq.txt

中的
Q: How can I use LDAP to authenticate user in openwebmail?
A: You have 2 ways to do this:
   1. use the auth_ldap.pl written by Ivan Cerrato, pengus.AT.libero.it
   2. use auth_pam module and let pam to talk with ldap server.

   Below is an article posted at sourceforge by "ispman.AT.user.sourceforge.net
   (http://sourceforge.net/forum/message.php?msg_id=1462314)

   ---------------- begin ----------------
   I hope this is useful to someone:

   I was able to get openwebmail to authenticate using ldap/pam on a system
   with Redhat 7.1, pam_ldap135, and OpenLDAP 2.0.18.

   In openwebmail.conf ~

   auth_module             auth_pam.pl

   In auth_pam.pl ~

   my $pam_servicename="openwebmail";
   my $pam_passwdfile="/etc/passwd";

   vi /etc/pam.d/openwebmail:

   #%PAM-1.0
   auth       required     /lib/security/pam_unix.so
   auth       sufficient   /lib/security/pam_ldap.so
   account    required     /lib/security/pam_unix.so
   account    sufficient   /lib/security/pam_ldap.so

   That's it.  LDAP users will authenticate with the pam_ldap module and
   system users with pam_unix.
   ---------------- end ----------------
IT doesn't matter

Mato

  • 懷疑的國中生
  • **
  • 文章數: 62
    • 檢視個人資料
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #2 於: 2002-06-10 15:43 »
謝謝學長~~~
我就是有照這做.....但沒有可以選"檢查"的選項~
在"通訊錄"中我依然沒有辦法找到在ldap上的使用者......是我有什地方不正確嗎?
還是要再重新啟動一次?

huckly

  • 區域板主
  • 俺是博士!
  • *****
  • 文章數: 3420
    • 檢視個人資料
    • http://blog.huckly.net
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #3 於: 2002-06-10 15:57 »
你給我三個月 我給你答案
^_^ 別罵我  其實這一陣子 正在完
openwebmail+postfix+vm-pop3d+vrtual domain
目前接近完成階段 可能得等 一陣子 才能 會玩你那塊

所以看有沒有 其他學長有經驗
不然就等你 的消息喔 如果你成功的話
IT doesn't matter

Mato

  • 懷疑的國中生
  • **
  • 文章數: 62
    • 檢視個人資料
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #4 於: 2002-06-10 16:22 »
學長您真是客氣了~~~
您放心,我也很努力的在測試~如果有好消息,一定破上來和大家分享~~~
(好吧~我終於.....應該說已經一肩承擔了~~~~但....我是初學者~~各位看倌可別抱太大的希望啊~~~千萬不可以把我out 哦~~~~ ^^")

huckly

  • 區域板主
  • 俺是博士!
  • *****
  • 文章數: 3420
    • 檢視個人資料
    • http://blog.huckly.net
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #5 於: 2002-06-10 16:31 »
剛剛 看了一下 可能我誤會你的意思
我post 的 段落是 如何用 LDAP 認證  
而你的要的 在 openwebmail 通訊錄上 出現 LDAP 的 資料吧
這 可能比較高難度 ^_^
 8)  8)  8)  8)
IT doesn't matter

Mato

  • 懷疑的國中生
  • **
  • 文章數: 62
    • 檢視個人資料
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #6 於: 2002-06-10 17:18 »
啊????認証和和使用是不一樣的啊?
那......那個認証是有什麼意思?可以說明一下下嗎???

Mato

  • 懷疑的國中生
  • **
  • 文章數: 62
    • 檢視個人資料
re: OpenWebMail 和 LDAP 之間的問題
« 回覆 #7 於: 2002-06-10 17:19 »
啊!是不是改login "驗証" 的方式不是用linux 上的名單?而是用ldap 上的資料再加上linux 上的password??