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の設定
画像参照
知識不足で申し訳ありませんがよろしくお願いいたします。
No.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'
ありがとうございます、解決しました。原因はポートで、nmapで389がopenになっていたけどファイアーウォールで制限掛けていたため外からは見れないためでした、
2番に関してはコピペミスです。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・人生のプチ美学を教えてください!!
- ・10秒目をつむったら…
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・【大喜利】【投稿~9/18】 おとぎ話『桃太郎』の知られざるエピソード
- ・街中で見かけて「グッときた人」の思い出
- ・「一気に最後まで読んだ」本、教えて下さい!
- ・幼稚園時代「何組」でしたか?
- ・激凹みから立ち直る方法
- ・1つだけ過去を変えられるとしたら?
- ・【あるあるbot連動企画】あるあるbotに投稿したけど採用されなかったあるある募集
- ・【あるあるbot連動企画】フォロワー20万人のアカウントであなたのあるあるを披露してみませんか?
- ・映画のエンドロール観る派?観ない派?
- ・海外旅行から帰ってきたら、まず何を食べる?
- ・誕生日にもらった意外なもの
- ・天使と悪魔選手権
- ・ちょっと先の未来クイズ第2問
- ・【大喜利】【投稿~9/7】 ロボットの住む世界で流行ってる罰ゲームとは?
- ・推しミネラルウォーターはありますか?
- ・都道府県穴埋めゲーム
- ・この人頭いいなと思ったエピソード
- ・準・究極の選択
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
データベースファイル(.db)を開...
-
警察はスマホに保存した動画や...
-
CSVファイルでテキストの改行の...
-
ITパスポートについての質問で...
-
データベース用語「実表」の読み方
-
Access クエリ上で表示させた割...
-
Accessを開きなおすとテキスト...
-
データベースソフトの「TCARD f...
-
Accessのリンクテーブルについて
-
Access フォーム上でコンボボッ...
-
帳票フォームでのあるコンボボ...
-
DocuWorksでの印刷
-
式を簡単にしてください。ACCES...
-
私はシステム会社に務めている...
-
DBエラーを解決したい
-
マイクロソフトAccessでsqlのas...
-
情報整理するのに、「 Fullfree...
-
レコード数のカウント
-
データベースの選定について 要...
-
ドリームメーカーってどうやっ...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
joinの場合のテーブル名の別名...
-
2つの列からの最大値取得
-
SQL 複数条件を設定
-
直近2年度連続で減少していない...
-
SQLのこと:distinctして並び替...
-
access2000のクエリについて
-
複数行の結果を単一列に連結
-
SQLで期間をずらした集計処理
-
フラグをたてるってどういうこ...
-
SELECT INTOで一度に複数の変数...
-
【SQL】他テーブルに含まれる値...
-
sqlに記述できない文字
-
既存データをINSERT文にして出...
-
PostgreSQLのtimestamp型で時間...
-
truncate tableを使って複数の...
-
オラクルのUPDATEで複数テーブル
-
UPDATEで既存のレコードに文字...
-
テーブル名が可変の場合のクエ...
-
エラーを起こす方法
-
Accessで今日から5日後
おすすめ情報