티스토리 뷰

빅데이터/Hue

[hue] hue 와 LDAP 연동

hs_seo 2021. 11. 15. 22:37

휴에서 사용자를 LDAP 서버와 연동하여 조회할 수 있습니다. 공식 문서를 참고하면 더 좋습니다.

 

https://docs.gethue.com/administrator/configuration/server/#ldap

 

Server :: Hue SQL Assistant Documentation

Server This section is about configuring the Hue server itself. These configuration variables are under the [desktop] section in the conf/hue.ini configuration file. Basics Point to MySQL or Postgres Directly below the [[database]] line, add the following

docs.gethue.com

 

 

hue.ini 설정

다음의 설정을 참고하여 hue.ini 파일에 추가하면 됩니다. hue와 LDAP을 연동하면 access.log 에 조회 정보가 출력되어서 해당 로그를 확인하면 조회 필터를 확인할 수 있습니다.

 

 

access.log 확인

액세스 로그에서 search_s로 grep 하면 다음과 같은 형식의 로그를 확인할 수 있습니다.

 

access.log:[15/Nov/2021 19:21:13 +0900] DEBUG    search_s('dc=hadoop,dc=com', 2, '(&(CN=%(user)s)(objectclass=*))') returned 2 objects: cn=aaa,ou=people,dc=hadoop,dc=com; cn=aaa,ou=hadoop_accounts,ou=hadoop,dc=hadoop,dc=com

 

반응형
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
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
글 보관함