Skip to content
/ regather Public

performing different actions (re-generation of configfiles, nsupdate DNS zones, e.t.c.) on LDAP syncrepl events

License

Notifications You must be signed in to change notification settings

z-eos/regather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UMI REGATHER

regather is a syncrepl consumer to generate ( re gather ) files on LDAP syncrepl events.

It uses Net::LDAP(3) to do all LDAP related stuff and Template(3) to generate files. Config file is processed with Config::Parser(3) (it's format described in Regather::Config(3)

regather has plugin structure and allows to perform any desired action, based on event data

plugins now available

  • configfile
  • nsupdate
  • script

As example, regather, on LDAP event can

  • create/re-write/delete OpenVPN client config file/s
  • create/re-write/delete CRL file for OpenVPN or FreeRADIUS (in this case it is ca+crl pem file)
  • create/re-write/delete sieve script for mail user.
  • nsupdate DNS zones
  • create/re-write/delete mail domain maildir directory in IMAP4 space, on domain binding to IMAP server LDAP configuration (todo)
  • pass LDAP object as set of environmental variables to a script

All this allow you to adopt regather to do anything you want on LDAP syncrepl event.

Copyright (c) 2021 Zeus Panchenko

About

performing different actions (re-generation of configfiles, nsupdate DNS zones, e.t.c.) on LDAP syncrepl events

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published