Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 195 of 238  Not logged in ELOG logo
icon1.gif   Subst on Reply, posted by Emiliano Gabrielli on Fri Jul 8 10:52:36 2005 
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)
    icon1.gif   Re: Subst on Reply, posted by Stefan Ritt on Fri Jul 8 22:38:51 2005 

Emiliano Gabrielli wrote:
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)


You need
Preset on reply Author = $short_name
. Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author

The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">

you can use
Subst Category = $category <img src="icons/$category.png" border="0">

which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry.
       icon1.gif   Re: Subst on Reply, posted by Emiliano Gabrielli on Sat Jul 9 14:13:10 2005 

Stefan Ritt wrote:

You need
Preset on reply Author = $short_name
. Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author

The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">

you can use
Subst Category = $category <img src="icons/$category.png" border="0">

which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry.


Ok it's working perfectly, my bad Iwas lost in the huge set of config parameters elog accept the first time I installed it Smile

Thank you so much Stefan
icon5.gif   New Message Formatting and Default Settings, posted by Gary Clayson on Thu Jul 7 04:44:12 2005 
Hello All. Please Help! How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect. The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used). Also How can I turn off the icon selection panel to the left of a new message text box? And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails? Forgive me for asking yet another - but the same question about turning off the Encoding buttons - Is there some method of setting I can enter into the config file to turn off the Encoding and default it to text entry only?

Forgive this entry being so long, I'm new to using ELOG; Thanks Stefan for an incredible application. Well thought out and elegant. Keep up the good work.

Gary ;->

PS Reworking the source code, then recompiling it, is not a viable option for me at this time.
    icon3.gif   Re: New Message Formatting and Default Settings, posted by Gary Clayson on Thu Jul 7 05:26:36 2005 

Gary Clayson wrote:
Hello All. Please Help! How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect. The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used). Also How can I turn off the icon selection panel to the left of a new message text box? And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails? Forgive me for asking yet another - but the same question about turning off the Encoding buttons - Is there some method of setting I can enter into the config file to turn off the Encoding and default it to text entry only?

Forgive this entry being so long, I'm new to using ELOG; Thanks Stefan for an incredible application. Well thought out and elegant. Keep up the good work.

Gary ;->

PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


I just downloaded and installed beta2 and most of my questions have been answered. I now have a new question: What are the possible settings with the 'Default Encoding' flag? Can I please get a rundown on this one as the config syntax page does not list this one. Thanks in Advance.

Gary ;->
       icon3.gif   Re: New Message Formatting and Default Settings, posted by Stefan Ritt on Thu Jul 7 08:43:37 2005 

Gary Clayson wrote:
I just downloaded and installed beta2 and most of my questions have been answered. I now have a new question: What are the possible settings with the 'Default Encoding' flag? Can I please get a rundown on this one as the config syntax page does not list this one. Thanks in Advance.


The config page does list this one, but you have to access the online one since I have no access to modify the one you have on your hard disk Wink
    icon2.gif   Re: New Message Formatting and Default Settings, posted by Stefan Ritt on Thu Jul 7 09:11:45 2005 

Gary Clayson wrote:
How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect.


You need the current CVS version which has this implemented, or you wait for the next official release.


Gary Clayson wrote:
The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used).


MS Exchange Server has and SMTP server inside, I use this all the time.


Gary Clayson wrote:
Also How can I turn off the icon selection panel to the left of a new message text box?


By clicking on the smiley on the top row next to "FONT".


Gary Clayson wrote:
And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails?


You can put a
Suppress email to users = 1
into the config file, but the checkbox will still be there, but non-functional. Maybe I should remove it in that case...


Gary Clayson wrote:
PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


You are not supposed to rework the source code, but if you want the cutting edge features, you need to recompile from CVS or wait for official releases.
       icon2.gif   Re: New Message Formatting and Default Settings, posted by Gary Clayson on Fri Jul 8 22:25:39 2005 

Stefan Ritt wrote:

Gary Clayson wrote:
How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect.


You need the current CVS version which has this implemented, or you wait for the next official release.


Gary Clayson wrote:
The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used).


MS Exchange Server has and SMTP server inside, I use this all the time.


Gary Clayson wrote:
Also How can I turn off the icon selection panel to the left of a new message text box?


By clicking on the smiley on the top row next to "FONT".


Gary Clayson wrote:
And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails?


You can put a
Suppress email to users = 1
into the config file, but the checkbox will still be there, but non-functional. Maybe I should remove it in that case...


Gary Clayson wrote:
PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


You are not supposed to <b>rework</b> the source code, but if you want the cutting edge features, you need to recompile from CVS or wait for official releases.


I apologize for my using the incorrect language. I did not mean I would be rewriting your code, merely compiling, linking, and running the new version. The computer elog is loaded one is not one I have access to a compiler on. Sorry if I misspoke!

Gary
icon3.gif   Request: can the comment for a log book be put in the status bar on hover, posted by Tim Iskander on Wed Jul 6 16:02:30 2005 
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim
    icon3.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Gary Clayson on Thu Jul 7 04:47:09 2005 

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim


I wonder if there is any way to use the javascript 'window.status' method to accomplish this. It would be a nice addition when there are many logbooks.
Gary ;->
    icon2.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Stefan Ritt on Thu Jul 7 21:48:31 2005 

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan
       icon7.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Tim Iskander on Fri Jul 8 13:32:56 2005 

Stefan Ritt wrote:

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan


I like it!
thanks...
/Tim
icon5.gif   A comprehensive listing of all commands elog performs, posted by Gary Clayson on Thu Jun 2 06:45:55 2005 
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->
    icon5.gif   Re: A comprehensive listing of all commands elog performs, posted by Emiliano Gabrielli on Fri Jun 3 18:11:09 2005 

Gary Clayson wrote:
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->


there's a link in the main elog web page.. it's under the Admin guide and it is the elog.cfg syntax guide
       icon14.gif   Re: A comprehensive listing of all commands elog performs, posted by Gary Clayson on Thu Jul 7 04:49:19 2005 

Emiliano Gabrielli wrote:

Gary Clayson wrote:
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->


there's a link in the main elog web page.. it's under the Admin guide and it is the elog.cfg syntax guide


thanks for the advice. DuH on me, I just needed to read the syntax page a little more closely.
icon1.gif   [BUG] attach=1 and inline imgs, posted by Emiliano Gabrielli on Mon Jul 4 18:46:25 2005 elog-showattach_bug.jpg
There is a little difference in the way elog treats attachment's display in list and single message view...
It has to be, but some beaviours can be seen as bugs:

  • this is a real bug (see attachment).. if a file is referred inside the text (as shown in elcode docs) it is correctly not shown when in single message view, but it remains visible both inline and as attachment in the full list view
  • it would be nice for the user having, as in the single message view, the possibility of show or hide a single or all the attachements of a single message ..
    icon2.gif   Re: [BUG] attach=1 and inline imgs, posted by Stefan Ritt on Tue Jul 5 22:35:52 2005 

Emiliano Gabrielli wrote:
There is a little difference in the way elog treats attachment's display in list and single message view...
It has to be, but some beaviours can be seen as bugs:

  • this is a real bug (see attachment).. if a file is referred inside the text (as shown in elcode docs) it is correctly not shown when in single message view, but it remains visible both inline and as attachment in the full list view
  • it would be nice for the user having, as in the single message view, the possibility of show or hide a single or all the attachements of a single message ..


I removed attachment displays for all views if the image is referenced inline. A potential problem is that it might confuse people. During submission (and later during editing), they see an attachment at the bottom, but the link at the botton is not visible in normal display. If they want to extract an inline image into a file, they have to know that there is a "Save image as..." in their browser. So let's see how many people complain.
icon4.gif   [BUG] show only new entries, posted by Emiliano Gabrielli on Wed Jun 22 11:04:41 2005 
the new link "show only new entries" is very useful but seems to still have some problems:

  • I can't find any simple way to return to the "every entries" display .. may be the link has to be switched to a checkbox to be actived or not
  • I found a way (at least)... following the "config" link, doing nothing and coming back restores the view .. this is a feature now, but when a less tricky mechanism will be implemented will become a bug Tongue


another entry for my wishlist:
writeing the above code I noticed that the elcode buttons are lacking of a "
  • " shortcut .. it will be very usefull Smile

    PS:
    Writeing the wish above I noticed that the [ *] is interpreted as an item also otside the LIST tag .. so .. or the LIST tag is optional, or the [ *] should not be interpreted outside of it ... it's another bug ? TongueP
  •     icon4.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Fri Jun 24 22:44:03 2005 

    Emiliano Gabrielli wrote:
    the new link "show only new entries" is very useful but seems to still have some problems:

    • I can't find any simple way to return to the "every entries" display .. may be the link has to be switched to a checkbox to be actived or not
    • I found a way (at least)... following the "config" link, doing nothing and coming back restores the view .. this is a feature now, but when a less tricky mechanism will be implemented will become a bug Tongue


    I added a "Show all entries" link to go back.


    Emiliano Gabrielli wrote:
    another entry for my wishlist:
    writeing the above code I noticed that the elcode buttons are lacking of a "[ *]" shortcut .. it will be very usefull Smile


    I added that to elcode.js . So if you click on the list button, the (LIST) tag and the the first (*) are inserted.


    Emiliano Gabrielli wrote:
    Writeing the wish above I noticed that the [ *] is interpreted as an item also otside the LIST tag .. so .. or the LIST tag is optional, or the [ *] should not be interpreted outside of it ... it's another bug ? TongueP


    Well, the ELCode stuff if a poor man's version of HTML. So each [ LIST] gets converted into a <UL> tag, and each [ *] gets converted into a <LI> tag. This makes the interpretation very simple, but the code does have no clue if your are inside a [ LIST] or not. Common bulletin boards have exactly the same problem. To fix it, you would really have to interprete all the ELCode, and I don't want to write my own parser.
           icon4.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Mon Jun 27 15:09:12 2005 

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    the new link "show only new entries" is very useful but seems to still have some problems:

    • I can't find any simple way to return to the "every entries" display .. may be the link has to be switched to a checkbox to be actived or not
    • I found a way (at least)... following the "config" link, doing nothing and coming back restores the view .. this is a feature now, but when a less tricky mechanism will be implemented will become a bug Tongue


    I added a "Show all entries" link to go back.

    I think you only committed the changes to elcode.js but not the ones relative to elogd.c ... the Attribute quick filter is now empty, and no "show all entries" is ever displayed
              icon4.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Mon Jul 4 12:16:13 2005 

    Emiliano Gabrielli wrote:

    Stefan Ritt wrote:


    I added a "Show all entries" link to go back.

    I think you only committed the changes to elcode.js but not the ones relative to elogd.c ... the Attribute quick filter is now empty, and no "show all entries" is ever displayed


    Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"
                 icon2.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Mon Jul 4 22:44:03 2005 

    Emiliano Gabrielli wrote:
    Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"


    I tried to fix this in the current CVS. Can you give it a try?
                    icon2.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Tue Jul 5 11:32:34 2005 

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"


    I tried to fix this in the current CVS. Can you give it a try?


    the following patch has to be applied over the one of you to complete it Smile
    diff -u -r1.691 elogd.c
    --- src/elogd.c 4 Jul 2005 21:12:58 -0000       1.691
    +++ src/elogd.c 5 Jul 2005 09:29:57 -0000
    @@ -16728,7 +16728,7 @@
    
        /*---- apply last login cut ----*/
    
    -   if (isparam("new_entries") && isparam("unm"))
    +   if (isparam("new_entries") && atoi(getparam("new_entries")) == 1 && isparam("unm"))
           get_user_line(lbs, getparam("unm"), NULL, NULL, NULL, NULL, &ltime_start);
    
        /*---- assemble message list ----*/
                       icon2.gif   Re: [BUG] show only new entries, posted by Stefan Ritt on Tue Jul 5 11:51:14 2005 

    Emiliano Gabrielli wrote:
    the following patch has to be applied over the one of you to complete it Smile


    Ok, done.
    icon4.gif   [BUG] quick filter, posted by Emiliano Gabrielli on Thu Jun 23 11:03:18 2005 elog-calendar-test_1.jpg
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached
        icon2.gif   Re: [BUG] quick filter, posted by Stefan Ritt on Fri Jun 24 22:23:50 2005 

    Emiliano Gabrielli wrote:
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached


    Fixed in current CVS.

    BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.
           icon2.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:16:37 2005 

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached


    Fixed in current CVS.

    BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.


    Are you sure you really committed it ? Smile
    Reguarding the calendar... the picture is just one of my tests .. I started using a popup window, but it makes complicated to do all the job I want.. so my current idea is to implemnet it a a dropdown layer, it will save both the precious space and the functionality..
    I don't use the existing style becouse of, in the first popup try, it was to simple .. now I can't use it directly becouse I don't need any popup anymore.. but ok, we can keep the same style of course Smile
              icon2.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:19:05 2005 

    Emiliano Gabrielli wrote:

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached


    Fixed in current CVS.

    BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.


    uhm... now the drop down menu is composed of only blancs ..

    Reguarding the calendar... the picture is just one of my tests .. I started using a popup window, but it makes complicated to do all the job I want.. so my current idea is to implemnet it a a dropdown layer, it will save both the precious space and the functionality..
    I don't use the existing style becouse of, in the first popup try, it was to simple .. now I can't use it directly becouse I don't need any popup anymore.. but ok, we can keep the same style of course Smile
                 icon14.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:37:25 2005 

    Emiliano Gabrielli wrote:

    Stefan Ritt wrote:


    Fixed in current CVS.


    uhm... now the drop down menu is composed of only blancs ..


    the following patch should solve the problem Wink
    --- src/elogd.c 24 Jun 2005 20:22:33 -0000      1.685
    +++ src/elogd.c 27 Jun 2005 13:34:05 -0000
    @@ -15853,7 +15853,7 @@
                          if (comment[0] == 0)
                             strcpy(comment, attr_options[i][j]);
    
    -                     for (i1=i2=0 ; i1<=(int)comment ; i1++) {
    +                     for (i1=i2=0 ; i1<=(int)strlen(comment) ; i1++) {
                             if (comment[i1] == '(') {
                                option[i2++] = '\\';
                                option[i2++] = '(';
    
    icon5.gif   Cloning, posted by Gerfried Kumbartzki on Fri Jun 17 20:30:53 2005 
    Elog is installed on a laptop (Redhat Linux 2.4.20-8) for quite a while. I like to have a "base" of that logbook on a server and keep it
    in sync. Mirroring seem to be the perfect solution. For that I updated to elog v2.6.0 yesterday.

    The server is an Alpha running Linux Redhat 7.1. I compiled from elog-latest.tar and installed elog in the 'same' locations as on the laptop.
    Created a user elog and a group elog, put elogd.cfg, themes, logbooks ... in /usr/local/elog, owned by elog. Started the elogd, tested,
    all seems to work. The elogd.cfg has a read and write passwd set. Any user can access the logbook, read and write after providing the proper user id and password.
    Next I wanted to clone the logbooks from the laptop to the server. As superuser I can start elogd -v -C http://latop:8080, but get stuck right away with "Cannot contact elogd at http://laptop:8080/"
    As user it works as follows:

    Remote configuration successfully received.

    Option "Mirror server = http://wotan.rutgers.edu:8080" added to config file.
    Logbook directory "logbooks" successfully created.
    Created directory "demo"
    Indexing logbook "demo" ... Found empty logbook "demo"
    Created directory "tfexp"
    Indexing logbook "tfexp" ... Found empty logbook "tfexp"

    Retrieve remote logbook entries? [y]/n:

    Retrieving entries from "http://wotan.rutgers.edu:8080/demo"...
    ID1: Remote entry received

    Retrieving entries from "http://wotan.rutgers.edu:8080/tfexp"...
    Error accessing remote logbook

    Cloning finished. Check elogd.cfg and start the server normally.

    Allthough, tfexp contains a number of entries all owned by elog like the entry in demo.
    Beside missing the real stuff everything ends up in the users home directory. I would like it in the general area (/usr/local/elog for instance).

    The other option is to use synchronize after changing [global] from with in the browser. Start elogd, open the logbook and click on config,
    enter a Mirror server = http://laptop:8080/
    Clicking synchronize give "Error accessing remote logbook"

    Again, the logbooks are on both machines in /usr/local/elog/logbooks (owner:group elog:elog). The tfexp in this case is passwd protected.
    Any user can access the elogs in both machines, locally or remote. But, I'm unable to synchronize the two.
    Maybe somebody can point me in the right direction.

    Thank's Gerfried
        icon2.gif   Re: Cloning, posted by Stefan Ritt on Fri Jun 17 22:08:28 2005 

    Gerfried Kumbartzki wrote:
    The elogd.cfg has a read and write passwd set. Any user can access the logbook, read and write after providing the proper user id and password.


    This might be your problem. Try to temporarily remove the read and write password from you config file, then do the cloning, then put it back. Cloning works with a passowd file, but I haven't tested it with read/write passwords.


    Gerfried Kumbartzki wrote:
    Beside missing the real stuff everything ends up in the users home directory. I would like it in the general area (/usr/local/elog for instance).


    The cloning works in the current directory. So just go to /usr/local/elog and start "elogd -C ..." from there. Alternatively, copy your whole /usr/local/elog tree to the server manually. The "Synchronize" button then works again only with a password file. You need a "Mirror user = xxx" option in that case.
           icon2.gif   Re: Cloning, posted by Gerfried Kumbartzki on Wed Jun 22 18:34:18 2005 
    Thank you for the suggestions; I commented the read and write passwd in elogd.cfg out and only then I was able to clone
    (elogd -v -C http://laptop:8080) the logbook to the new server.
    But this is only part of the story. The logbook on the labtop is owned by the
    default user elog and default group elog, that is needed to start up the elogd. Only a user "elog" can do the cloning, unless temporarily the owner ship in /usr/local/elog is changed. I made it work by temporarily changing the owner ship on both machines, did the cloning, changed back to owner elog, started elogd and all was running.
    I setup synchronizing and here too it works only if the read passwd in elogd.cfg is commented out.
    Sync works fine from the RedHat linux laptop (rpm installed), but crashes the elogd on the alpha Linux machine (compiled from src) most of the time. elogd hast to be restarted and the sync had not finished.
    So for now I settled to do the synchronize only from the laptop but have to remove the read passwd each time. That is tolerable but not
    convenient.

    Here I have another question: My Elog is passwd protected, encrypted passwd in elogd.cfg (read and write). When connecting to the elog the window
    pops up asking for a user name and the passwd. I donot remember exactly, what was done to set name and passwd. But I find it "strange" that the user name can be anything as long as the passwd is right to access the ELog.
    I think I have to learn more about the whole user and passwd protection schema.

    Thanks again
    Gerfried
              icon2.gif   Re: Cloning, posted by Stefan Ritt on Fri Jun 24 21:24:55 2005 

    Gerfried Kumbartzki wrote:
    But this is only part of the story. The logbook on the labtop is owned by the
    default user elog and default group elog, that is needed to start up the elogd. Only a user "elog" can do the cloning, unless temporarily the owner ship in /usr/local/elog is changed. I made it work by temporarily changing the owner ship on both machines, did the cloning, changed back to owner elog, started elogd and all was running.


    The /usr/local/elog files should be owned by user elog on both machines, and both elogd daemons should be started under user elog. Since only the two elogd daemons communicate with each other during synchronization, that should be fine. Only after the initial cloning (which you presumably do under your own user account), you have to do a "chmod" to change ownership of all files to uid/gid "elog/elog".


    Gerfried Kumbartzki wrote:
    I setup synchronizing and here too it works only if the read passwd in elogd.cfg is commented out.


    As I said, the read password is not really supported for synchronization. It is there historically, from the times when there was no user level password access. If you use synchronization, you should use that authentication (by putting a "password file = ..." into your config.


    Gerfried Kumbartzki wrote:
    Here I have another question: My Elog is passwd protected, encrypted passwd in elogd.cfg (read and write). When connecting to the elog the window pops up asking for a user name and the passwd. I donot remember exactly, what was done to set name and passwd. But I find it "strange" that the user name can be anything as long as the passwd is right to access the ELog. I think I have to learn more about the whole user and passwd protection schema.


    If you switch to user level password access, this problem goes away as well.

    - Stefan
    ELOG V3.1.5-3fb85fa6