Work on PAM Support?, posted by Steve Jones on Wed Feb 8 18:23:52 2006
|
Stefan (or any others):
Has anyone been seriously looking into building in PAM support in eLog? I ask because I have started reading the developer papers from Sun and looking at sample code.
Thanks
Steve |
Re: Work on PAM Support?, posted by Stefan Ritt on Thu Feb 9 09:12:44 2006
|
Steve Jones wrote: | Has anyone been seriously looking into building in PAM support in eLog? I ask because I have started reading the developer papers from Sun and looking at sample code. |
Not really. I have two big issues higher on my list: XML database format and multithreaded HTTP server. From having a quick look to PAM, I was not sure how easy this would be to implement. If it's not too difficult, it could move higher in the priority list. |
Re: Work on PAM Support?, posted by Steve Jones on Thu Feb 9 19:51:26 2006
|
Stefan Ritt wrote: |
Steve Jones wrote: | Has anyone been seriously looking into building in PAM support in eLog? I ask because I have started reading the developer papers from Sun and looking at sample code. |
Not really. I have two big issues higher on my list: XML database format and multithreaded HTTP server. From having a quick look to PAM, I was not sure how easy this would be to implement. If it's not too difficult, it could move higher in the priority list. |
Tell you what, I'm looking at two items related to eLog -- tell me to stop if you want:
- forkpty() emulation for Solaris
- PAM support
I'm furthur ahead on the forkpty() - just trying to figure out exactly where to place the code. Once I know it works then I can give it to you to incorporate. Unless you want what I have now and you can work on it.
I've also got quite a bit of reference code for PAM support. A little more daunting. |
menu commands - user list does not match config list, posted by Alan Stone on Thu Feb 9 00:37:29 2006
|
I am attempting to configure the Elog for use at the CMS Remote Operations Center
at Fermilab. I included the following option:
Menu commands = List, New, Reply, Duplicate, Find, Last day, Config, Admin, Login, Logout, Help
but the available list (after restarting the elog daemon) gives me:
CMS ROC Logbook, Page 1 of 1 Logged in as "Alan Stone" ELOG Home
New | Find | Select | CSV Import | Config | Logout | Help
Did I miss a step in the syntax instructions?
Thanks, Alan |
Re: menu commands - user list does not match config list, posted by Stefan Ritt on Thu Feb 9 09:04:05 2006
|
Alan Stone wrote: | I am attempting to configure the Elog for use at the CMS Remote Operations Center
at Fermilab. I included the following option:
Menu commands = List, New, Reply, Duplicate, Find, Last day, Config, Admin, Login, Logout, Help
but the available list (after restarting the elog daemon) gives me:
CMS ROC Logbook, Page 1 of 1 Logged in as "Alan Stone" ELOG Home
New | Find | Select | CSV Import | Config | Logout | Help
Did I miss a step in the syntax instructions? |
Yap. There are two menus, one for the listing page which contains only line per entry, and one for the individual entry page. You changed the one for the individual entry page, which you will see when you slick on any entry. To change the listing page manu, do a List Menu commands = ... |
Problem with MOptions , posted by Ulrich Trüssel on Wed Feb 8 07:31:09 2006
|
After upgrading to 2.6.1-1 (actually donwgraded in case of this problem to 2.6.0) i was not longer able to selct more than one MOptions selection in my ELOGs. Only the first slected selection was acepted by ELOG. Ex:
MOptions Test = Aa, Bb, Cc, Dd, Ee, Ff, Gg
Selecting: Bb, Cc, Gg
Submitting the entry form, autoreturn to the overview of the even made entry, only Bb was taken.
Any Idea what's happen? Did I miss something changing in 2.6.1-1 or may this be a bug? Thanks for ideas?
Would loke to upgreade to 2.6.1. in case of the new forms for long MOptions, but need to selct more than one! |
Re: Problem with MOptions , posted by Stefan Ritt on Wed Feb 8 11:56:02 2006
|
Ulrich Trüssel wrote: | After upgrading to 2.6.1-1 (actually donwgraded in case of this problem to 2.6.0) i was not longer able to selct more than one MOptions selection in my ELOGs. Only the first slected selection was acepted by ELOG. Ex:
MOptions Test = Aa, Bb, Cc, Dd, Ee, Ff, Gg
Selecting: Bb, Cc, Gg
Submitting the entry form, autoreturn to the overview of the even made entry, only Bb was taken.
Any Idea what's happen? Did I miss something changing in 2.6.1-1 or may this be a bug? Thanks for ideas?
Would loke to upgreade to 2.6.1. in case of the new forms for long MOptions, but need to selct more than one! |
That should work in 2.6.1-2 now. |
Numbered lists get closed by </ul>, posted by T. Ribbrock on Mon Jan 30 16:26:08 2006
|
I just ran into the following problem (and was able to reproduce it in the "demo" logbook on this site):
Numbered list follows:
- one
- two
- three
This text is indented, as the list was not closed properly.
- four
- five
- six
And now we have double indention... |
Re: Numbered lists get closed by </ul>, posted by Stefan Ritt on Tue Feb 7 12:58:10 2006
|
T. Ribbrock wrote: | I just ran into the following problem (and was able to reproduce it in the "demo" logbook on this site):
Numbered list follows:
- one
- two
- three
This text is indented, as the list was not closed properly.
- four
- five
- six
And now we have double indention... |
I can't see any double indention there...
But seriously I fixed that problem and updated this elog server already. It's in SVN revison 1653. The code now correctly chooses the proper </ul> or </ol>. What will not work however are nested lists, like an ordered list inside an unordere list, but that's anyhow very uncommon. |
sort after find, posted by Willem Koster on Fri Feb 3 12:38:57 2006
|
When I do a find (like Field1 = XXX )
and then try to sort the results I get the entire list again (but sorted) instead of the sorted results.
But when I fabricate a url manually like
http://elog.com/Forum/?mode=summary&npp=990&Field1=XXX&sort=field2
I do get the search-results nicely sorted.
Obviously I would like to be able to sort the result of a find-query.
Is this a bug or a feature request ? |
Re: sort after find, posted by Stefan Ritt on Mon Feb 6 17:15:11 2006
|
Willem Koster wrote: | Obviously I would like to be able to sort the result of a find-query. |
That worked some time ago, but did not work currently. So I fixed that in the current SVN version. |
elog allows me to create user "blahblah ", posted by Dimitrios Tsirigkas on Fri Feb 3 18:15:47 2006
|
Hi,
I noticed that when I register a username that contains whitespaces (eg "boing "), elog allows me to create the user of that name and updates the password file accordingly. It doesn't log me in, but it gives me no error message either. I also found that if I repeat the process it adds yet another entry in the password file, by the same name "boing ". Is that a bug or is there something wrong with my configuration?
Cheers,
Dimitris |
Re: elog allows me to create user "blahblah ", posted by Dimitrios Tsirigkas on Fri Feb 3 18:25:32 2006
|
By the way, it is also possible to create a user that doesn't have a password! Shouldn't that be forbidden?
Dimitris |
Re: elog allows me to create user "blahblah ", posted by Stefan Ritt on Mon Feb 6 12:54:25 2006
|
Dimitrios Tsirigkas wrote: | By the way, it is also possible to create a user that doesn't have a password! Shouldn't that be forbidden? |
Well, some people want that! |
Re: elog allows me to create user "blahblah ", posted by Dimitrios Tsirigkas on Mon Feb 6 16:27:45 2006
|
Stefan Ritt wrote: |
Dimitrios Tsirigkas wrote: | By the way, it is also possible to create a user that doesn't have a password! Shouldn't that be forbidden? |
Well, some people want that! |
Ok, fair enough. But maybe there could be an optional flag in the configuration that disables blank passwords... I wouldn't want some imposter to start entering stuff under the username of another user, so it would be nice if I could have some way of forcing them to have a password, even if it's a one-letter password.
Thanks,
Dimitris |
Re: elog allows me to create user "blahblah ", posted by Stefan Ritt on Mon Feb 6 16:53:41 2006
|
Dimitrios Tsirigkas wrote: | I wouldn't want some imposter to start entering stuff under the username of another user, so it would be nice if I could have some way of forcing them to have a password, even if it's a one-letter password. |
Ok, I added an empty password check. If too many people will complain, I will make it a flag. |
Re: elog allows me to create user "blahblah ", posted by Stefan Ritt on Mon Feb 6 12:58:26 2006
|
Dimitrios Tsirigkas wrote: | I noticed that when I register a username that contains whitespaces (eg "boing "), elog allows me to create the user of that name and updates the password file accordingly. It doesn't log me in, but it gives me no error message either. I also found that if I repeat the process it adds yet another entry in the password file, by the same name "boing ". Is that a bug or is there something wrong with my configuration? |
Well, I tell you what is wrong: The form says explicitly (name may not contain blanks) and you did not listen 
I can add a simple check if the name contains blanks, but then some people will come up with other strange characters (@#$%), and I'm not sure which of those gives problems. If you test this carefully and tell me which characters to make forbidden, I will happyly add a simple check. |
[261] problem with month selection, posted by Willem Koster on Fri Feb 3 11:54:22 2006
|
I have several date-fields defined in my logboek. But when I click the icon and select another month the pop-up
window get's filled with the contants of the logboek instead of the date-selection.
Date format = %Y%m%d |
Re: [261] problem with month selection, posted by Stefan Ritt on Mon Feb 6 12:52:09 2006
|
> I have several date-fields defined in my logboek. But when I click the icon and select another month the pop-up
> window get's filled with the contants of the logboek instead of the date-selection.
Ups, that problem must have been there for quite some time now. I fixed it in the current SVN version. |
Running ELOG under Apache, posted by Dimitrios Tsirigkas on Mon Jan 30 11:41:18 2006
|
Hi,
Sorry if this has been asked elsewhere and I'm missing it. I want to stop users from accessing my elog by loading the URL: http://mycomputerURL:8080 and only make it accessible through http://mycomputerURL/elog. The end goal would be to use Apache to control access. I followed the instructions under "Running elogd under Apache" in the admin guide, but what that did was simply to redirect browsers trying to load ttp://mycomputerURL/elog to http://mycomputerURL:8080.
Thanks,
Dimitris |
Re: Running ELOG under Apache, posted by Stefan Ritt on Mon Jan 30 12:27:08 2006
|
Dimitrios Tsirigkas wrote: | Sorry if this has been asked elsewhere and I'm missing it. I want to stop users from accessing my elog by loading the URL: http://mycomputerURL:8080 and only make it accessible through http://mycomputerURL/elog. The end goal would be to use Apache to control access. I followed the instructions under "Running elogd under Apache" in the admin guide, but what that did was simply to redirect browsers trying to load ttp://mycomputerURL/elog to http://mycomputerURL:8080. |
If you want to have user-level access control, you need to do that with the config option
Password file = ...
Then, if you have the
URL = http://mycomputerURL/elog
statement in your config file, you get redirected from elogd after each login automatically to that URL. If you physically want to block the 8080 port, you have to do that on the operating system level, like with iptables or ipchains. |