-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
93 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,4 +131,6 @@ dmypy.json | |
|
||
# Project-specific | ||
.lock | ||
.idea | ||
.idea | ||
/shelf/ | ||
/workspace.xml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,39 @@ | ||
config: | ||
|
||
grafana: | ||
|
||
# URL of the target grafana-server. | ||
url: localhost:3000 | ||
|
||
# User account name with admin rights on target grafana-server. | ||
user: admin | ||
|
||
# Password of account with admin rights on target grafana-server. | ||
password: admin | ||
|
||
ldap: | ||
|
||
# Set to True if NTLM should be used for LDAP. | ||
useNTLM: True | ||
|
||
# If True, SSL will be used for connection to LDAP. | ||
useSSL: False | ||
|
||
# URL of the source LDAP-Server. | ||
url: ldap.forumsys.com | ||
|
||
# Port of the ldap instance provided in the url-variable. | ||
port: 389 | ||
|
||
# Group search-base of the source LDAP-Server. | ||
groupSearchBase: dc=example,dc=com | ||
|
||
# Filter that should be used for the group search. | ||
groupSearchFilter: | ||
|
||
# Search-Base for user objects on the LDAP-Server. | ||
userSearchBase: dc=example,dc=com | ||
|
||
# Filter that should be used for user searches. | ||
userSearchFilter: | ||
|
||
# Attribute name under which the members of a group object can be found. | ||
memberAttributeName: uniqueMember | ||
|
||
# Name of the attribute which should be used as login in grafana. | ||
userLoginAttribute: uid | ||
|
||
# Name of the attribute which should be used as Name in grafana. | ||
userNameAttribute: cn | ||
|
||
# Name of the attribute which should be used as mail in grafana. | ||
userMailAttribute: mail | ||
|
||
# Login for the LDAP-Server. | ||
login: test\cn=read-only-admin,dc=example,dc=com | ||
|
||
# Password for the LDAP-Server. | ||
password: password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from setuptools import setup, find_packages | ||
|
||
|
||
setup( | ||
name='grafana-ldap-sync-script', | ||
version='0.1.0', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters