Skip to content

Teamcity side python application. For sync groups from Active directory special organization units(OU) to Teamcity.

License

Notifications You must be signed in to change notification settings

therb1/TeamCity-AD-synchronizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teamcity-AD_ldap-sync

Teamcity side python application. For sync groups from Active directory special organization units(OU) to Teamcity.

Project structure

  • requirements.txt - Python dependencies.
  • synchronizer.conf - Application config file.
  • ad_group_synchronizer.py - Application.

Configuration structure synchronizer.conf

[common]
sync_interval - Period between sync processes (seconds)

[ldap]
uri - Active directory(AD) domain controller address
binduser - Username of AD integration user.
bindpass - Password of AD integration user.
groups_search_scope - search scope, default "LEVEL" it mean search only in OU, instead of "SUBTREE" search in OU recursive. SUBTREE IS EVIL
groups_search_base_list - list of organization units(OU) with groups you wanna add to Teamcity

[teamcity]
server - Teamcity api address
username - Username of teamcity integration user.
password - Password of teamcity integration user.
verify_certificate - SSL yes/no

[xml]
path_ldap_mapping - There should be path of ldap-mapping.xml file with one or more group mappings defined.

[ad]
cache_file = Cache database name
cache_ttl = Cache time

An example of running

python3 ad_synchronizer.py -f synchronizer.conf

About

Teamcity side python application. For sync groups from Active directory special organization units(OU) to Teamcity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages