dポイントプレゼントキャンペーン実施中!

Openldap関係でまた詰まってしまいました。

現在OpenldapでDBを作成し、作成したDBへネットワーク上の別の端末のoutlookからアクセスしたいのですが接続できません。あちこち調べてはいるのですが状況が解決しません、ご助力願います。

以下関係箇所のデータです。

・slapd.conf
database bdb
suffix "dc=sample1,dc=com"
rootdn "cn=Manager,dc=sample1,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw admin
# rootpw {crypt}ijFYNcSNctBYg

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap

# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub


・ldap.conf
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE dc=example, dc=com
URI ldap://192.168.1.76/

#HOST 127.0.0.1
BASE dc=sample1,dc=com

#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
TLS_CACERTDIR /etc/openldap/cacerts


・authconfig-tui
Use Information内のUse LDAPにチェックあり

Server: ldap://192.168.1.76
Base DN: dc:sample1,dn=com

・投入したデータベース(ldifファイル)
dn: dc=sample1,dc=com
objectclass: dcObject
objectclass: organization
o: root
dc: sample1

dn: cn=Manager,dc=sample1,dc=com
objectclass: organizationalRole
cn: Manager

dn: ou=kaihatu,dc=sample1,dc=com
objectclass: organizationalUnit
ou: kaihatu

dn: cn=Urabe,ou=kaihatu,dc=sample1,dc=com
objectclass: person
cn: test
sn: man

・outlookの設定
画像参照


知識不足で申し訳ありませんがよろしくお願いいたします。

「Openldap関係でまた詰まってしまい」の質問画像

A 回答 (1件)

すでに確認済みかもしれませんが・・・


1. TCP 389 を開けている?

2. ユーザーのDNが CN=Urabe なのに内容は CN: test になっている
 ただの修正ミス?登録時にエラーになるはずです。

3. ローカルアクセスは可能?
 $ getent passwd test
 $ ldapsearh -x -D 'cn=Manager,dc=sample1,dc=com' -w admin -h localhost 'ou=kaihatu'
    • good
    • 0
この回答へのお礼

ありがとうございます、解決しました。原因はポートで、nmapで389がopenになっていたけどファイアーウォールで制限掛けていたため外からは見れないためでした、

2番に関してはコピペミスです。

お礼日時:2010/01/13 02:02

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!

関連するカテゴリからQ&Aを探す