티스토리 뷰

LDAP

LDAP search

magnon 2017. 5. 30. 11:19
# ldapsearch \
-LLL \						# result formatting
-H ldapi:/// \					# ldap uri
-p 389 \					# ldap port

-D "cn=admin,dc=***" \				# bindDN
-W \						# password

-b cn=config \					# searchbase
olcRootDN=cn=admin,dc=****\			# filter
dn olcRootDN olcRootPW 				# attrs

 

-L[L{[L]]

Search results are display in LDAP Data Interchange Format detailed in ldif(5). A

single -L restricts the output to LDIFv1.

A second -L disables comments. A third -L disables printing of the LDIF version.

The default is to use an extended version of LDIF.

 

-Y mech

Specify the SASL mechanism to be used for authentication. If it's not specified,

the program will choose the best mechanism the server knows.

 

-H ldapuri

LDAP 서버의 URI

 

-p ldapport

LDAP 서버의 port

 

-D binddn

검색에 사용할 user의 DN

 

-w passwd

검색에 사용할 user의 암호

 

-W

암호를 별도로 입력받도록 함

 

-b searchbase

검색어

반응형

'LDAP' 카테고리의 다른 글

LDAP admin 암호 변경  (0) 2017.05.30
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함