App-Regather

 view release on metacpan or  search on metacpan

etc/regather.conf.sample  view on Meta::CPAN

# -*- mode: conf; eval: (follow-mode); -*-
#

[core]
#   altroot      = /tmp/regather-altroot.d
#   dryrun       = 1
  notify       = 0
  notify_email = john.doe@localhost
  notify_email = root@localhost
  pid_file     = /var/run/openldap/regather.pid
  tt_debug     = 1
  tt_path      = /usr/local/etc/regather.d

[log]
  facility     = local4
  colors       = 0
  foreground   = 0
  verbosity    = 0

[ldap opt]
#   debug        = 1
#   version      = 3

[ldap srch]
  base         = dc=umidb
  filter       = (|\
(&\
 (objectClass=umiOvpnCfg)\
 (objectClass=umiUserCertificate)\
)\
(&\
 (mu-sieveOnReceive=*)\
 (authorizedService=mail*)\
)\
(&\
 (objectClass=radiusObjectProfile)\
 (authorizedService=rad@*)\
)\
)
  scope        = sub
  log_base     = cn=umilog

[service ovpn]
#   uid              = openvpn
#   gid              = openvpn
  chmod            = 0640
  ns_attr     = cn
  ns_keyfile  = /usr/local/etc/regather.d/Kdhcpd.+157+43671.private
  ns_ttl      = 300
  ns_txt_pfx  = REGATHER:
#  ns_zone     = dev.vpn.foo.bar.ua
  out_path         = /tmp/2.kill/regather/out_ovpn
  tt_file          = ovpn.tt
#   out_ext         = .ovpn
  ctrl_attr        = umiOvpnCfgConfig
  ctrl_srv_re      = ^.*,authorizedService=ovpn@.*,ou=People,.*$
  plugin      = configfile
  plugin      = nsupdate

[service ovpn map s]
  CN           = cn
  OS           = umiOvpnAddDevOS
  SN           = umiUserCertificateSn
  config       = umiOvpnCfgConfig
  createdon    = createTimestamp
  device       = umiOvpnAddDevType
  entryCSN     = entryCSN
  entryUUID    = entryUUID
  ifconfigpush = umiOvpnCfgIfconfigPush
  modifiedon   = modifyTimestamp
  notafter     = umiUserCertificateNotAfter
  notbefore    = umiUserCertificateNotBefore
  state        = umiOvpnAddStatus

[service ovpn map m]
  iroute       = umiOvpnCfgIroute
  push         = umiOvpnCfgPush

[service sieve]
  chown	           = 1
  chmod            = 0400
  out_path         = /tmp/2.kill/regather/out_sieve
  tt_file          = sieve.tt
  out_file         = .sieve
  out_file_pfx     = homeDirectory
  ctrl_attr        = mu-sieveOnReceive
  ctrl_srv_re      = ^.*,authorizedService=mail@.*,ou=People,.*$
  plugin           = configfile

[service sieve map s]
  createdon         = createTimestamp
  gidNumber	    = gidNumber
  homeDirectory     = homeDirectory
  modifiedon        = modifyTimestamp
  mu_mailBox        = mu-mailBox
  mu_sieveOnReceive = mu-sieveOnReceive
  uid               = uid
  uidNumber	    = uidNumber

[service crl-ovpn]
  chmod            = 0644
  out_path         = /tmp/2.kill/regather/out_crl
  tt_file          = crl-ovpn.tt
  out_ext          = -crl.pem
#  skip             = 1
  ctrl_attr        = certificateRevocationList;binary
  ctrl_srv_re      = ^.*,ou=OpenVPN,.*$
  plugin           = configfile

[service crl-ovpn map s]
  certificateRevocationList = certificateRevocationList;binary

[service crl-rad]
  chmod            = 0644
  out_path         = /tmp/2.kill/regather/out_crl
  tt_file          = crl-rad.tt
  out_ext          = -rad-crl.pem
  ctrl_attr        = certificateRevocationList;binary
  ctrl_attr        = cACertificate;binary
  ctrl_srv_re      = ^.*,ou=servers,ou=RADIUS,.*$
  post_process     = service samba_server onerestart
  plugin           = configfile

[service crl-rad map s]
  certificateRevocationList = certificateRevocationList;binary
  cACertificate		    = cACertificate;binary

# END



( run in 2.081 seconds using v1.01-cache-2.11-cpan-5837b0d9d2c )