-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-template.py
62 lines (56 loc) · 2.26 KB
/
config-template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
###########################################################
# General configuration variables
###########################################################
# LOG_LEVEL
# Possible values: DEBUG,FATAL,WARN,INFO
LOG_LEVEL = "DEBUG"
# DRY_RUN
# Make the program work as normal BUT writes or destructive operations will be IGNORED
DRY_RUN = True
# INTERCEPT_TO_STDOUT_DEBUG_MODE
# The program will ONLY intercept passwords and write them to stdout, no other actions will be taken.
# Passwords will NOT be logged to disk.
INTERCEPT_TO_STDOUT_DEBUG_MODE = True
# INTERFACE_NAME
# The interface the program will listen on.
INTERFACE_NAME = "eth0"
###########################################################
# LDAP source server configuration
###########################################################
# LDAP server hostname
LDAP_SOURCE_SERVER_HOST=""
# Login user for the LDAP server
LDAP_SOURCE_SERVER_LOGIN_DN=""
# LDAP server password
LDAP_SOURCE_SERVER_LOGIN_PASS=""
# LDAP users DN prefix
LDAP_SOURCE_BASE_DN_PREFIX = 'uid='
# LDAP users base DN
LDAP_SOURCE_BASE_DN = ''
# LDAP search filter. The last replace will remove newlines.
LDAP_SOURCE_SEARCH_FILTER="""
(|(memberOf=cn=group-1,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-2,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-3,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-4,ou=Groups,o=organizazion,dc=company,dc=it))
""".replace('\r', '').replace('\n', '')
###########################################################
# LDAP destination server configuration
###########################################################
# LDAP server hostname
LDAP_DESTINATION_SERVER_HOST=""
# Login user for the LDAP server
LDAP_DESTINATION_SERVER_LOGIN_DN=""
# LDAP server password
LDAP_DESTINATION_SERVER_LOGIN_PASS=""
# LDAP users DN prefix
LDAP_DESTINATION_BASE_DN_PREFIX = ''
# LDAP users base DN
LDAP_DESTINATION_BASE_DN = ''
# LDAP search filter. The last replace will remove newlines.
LDAP_DESTINATION_SEARCH_FILTER="""
(|(memberOf=cn=group-1,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-2,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-3,ou=Groups,o=organizazion,dc=company,dc=it)
(memberOf=cn=group-4,ou=Groups,o=organizazion,dc=company,dc=it))
""".replace('\r', '').replace('\n', '')