iT邦幫忙

0

pure-ftpd整合ldap

因為想使用ldap來做帳號管理
而希望pure向ldap做查詢帳號動作
想請問如果希望達成此功能的話
需在pure的設定檔何處去指定欲查詢的ldap位址?
指定的位址是否可以是ip?
謝謝

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

6
patrickf127
iT邦新手 2 級 ‧ 2010-11-23 14:41:49
最佳解答
  1. 編輯/etc/pure-ftpd.conf,開啟LDAP認證
    LDAPConfigFile ./pureftpd-ldap.conf

  2. 編輯/etc/pureftpd-ldap.conf
    LDAPServer 10.1.1.1
    LDAPPort 389
    LDAPBaseDN dc=test,dc=com,dc=tw #LDAP Basic DN
    LDAPBindDN cn=Manager,dc=test,dc=com,dc=tw #LDAP admin DN
    LDAPBindPW test #LDAP admin password

我要發表回答

立即登入回答