🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/wongnai/workspace-ldap

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/wongnai/workspace-ldap

v0.0.0-20210423095911-d72ebfbf216e
Source
Go
Version published
Created
Source

LDAP Bridge for Google Workspace

This service implement an LDAP server using user and group information from Google Workspace Admin API.

The server is intended to be used as a group mapping info provider for Palo Alto Networks firewalls.

Setup

  • Set GOOGLE_APPLICATION_CREDENTIALS=/path/to/serviceaccount.json (see next section)
  • Run Docker with --impersonate domain-admin@example.com --base-dn example.com

Service account

If using service account for authentication, make sure it is configured for Domain-wide delegation.

Scopes needed

Directory layout

See docs

Caveats

  • This dump the entire Google directory (users/groups) into memory, so it would take long time to start
  • memberOf on user is not implemented
  • Binds is not implemented. Any bind on the base DN would return success
  • SASL is not implemented in the upstream library. Don't send SASL request to this server!
  • This is NOT a drop in replacement for Secure LDAP service

License

Apache License 2.0

FAQs

Package last updated on 23 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts