Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Can't use the command-line client, posted by Pieter Edelman on Wed Mar 16 20:04:32 2005 
    icon2.gif   Re: Can't use the command-line client, posted by Stefan Ritt on Wed Mar 16 22:14:19 2005 
       icon7.gif   Re: Can't use the command-line client, posted by Pieter Edelman on Thu Mar 17 09:56:21 2005 
          icon2.gif   Re: Can't use the command-line client, posted by Stefan Ritt on Thu Mar 17 10:02:45 2005 
             icon2.gif   Re: Can't use the command-line client, posted by Pieter Edelman on Thu Mar 17 23:06:54 2005 
                icon2.gif   Re: Can't use the command-line client, posted by Stefan Ritt on Fri Mar 18 08:02:52 2005 
    icon5.gif   Re: Can't use the command-line client, posted by David Spindler on Tue Oct 4 19:40:27 2005 
       icon2.gif   Re: Can't use the command-line client, posted by David Spindler on Tue Oct 4 20:24:26 2005 
          icon2.gif   Re: Can't use the command-line client, posted by David Spindler on Tue Oct 4 20:33:05 2005 
Message ID: 987     Entry time: Wed Mar 16 22:14:19 2005     In reply to: 986     Reply to this: 988
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.5.7 
Subject: Re: Can't use the command-line client 
> There is a read password ("Read Password=..." entry in elogd.cfg) on
> the logbook which I cannot bypass from the client.

This is correct. The elog utility works with write passwords and user level access
(specifying a password file), but not with read passwords, that's not implemented. Use a
password file and you should be fine.

> There is a required attribute called "Publiek", and it's defined as
> MOptions. Whenever I try to upload, I keep getting the message that 
> it misses this attribute.

Your problem is that you try to combine a MOptions with a "-r <n>" (reply-to) option. I
have never tried that and found there is a problem. I changed the way MOptions are
submitted. Instead of using <name>_0, <name>_1 etc, you can now do a 

-a "<attrib>=<value1> | <value2>"

This also solves the problem with the "-r" option. You have to upgrade elogd.c from CVS.
ELOG V3.1.5-2eba886