From 0647e01b572e88531333fbe506a68b3d77697dbf Mon Sep 17 00:00:00 2001
From: Claude Becker <becker@phys.ethz.ch>
Date: Mon, 3 Dec 2018 08:10:38 +0100
Subject: [PATCH] sync-winhosts: logfile is named after the script

---
 bin/sync-winhosts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/sync-winhosts.py b/bin/sync-winhosts.py
index c6a0115..3eae7e3 100755
--- a/bin/sync-winhosts.py
+++ b/bin/sync-winhosts.py
@@ -14,7 +14,7 @@ from ldap3 import Server, Connection, ALL, Tls, SASL, GSSAPI, ServerPool, RANDOM
 main_windows_netgroup = "windows"
 windows_log_path      = "c:\\scratch\\"
 unix_log_path         = "/var/log/usradm/"
-log_file              = "sync-winhost.log"
+log_file              = "sync-winhosts.log"
 ca_certs_file         = "/etc/ssl/certs/ca-certificates.crt"
 
 def connect_ldap(server_names, base):
-- 
GitLab