diff options
author | molotkov-and <molotkov-and@ydb.tech> | 2023-08-18 17:20:47 +0300 |
---|---|---|
committer | molotkov-and <molotkov-and@ydb.tech> | 2023-08-18 19:42:07 +0300 |
commit | 73215359bc33e76f5b94d1832a377072bf245cfc (patch) | |
tree | 9cb8ad61d8c3cd107353d42951560ff3cf1b966d /contrib/libs/openldap/CMakeLists.darwin-x86_64.txt | |
parent | 1cbfd34a55732f7b1d407986b45e40853f01f2c2 (diff) | |
download | ydb-73215359bc33e76f5b94d1832a377072bf245cfc.tar.gz |
KIKIMR-18220: Enrich token with groups from LDAP
Add ldap functions wrapper and separate in different files for compatibility with different OS.
Add user groups fetching from ldap server.
Limitations:
- Fixed 'memberOf' attribute
- No tests to check how filter for search created
- Fetched groups are returned in event as is.
Diffstat (limited to 'contrib/libs/openldap/CMakeLists.darwin-x86_64.txt')
-rw-r--r-- | contrib/libs/openldap/CMakeLists.darwin-x86_64.txt | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/contrib/libs/openldap/CMakeLists.darwin-x86_64.txt b/contrib/libs/openldap/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..c24d53771e --- /dev/null +++ b/contrib/libs/openldap/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,108 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) +add_subdirectory(libraries) + +add_library(contrib-libs-openldap) +target_compile_options(contrib-libs-openldap PRIVATE + -DLDAPI_SOCK="/run/openldap/ldapi" + -DLDAP_LIBRARY + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(contrib-libs-openldap PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/include +) +target_include_directories(contrib-libs-openldap PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/include +) +target_link_libraries(contrib-libs-openldap PUBLIC + openldap-libraries-liblber + OpenSSL::OpenSSL + contrib-libs-sasl +) +target_sources(contrib-libs-openldap PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/abandon.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/account_usability.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/add.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/addentry.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/assertion.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/avl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/bind.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/cancel.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/charray.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/compare.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/controls.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/cyrus.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/dds.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/delete.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/deref.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/dnssrv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/error.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/extended.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/fetch.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/filter.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/free.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getattr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getdn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getentry.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getvalues.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/init.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/lbase64.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldap_sync.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldif.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldifutil.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/messages.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/modify.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/modrdn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/msctrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/open.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/options.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/os-ip.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/os-local.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/pagectrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/passwd.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ppolicy.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/print.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/psearchctrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/rdwr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/references.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/request.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/result.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/rq.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sasl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sbind.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/schema.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/search.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sort.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sortctrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/stctrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/string.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tavl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_debug.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_nt.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_posix.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_pth.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_thr.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/threads.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls2.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls_g.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls_o.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tpool.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/turn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/txn.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/unbind.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/url.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/utf-8-conv.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/utf-8.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/util-int.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/vc.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/version.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/vlvctrl.c + ${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/whoami.c +) |