Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 102 of 806  Not logged in ELOG logo
    icon2.gif   Re: From command line: "command Submit not allowed", posted by Stefan Ritt on Tue Oct 20 18:02:42 2020 
"submit not allowed" you typically get if there is a "guest menu" for read-only access and you are not logged in. I never tried the
elog program with PAM authentication, but you said that your turned authentication off. What I would do is to strip down your elogd.cfg to a very simple
form until the elog utility works, then figure out which configuration makes the trouble.
    icon2.gif   Re: From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 18:26:26 2020 
Hmmm... I added "New" to the Guest menu list, and the button showed up for a guest user. But when I submitted the new ticket, I got the message Error:
Command "Submit" is not allowed for user ""




Stefan
    icon2.gif   Re: From command line: "command Submit not allowed", posted by Stefan Ritt on Tue Oct 20 18:40:05 2020 
Giving up. Send me your config file and I will debug it.

Stefan




David
    icon2.gif   Re: From command line: "command Submit not allowed", posted by David Wallis on Tue Oct 20 20:44:03 2020 
I've been able to work around this by completely turning off authentication, and adding New to the Guest menu list.

One additional question: since I'm uploading historical logbook entries, is it possible to set the entry creation date via the command line?
It seems that elogd is overriding the attribute "Date".
    icon2.gif   Re: From command line: "command Submit not allowed", posted by David Dunne on Wed Oct 21 03:08:21 2020 
FYI, I had problems a few weeks ago trying to get the command line elog working, blamed everybody and everything but myself.

In my case it was command line syntax errors and eventually got it going as part of a nightly script

While testing I ran the Elog Server from the command line in verbose mode to see if that helped determine the problem.
    icon2.gif   Re: From command line: "command Submit not allowed", posted by David Wallis on Wed Oct 21 15:14:13 2020 
Hi David, thanks for your input!

This logbook has been around for almost 10 years, and has evolved from file-based authentication, to LDAP, and finally to PAM (that can use any
of local password files, LDAP, and Active Directory), and I'm thinking that might be the root of this problem. There are old account entries from the
icon5.gif   Cannot submit due to authentification errors, posted by Informatica Unidad SSBB AEMET VALENCIA on Fri Aug 16 13:24:26 2019 
Hi everyone.

We are new in ELOG. We have installed it and created new logbooks following the "demo" one. We have configured our SMTP host, with
email and pass, but we obtain this error when submit
    icon2.gif   Re: Cannot submit due to authentification errors, posted by Andreas Luedeke on Sat Aug 17 22:23:34 2019 
If you post the [global] part of your configuration, it would help a little bit to understand the problem.

Cheers, Andreas




Informatica
ELOG V3.1.5-3fb85fa6