@@ -284,6 +285,10 @@ class StdoutFilter(logging.Filter):
deffilter(self,record):
returnrecord.levelno<=logging.INFO
defsigterm_handler(_signum,_frame):
logger.info("Received SIGTERM, shutting down gracefully ...")
sys.exit(0)
# pylint: disable=line-too-long
@click.command(help='LDAP proxy for integrating LDAP service with uffd SSO. Supports user and group searches and as well as binds with user passwords.')
@click.option('--socket-address',help='Host and port "ip:port" to listen on')
...
...
@@ -298,6 +303,10 @@ class StdoutFilter(logging.Filter):
@click.option('--group-filter-regex',help='Python regular expression that group names must match for the group to be visible to LDAP clients')