Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  15 Jan 2014, Konstantin Olchanski, Bug Report, MIDAS password protection is broken 
    Reply  15 Jan 2014, Konstantin Olchanski, Bug Report, MIDAS password protection is broken 
    Reply  05 Feb 2014, Stefan Ritt, Bug Report, MIDAS password protection is broken 
Message ID: 954     Entry time: 05 Feb 2014     In reply to: 945
Author: Stefan Ritt 
Topic: Bug Report 
Subject: MIDAS password protection is broken 
> If you follow the MIDAS documentation for setting up password protection, you will get strange messages:

This is interesting. When I used it last time (some years ago...) it worked fine. I did not touch this, and now it's broken. Must be related to some modifications of the semaphore system. 
Well, anyhow, the problem seems to me the db_close_all_databses() and the re-opening of the ODB. Apparently the db_close_database() call does not clean up the semaphores properly. 
Actually there is absolutely no need to close and re-open the ODB upon a wrong password, so I just removed that code and now it works again.

/Stefan
ELOG V3.1.4-2e1708b5