Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 799 of 805  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  65908   Sat Jun 7 11:10:48 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: multi-headings

parrish wrote:

how can you have more than 1 heading like in this forum. Example is: Demo and Discusion and have diferent sub heading under each one?

So example if Demo is selected you get one group of tabs to select from and if Discussion is selected you get a different second set of tabs to choise from.

Thanks in adavance

You can do this by defining groups. For this forum I did

Group Demo = Linux Demo, Database
Group Discussion = Forum, Config Examples, Contributions, Vulnerabilities

where each name on the right side of the equal sign is an individual logbook.

  65909   Mon Jun 9 15:57:15 2008 Reply Erik Iversoneiverson@ornl.govQuestionWindows Re: Mass postings

Stefan Ritt wrote:

mike cianci wrote:

I am setting this up as instrument log in a multi-hospital system, where there will be multiple instruments, in multiple departments, at multiple facilities.

I am using the "Top Group" function to keep the books separate so operators from one instrument/department/facility don't contaminate another instrument/department/facility's logbook.

What I am wondering is there someway to set it up so that a system wide manager could post a message to 5 individual logbooks for 5 identical instruments at 5 different locations all at once (one ELOG server)?

I hope this made sense.  Thank you for your help.

Unfortunately this is not possible at the moment. You would have to use the menu command "copy to" and enable it for the admin user. Then you create your entry, and click on "copy to" once for each location you want to copy this entry.

 

I found a way to get this to work.  Define a "Messages" logbook for the messages to be broadcast.  None of the user installations need access to it. Use "Execute new = " to execute a script calling the elog command line client passing the message on to each target logbook.  Example:

--- elogd.cfg snippet begin ---

[Messages]

...

Execute new = mass_post.sh $text &

--- elogd.cfg snippet end ---

--- mass_post.sh begin ---

#!/bin/sh

elog -a Sender="System Administrator" -l "Logbook 1" $@

elog -a Sender="System Administrator" -l "Logbook 2" $@

elog -a Sender="System Administrator" -l "Logbook 3" $@

--- mass_post.sh end ---

The $@ expands to all the command line arguments, so the $text field, with all its spaces, gets passed correctly.  Sorry I showed you the example in bash/linux rather than in Windows, but I don't know Windows real well - you're better off translating into it yourself than my untested attempts.  The one thing I can tell you is that the "Execute new" command must include the "background fork".  In Linux this is provided by the & at the end of the line. In windows you'll need to use

Execute new = start "dummy" /min mass_post.bat

to background the process.  This is ESSENTIAL.  Without backgrounding the batch file, the elogd server will go into an infinite loop.  The parent process will wait for the child process to exit before continuing.  elogd is single-threaded, so the child process cannot start until the parent process has completed its current task (which is waiting for the child process to exit). 

You may need to tweak the above a little if you want to pass variable attributes to the script instead of defining them all in the script itself.

 

  65933   Thu Jul 24 11:21:54 2008 Question Franck Cfranck.c95@free.frQuestionWindows WINDOWS binaries with latest fixes.

Hi,

When the WINDOWS binaries with the latest bug fixes will be available on the download page ?

Have a nice day

  65934   Thu Jul 24 11:28:30 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: WINDOWS binaries with latest fixes.

Franck C wrote:

Hi,

When the WINDOWS binaries with the latest bug fixes will be available on the download page ?

Have a nice day

 Whenever you ask for it 

I made you an elog274-1.exe containing revision 2118.

  65951   Mon Aug 11 20:35:16 2008 Question Marimar Rodriguezclarice.rogue@gmail.comBug reportWindows Copy & Move To in Spanish

Hi,

when I choose the Spanish language, the command Copy To isn't allowed. I have had to change the language file and  change the line:

Copy To = Copiar a

to

Copy To = Copy To

 

Bye!

  65952   Tue Aug 12 08:42:58 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows Re: Copy & Move To in Spanish

Marimar Rodriguez wrote:

when I choose the Spanish language, the command Copy To isn't allowed. I have had to change the language file and  change the line:

Copy To = Copiar a

to

Copy To = Copy To

That's strange. I just tried (even with Spanish) and it worked for me. Which version of elog do you have installed? Can you send me your elogd.cfg file?

  65955   Mon Aug 25 17:23:22 2008 Question Davide Salomonidsalomoni@gmail.comQuestionLinux Grabbing user name from SSL user certificate

With SSL enabled, I'd like to to grab the CN (Common Name) of the user certificate and use that as login authentication method.

I am thinking of the following scenario:

- users with read & write privileges need to have an SSL certificate loaded in their browser. The "Author" field will be pre-set to the CN of the user certificate.

- authorization may be subject to further granularity (e.g. only allow users whose certificate belongs to a certain organization)

- read-only, guest access (without certificate) may or may not be allowed

 

Is there a way to do that?

  65957   Mon Sep 1 13:48:29 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: Grabbing user name from SSL user certificate

Davide Salomoni wrote:

With SSL enabled, I'd like to to grab the CN (Common Name) of the user certificate and use that as login authentication method.

I am thinking of the following scenario:

- users with read & write privileges need to have an SSL certificate loaded in their browser. The "Author" field will be pre-set to the CN of the user certificate.

- authorization may be subject to further granularity (e.g. only allow users whose certificate belongs to a certain organization)

- read-only, guest access (without certificate) may or may not be allowed

 

Is there a way to do that?

 I put your request on the wish list.

ELOG V3.1.5-3fb85fa6