workspace-ldap

command module
v0.0.0-...-d72ebfb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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

  1. Set GOOGLE_APPLICATION_CREDENTIALS=/path/to/serviceaccount.json (see next section)
  2. 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址