[checkmk-commits] Check_MK Git: check_mk: FIX: fix users settings of omdadmin user

Mathias Kettner mk at mathias-kettner.de
Thu Nov 29 10:28:22 CET 2012


Module: check_mk
Branch: master
Commit: 78fc4db36e70637725ba05c3c76b035131529f74
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=78fc4db36e70637725ba05c3c76b035131529f74

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Thu Nov 29 10:26:21 2012 +0100

FIX: fix users settings of omdadmin user

---

 agents/windows/check_mk_agent.exe |  Bin 111104 -> 111104 bytes
 agents/windows/install_agent.exe  |  Bin 130737 -> 129205 bytes
 web/htdocs/wato.py                |    2 ++
 3 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/agents/windows/check_mk_agent.exe b/agents/windows/check_mk_agent.exe
index a3df30e..164b5dd 100755
Binary files a/agents/windows/check_mk_agent.exe and b/agents/windows/check_mk_agent.exe differ
diff --git a/agents/windows/install_agent.exe b/agents/windows/install_agent.exe
index 733e1bc..724e341 100755
Binary files a/agents/windows/install_agent.exe and b/agents/windows/install_agent.exe differ
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index ae9291f..15b3b35 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8404,6 +8404,8 @@ def load_users():
                         "locked"   : False,
                     }
                     result[id] = new_user
+                # Make sure that the user has an alias
+                result[id].setdefault("alias", id)
             # Other unknown entries will silently be dropped. Sorry...
 
     # Now read the serials, only process for existing users



More information about the checkmk-commits mailing list