https://github.com/researchgate/azkaban-ldap-usermanager
Ldap authentication for Azkaban
https://github.com/researchgate/azkaban-ldap-usermanager
Last synced: over 1 year ago
JSON representation
Ldap authentication for Azkaban
- Host: GitHub
- URL: https://github.com/researchgate/azkaban-ldap-usermanager
- Owner: researchgate
- License: mit
- Created: 2015-07-14T15:47:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T07:18:14.000Z (over 3 years ago)
- Last Synced: 2025-04-18T00:57:57.392Z (over 1 year ago)
- Language: Java
- Size: 171 KB
- Stars: 24
- Watchers: 19
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Azkaban Ldap UserManager
========================
[](https://travis-ci.org/researchgate/azkaban-ldap-usermanager)
This plugin enables ldap authentication for the Azkaban workflow manager (https://azkaban.github.io/)
This plugin is work in progress, configuration options may change.
Installation
------------
Build the plugin
```
gradle build
```
and place the created jar from ./build/libs into the ./extlib folder of Azkaban (see also http://azkaban.github.io/azkaban/docs/latest/#custom-usermanager) for details.
In your azkaban.properties file set the UserManager to the new Ldap one:
```
user.manager.class=net.researchgate.azkaban.LdapUserManager
```
Configuration
-------------
The following configuration options are currently available:
```
user.manager.ldap.host=ldap.example.com
user.manager.ldap.port=636
user.manager.ldap.useSsl=true
user.manager.ldap.userBase=dc=example,dc=com
user.manager.ldap.userIdProperty=uid
user.manager.ldap.emailProperty=mail
user.manager.ldap.bindAccount=cn=read-only-admin,dc=example,dc=com
user.manager.ldap.bindPassword=password
user.manager.ldap.allowedGroups=azkaban-ldap-group
user.manager.ldap.groupSearchBase=ou=Groups,dc=example,dc=com
user.manager.ldap.embeddedGroups=false
```
Embedded Groups
---------------
Some LDAP schemas return the list of groups to which a DN belongs as a
memberOf attribute. To use that group list, set
```user.manager.ldap.embeddedGroups=true```. Note: the lookup will be
case-sensitive.
Release new version
-------------------
To release a new version you need to set the property "githubToken" in your "gradle.proeprties" inside your gradle home directory that is usually "~/.gradle/".
If the "gradle.properties" file doesn't exists you need to create it.
The token can be created under https://github.com/settings/tokens. And an example of the config is like:

If this is done you can run the release task in gradle.
```
gradle release
```