Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 424 of 808  Not logged in ELOG logo
    icon2.gif   Re: Login/Password request appears twice, posted by PJ Meyer on Wed Jan 12 23:48:18 2005 elogd.cfg
> > Have set up 3 top level groups, each with their own password file.
> > Ever since users have to 'login' twice to get to the appropriate elog.
> > You click on top level group, get to log book and click on the one you 
want 
> > and get login/password dialog box, click ok and and you get it again 
and 
> > then you finally get into the elog book.
> > 
> > Anything I can check on this behavior?
> 
> Sorry my late reply, was very busy these days... (;-) Can you send me your
> elogd.cfg so that I can see how you defined your groups?
> 
> - Stefan

OK elogd.cfg is attached.
    icon2.gif   Re: Login/Password request appears twice, posted by Stefan Ritt on Mon Jan 17 21:29:32 2005 
> OK elogd.cfg is attached.

I tried to reproduce your problem, but without success. I only have to login once. 

So can you please check how your cookies are set? Under Mozilla Firefox, enable
prompting for cookies (Tools/Options/Privacy/Cookies/Keep kookies=ask me every
time, IE must have similar switch). Each cookie contains a path, for which it
will be sent to the elogd in the future. Since you have your password files in
the [global] sections, they are valid for the whole set of logbooks and the path
is therefre "/". This means of course that the browser also tries to send the
cookies to the logbooks in the other top groups, since in the URL path they are
all next to each other (like "/Work+Requests", "/Completed+Work+Requests").

With the cookie prompting enabled, you can check which cookie gets set for which
directory. You should see a cookie "unm" for username, "upwd" for the encrypted
password and "urem" for the "Remember me" button. If the cookie contents is
empty, the cookie will be removed.

So carefully check the sequence of setting and resetting of cookies, trying to
figure out what goes wrong. It is a good idea for a starting point to delete all
your cookies.

- Stefan
    icon2.gif   Re: Login user problem, posted by Stefan Ritt on Fri Apr 4 09:01:11 2003 
> When I use the <Login user => option to specify what users I want to be 
> able to login into the different logbooks it does not seem to work.  Is 
> there something else you are supposed to do to restrict what logbooks users 
> can log into?

First, you need version 2.3.4 or later, second, you need a "password file = 
xxx" entry in your elogd.cfg to turn on user-level password access. If both 
is true and you still don't succeed, send me your elogd.cfg.

- Stefan
    icon2.gif   Re: Login user problem, posted by Byron on Fri Apr 4 19:46:56 2003 
> > When I use the <Login user => option to specify what users I want to be 
> > able to login into the different logbooks it does not seem to work.  Is 
> > there something else you are supposed to do to restrict what logbooks 
users 
> > can log into?
> 
> First, you need version 2.3.4 or later, second, you need a "password file = 
> xxx" entry in your elogd.cfg to turn on user-level password access. If both 
> is true and you still don't succeed, send me your elogd.cfg.
> 
> - Stefan

Ok, I installed the latest version and this is fixed.  Thanx!
    icon2.gif   Re: Login twice, posted by Stefan Ritt on Sat Jul 30 14:36:08 2005 

Carl Shirey wrote:
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.


Can you send me your elogd.cfg?
    icon2.gif   Re: Login twice, posted by Carl Shirey on Mon Aug 1 23:41:06 2005 elogd.cfg

Stefan Ritt wrote:

Carl Shirey wrote:
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this.


Can you send me your elogd.cfg?


Yes Here is a copy of the elog.cfg.

Thanks for your help
    icon2.gif   Re: Login twice, posted by Stefan Ritt on Thu Aug 4 21:44:53 2005 

Carl Shirey wrote:
Yes Here is a copy of the elog.cfg.


I tried with your config file and it worked fine. So can you tell me:

  • At what URL do you access your logbook? Do you just type http://localhost:8080 or anything else
  • Do you use any proxy or stunnel?
  • What is the URL in your browser showing on the first and second login?

You might want to consider to put a
URL = http://<your host>:8080/
into your config file.
    icon2.gif   Re: Login twice, posted by Carl Shirey on Fri Aug 5 02:14:22 2005 

Stefan Ritt wrote:

Carl Shirey wrote:
Yes Here is a copy of the elog.cfg.


I tried with your config file and it worked fine. So can you tell me:

  • At what URL do you access your logbook? Do you just type http://localhost:8080 or anything else
  • Do you use any proxy or stunnel?
  • What is the URL in your browser showing on the first and second login?

You might want to consider to put a
URL = http://<your host>:8080/
into your config file.


Thanks
Your questions that you ask me help me out.
What I was doing was typing in the URL was http://pdls:8080 and it took me the pass down log. When I went to login into Elog took me back to the log but the URL read http://pdls.pwfl.com:8080 so when I log in the second time I was to be the edit mode. So I guess I should have typing in the URL http://pdls.pwfl.com:8080.

Thanks again for your help
ELOG V3.1.5-3fb85fa6