ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66956
|
Thu Nov 25 17:34:28 2010 |
| Christoph Kukulies | kukulies@physik.rwth-aachen.de | Question | Linux | 2.8.0-2313 | Re: Don't see login page - Self register = 1 |
Yoshio Imai wrote: | Hi!
Christoph Kukulies wrote: | I cannot get the login screen. I'm connecting to a logbook (and I can do this without logging in).
Shouldn't I get a screen to login/register? |
Christoph Kukulies wrote: | Guest menu commands = List, Find, Login, Help |
I might be wrong, but since you have defined "Guest menu commands", you should indeed be able to read the logbooks without logging on, only write access should be prevented. Do you get the login window when you explicitly click onto the "Login" link?
Also, I noticed that your user lists are space-separated, although as far as I know they should be comma-separated.
I hope this helps!
Yoshio |
Thanks. That was exactly what Stefan pointed me to (in private EMail which I resorted to in my desperation .
This config (also thanks to Stefan) now works.
[global]
Port=8880
SSL=1
Self register = 1
Password file = passwd
[Demo]
Attributes = Author, Status
[Linux]
Attributes = Author, Status
[Windows]
Attributes = Author, Status
I only need to know how I get an admin passwd and user into the passwd file.
elogd -a password -l logbook does not have the desired effect. It spoils the cfg-file
again with Admin Password commands.
--
Christoph |
66957
|
Fri Nov 26 09:44:22 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.8.0-2313 | Re: Don't see login page - Self register = 1 |
Christoph Kukulies wrote: | I only need to know how I get an admin passwd and user into the passwd file.
elogd -a password -l logbook does not have the desired effect. It spoils the cfg-file
again with Admin Password commands. |
I told you twice (once in this thread) that you should not mix "password file" with "admin password". These are two different authentication schemes and may not be combined. What you need is only "admin user = <name>" in your config file as written in the documentation. |
66958
|
Fri Nov 26 11:42:50 2010 |
| Yoshio Imai | | Question | Linux | 2.8.0-2313 | Re: Don't see login page - Self register = 1 |
Christoph Kukulies wrote: | I only need to know how I get an admin passwd and user into the passwd file. |
You do this the same way as a regular user: use the self registration feature to create a user, and then declare this user to be the admin in your config file.
Yoshio |
66959
|
Fri Nov 26 12:31:42 2010 |
| Christoph Kukulies | kukulies@physik.rwth-aachen.de | Question | Linux | 2.8.0-2344 | New User in Config Menu ? |
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
--
Christoph
|
66960
|
Fri Nov 26 12:36:53 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.8.0-2344 | Re: New User in Config Menu ? |
Christoph Kukulies wrote: |
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
|
You have to be admin user to see that Config Menu.
Admin user = kukulies (or whatever your login name is) |
66961
|
Fri Nov 26 16:22:05 2010 |
| Christoph Kukulies | kukulies@physik.rwth-aachen.de | Question | Linux | 2.8.0-2344 | Re: New User in Config Menu ? |
Stefan Ritt wrote: |
Christoph Kukulies wrote: |
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
|
You have to be admin user to see that Config Menu.
Admin user = kukulies (or whatever your login name is)
|
Thanks. You see in the elogd.cfg above that there is
admin user = kuku
Aaah, case sensitive ! !
--
Christoph
|
66963
|
Wed Dec 1 17:03:01 2010 |
| Mariusz Stakowski | Mariusz.Stakowski@asseco.pl | Comment | Linux | 2.8.0 | Re: New password file problem |
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Hello,
I'm new to elog. I've installed it under Slackware 11. Everything worked smoothly until I wanted to establish access control. I followed the steps described under Access control heading in Syntax of elog.cfg chapter. I specified a new password file name and the following steps with no problem. After having created a new user I stopped elogd and added Admin user to config file. And here is my problem - each time I want to login to elog, I get "Invalid user name or password!" message. The meaning of it is obvious. So I have repeated all the steps several times. Of course I paid attention to enter user name and password correctly but I can't get rid of this message. For sure I making something wrong, but what it is ?
|
Can you try the current SVN version?
http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=/trunk/src/elogd.c&rev=0&sc=0
There has been some issues with the password encoding, maybe this is fixed now.
|
Thank you Stefan, it works now
Best regards
Mariusz Stakowski
|
66964
|
Thu Dec 2 10:15:26 2010 |
| Mariusz Stakowski | Mariusz.Stakowski@asseco.pl | Question | Linux | 2.8.0 | Adding attachment to an existing entry |
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
Best regards
Mariusz Stakowski |