LDAP バインディング エラー

LDAP バインディング エラー

Active Directory にセキュア LDAP が構成されています。

ldapsearchUbuntu のコマンドを使用してクエリを実行しようとしています。

以下はダミーの詳細です:

Domain Name: dc=qwerty,dc=com 
LDAP Server: ldap_server.qwerty.com
LDAP Type: AD
Query User Name: [email protected]
Password:Qwerty_12345
Port Number: 636 
Admin Group Name: abc_admin

次のコマンドを実行しようとすると:

`ldapsearch -x -W [email protected] -h ldap_server.qwerty.com`

パスワードを求められましたが、正しいパスワードを入力した後、次のエラーが表示されます。LDAPパスワードを入力してください: 拡張LDIF

LDAPv3
base <> (default) with scope subtree
filter: [email protected]
requesting: ALL

search result
search: 2
result: 1 Operations error
text: 000004DC: LdapErr: DSID-0C0907E9, comment: In order to perform this opera
 tion a successful bind must be completed on the connection., data 0, v2580

numResponses: 1

答え1

amdin アカウントを使用している場合は、-D が欠落している可能性があります。

これは私が過去に例として使用したページです。役に立つかもしれません。

https://devconnected.com/how-to-search-ldap-using-ldapsearch-examples/

ユーザー管理者として。

$ ldapsearch -x -b "dc=devconnected,dc=com" -H ldap://192.168.178.29 -D "cn=admin,dc=devconnected,dc=com" -W

関連情報