EASY7

[AD] 사용자 연동 본문

Project/Windows Server Study

[AD] 사용자 연동

E.asiest 2022. 8. 23. 00:22

https://docs.microsoft.com/en-us/windows/win32/adsi/search-filter-syntax

 

Search Filter Syntax - Win32 apps

Search filters enable you to define search criteria and provide more efficient and effective searches.

docs.microsoft.com

 

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=jwyoon25&logNo=221559104158 

 

Active Directory Domain

AD에서 Object의 개념은 일반적인 객체 개념과 크게 다르지 않다. '무언가를 이루는 속성(attribut...

blog.naver.com

https://ldapwiki.com/wiki/LDAP%20Query%20Basic%20Examples

 

Ldapwiki: LDAP Query Basic Examples

Overview# LDAP Query Basic Examples are some simple examples of LDAP Search Filters Examples as used in a Search Request showing some of the LDAP Filter Choices. ldapsearch -D "cn=exampleuser,example.com" -w secret -p 389 -h server.example.com -b "dc=examp

ldapwiki.com

# ldap 조회하기
# ldapsearch 설치 - centos
sudo yum install openldap-clients
 
# ldapsearch 설치 - mac
brew install openldap
 
-s {base|one|sub|children}
              Specify the scope of the search to be one of base, one,
              sub, or children to specify a base object, one-level,
              subtree, or children search.  The default is sub.  Note:
              children scope requires LDAPv3 subordinate feature
              extension.

-s scope    one of base, one, or sub (default is sub)

위 옵션에 따라 검색이 달라질 수 있다

one: 한단계 아래만 검색한다

base: 기본 오브젝트를 검색한다

sub: defualt 이자 base엔트리 하위를 검색한다

 

 

OU=*이 될까?

https://passwd.tistory.com/entry/ldapsearch-%EC%82%AC%EC%9A%A9%EB%B2%95

Comments