ldapsearch コマンドで AD 情報を検索する

もう何がなんだかわからないので、とりあえずメモ。。 LDAP ワード集 DIT = Directory Information Tree DN = 識別名(Distinguished Name) DC = ドメイン構成要素(domain component) O = 組織名(organization) OU = 組織単位(organizational unit) CN = 一般名称(common name) sample.local ドメインの場合の検索方法 # ユーザ Administrator を検索 ldapsearch -x -LLL -D "cn=Administrator,cn=Users,dc=sample,dc=local" -W -b "cn=Administrator,cn=Users,dc=sample,dc=local" # CN Users に属するユーザを検索 ldapsearch -x -LLL -D "cn=Administrator,cn=Users,dc=sample,dc=local" -W -b "cn=Users,dc=sample,dc=local" 以下、 ldapsearch コマンドの OPTION 抜粋 ldapsearch opens a connection to an LDAP server, binds, and performs a search using specified parameters....

2015-10-18 ·  2015-10-18 · 3 分 · 454 文字