Re: [SLUG] File based databases?

2004-02-20 Thread Matthew Palmer
On Sat, Feb 21, 2004 at 05:03:38PM +1100, Brad Kowalczyk wrote:
> I have had a little look at SQLite that is built in to php5, looks neat.

Built into PHP5?  It's a separate application library with bindings for
multiple languages.  AFAIK, it's no more "built-in" to PHP5 than it is built
into Perl, Python, or C++.

- Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] File based databases?

2004-02-20 Thread Brad Kowalczyk
Erik de Castro Lopo wrote:

Hi all,

I need a file based database for a program I'm working on. I don't
want to have the whole database server thing happening that you
get with MySQL which is also a bit heavyweight for my pruposes.
I'm thinking of using Tridge's libtdb, but I'd like to look at
other options as well.
Any suggestions?

Erik
 

I have had a little look at SQLite that is built in to php5, looks neat.

cheers,
Brad
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] key management for pgp keys

2004-02-20 Thread Mark Canavan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just in case the original question was the correct scenario.

You do not have to worry too much about a public key. It is designed to be 
used to send someone a message only they can decrypt.

On the other side of the equation if you have a private key on your server

Assuming the "private" keys are stored on your servers, they are your private 
keys, the ciphertext is sent to you. You decrypt to get plain text.

Private key management is a matter of 
Limiting access to the repository.
Store locally with a strong (long) passphrase.

Limiting access the passphrase which it encrypted with
Do not store passphrase in a config file etc.
One way is to have a user enter the passphrase into your server on 
startup 
and immediately obfuscate the phrase in the app process memory space. It can 
then be used to access the private key when a meesage has to be decrypted. In 
this case you trust the operator who starts the server and enters the phrase 
and not the integrity of the server. 

You may want to authenticate the sender too.
Ensure they sign with their private key as well as encrypt
Authenticate the sig against their public key on your server.
This guarantees who sent the message.

Hope this is of assistance

Mark

On Sat, 14 Feb 2004 08:34 am, Andrew Cowie wrote:
> On Fri, 2004-02-13 at 22:15, Ken Foskey wrote:
> > If we have their public key installed
>
> You meant "private" here, right?
>
> > Any other thoughts on how to protect the keys?
>
> Keychain sized USB flash drive which the secret keychain is carried on?
>
> Also - if you used symmetric encryption throughout (PGP supports, gpg
> option -c) then it would just be a conventional matter of remembering
> the encryption passphrase as opposed to public/private key management
> issues.
>
> AfC
>
> --
> Andrew Frederick Cowie
> Operational Dynamics Consulting Pty Ltd
>
> Australia: +61 2 9977 6866  North America: +1 646 472 5054
>
> http://www.operationaldynamics.com/

- -- 
~~~
~ | |\ |\ | | /  Mark Canavan
~ | || |-||-||-   http://www.inbhe.org
~ | || |/ | | \  
~~~
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFANu6KsRo8bGZWxRsRAhY8AKCCcaztuLrO8w83Gy3OKvn6Q58KJwCdGNiM
aoq/PdtU6DwZ6Wx/34YFJSw=
=k+id
-END PGP SIGNATURE-

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] File based databases?

2004-02-20 Thread Matthew Palmer
On Sat, Feb 21, 2004 at 03:08:32PM +1100, Erik de Castro Lopo wrote:
> I need a file based database for a program I'm working on. I don't
> want to have the whole database server thing happening that you
> get with MySQL which is also a bit heavyweight for my pruposes.

I'll second Jeff's suggestion of SQLite.  It has bindings for most
widely-used languages, supports some advanced SQL features, and does the job
in a lot of places where MySQL might currently be used.

That being said, I find MySQL's SQL extensions (like IF EXISTS, IF NOT
EXISTS, and so forth), as well as a few of the bits of SQL92 that MySQL
supports and SQLite doesn't, to be *very* useful.  I'm investigating the
possibility of using libmysqld as a MySQL-syntax-compatible SQLite-like
system.

- Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] accessing MS desktops from Linux

2004-02-20 Thread Michael Lake
Sonia Hamilton wrote:
One of my clients is planning to upgrade their network, and I'm pricing MS
(Terminal services + a whole n/w of new desktops + licenses - ouch). What
I want to do is put Linux on all the old desktops, and have graphical
access to 1 windows machine - what can I run on Linux that will do this?
I know I can use VNC, but it's a bit clunky, especially since the 1
Windows app that the users need to access is their main app (which they
use all day).
Anyone had experience with the Citrix ICA Client running on Linux? It
looks promising.
Any other hints as to what I could use?

--
Sonia Hamilton
We use Citrix Metaframe at work. Most users of the Citrix system use
a small Wyse thin client, which is WinCE running in Flash -- it 
sometimes crashes as you might expect.

I have the client installed on a Red Hat 8 desktop system because I need
to admin a pile of Unix systems.
The server farm runs Win 2k and is fairly fast unless someone else runs
a memory-hungry application.
The system does NOT save on Windows licenses (you still need to buy one
license for the server, one CAL for each user on the server, plus one 
CAL per user display. plus the Citrix server license).
The Citrix client license is free (as in beer).
The cost savings are in desktop support, which in a largish company are
a significant cost to running a business.
Performance-wise: good for running office apps, ERP/CRM clients and the 
like. It will play movies but only in a sucky little window, and beware
of upsetting other users by hogging all their memory.
On the server side, the memory should be as much as will fit in the
server farm. Clients need to be automatically disconnected each night to 
prevent server-side crashes due to memory leaks.

Having said all that, you might want to investigate the new Sun Java 
desktops; I saw a demo the other day. Very nice stuff. They run Office 
style apps from Staroffice.

I don't see why, in a small office environment, you can't run Open 
Office from a Linux desktop.
Check what applications your users need to run; most can run from Linux 
these days. Most of the larger manufacturers (with a couple of annoying 
exceptions) have ported (or will be porting) their applications to 
Linux. Examples: Computer Associates, Adobe, Mentor Graphics...

Regards,

Jill.
(sneaking Mike's desktop for a moment)


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] File based databases?

2004-02-20 Thread Jeff Waugh


> I need a file based database for a program I'm working on. I don't want to
> have the whole database server thing happening that you get with MySQL
> which is also a bit heavyweight for my pruposes.
> 
> I'm thinking of using Tridge's libtdb, but I'd like to look at other
> options as well.

tdb or SQLite [1] :-)

- Jeff

[1] http://sqlite.org/

-- 
GVADEC 2004: Kristiansand, Norwayhttp://2004.guadec.org/
 
 http://www.illusionary.com/GNOMEvKDE.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] File based databases?

2004-02-20 Thread Erik de Castro Lopo
Hi all,

I need a file based database for a program I'm working on. I don't
want to have the whole database server thing happening that you
get with MySQL which is also a bit heavyweight for my pruposes.

I'm thinking of using Tridge's libtdb, but I'd like to look at
other options as well.

Any suggestions?

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
A sufficiently advanced programming error is
indistinguishable from the Windows 95 Operating System.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] accessing MS desktops from Linux

2004-02-20 Thread Phil Scarratt
Sonia Hamilton wrote:
One of my clients is planning to upgrade their network, and I'm pricing MS
(Terminal services + a whole n/w of new desktops + licenses - ouch). What
I want to do is put Linux on all the old desktops, and have graphical
access to 1 windows machine - what can I run on Linux that will do this?
I know I can use VNC, but it's a bit clunky, especially since the 1
Windows app that the users need to access is their main app (which they
use all day).
Anyone had experience with the Citrix ICA Client running on Linux? It
looks promising.
Any other hints as to what I could use?

--
Sonia Hamilton
.
"The spec said Windows 2000 or better...so I installed Linux"
Try rdesktop - assuming you have Terminal Services. The negative of 
course is you still need a Windows licence per connection to terminal 
service (AFAIK).

You could consider BOCHS - PC emulator and running a windows inside 
that. Again, legally you need a licenced copy of windows per install.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] accessing MS desktops from Linux

2004-02-20 Thread David Uzzell
Sonia Hamilton wrote:
One of my clients is planning to upgrade their network, and I'm pricing MS
(Terminal services + a whole n/w of new desktops + licenses - ouch). What
I want to do is put Linux on all the old desktops, and have graphical
access to 1 windows machine - what can I run on Linux that will do this?
I know I can use VNC, but it's a bit clunky, especially since the 1
Windows app that the users need to access is their main app (which they
use all day).
Anyone had experience with the Citrix ICA Client running on Linux? It
looks promising.
Any other hints as to what I could use?

--
Sonia Hamilton
.
"The spec said Windows 2000 or better...so I installed Linux"


If you are going to run Terminal Services you could use rdesktop which 
is just a TS client, WOrks great for what I want to do with it not sure 
how it fits into what you want to do with it.

David
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] accessing MS desktops from Linux

2004-02-20 Thread Sonia Hamilton
One of my clients is planning to upgrade their network, and I'm pricing MS
(Terminal services + a whole n/w of new desktops + licenses - ouch). What
I want to do is put Linux on all the old desktops, and have graphical
access to 1 windows machine - what can I run on Linux that will do this?

I know I can use VNC, but it's a bit clunky, especially since the 1
Windows app that the users need to access is their main app (which they
use all day).

Anyone had experience with the Citrix ICA Client running on Linux? It
looks promising.

Any other hints as to what I could use?

--
Sonia Hamilton
.
"The spec said Windows 2000 or better...so I installed Linux"
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Remote keyboard/mouse combo

2004-02-20 Thread [EMAIL PROTECTED]
> If you've seen a remote keyboard mouse combo, I'd love to know - my
> searching has so far been fruitless.

Took a while to find out the make and model, but I've seen a Chicony
KB-9820 in reasonably effective use. IR communication, mouse-type disc
on the RHS of the keypad, and L/R mouse keys to the left.


Cheers,
James
-- 
...so there I am at ten thousand feet with a power drill in one hand, a
takeaway menu in the other, no parachute and a _very_ suprised
expression...


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Fedora Core 1 Boot problems - help please

2004-02-20 Thread billb
Have had Fedora Core 1 - with all updates - runninhg 100% without problems.

Update of 2.4 kernel placed additional entry in Grub menu for later 2.4 
kernel as default.

I updated/installed 2.6 kernel from Test and now I can only boot into text 
mode.

System says pointer device not found and XServer will not load.

I've checked the XF86Config file and all appears OK - correct mouse details 
(Generic PS2) and Monitor (NEC E950 with correct resolutions etc).

How can I
(1) either get 2.6 to load XServer, or
(2) reinstall the 2.4 kernel?
or can I
(3) enter command at Grub menu prior to booting the 2.6 kernel to get 
XServer to run?

Thanks

Bill 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Compiere

2004-02-20 Thread Jan Schmidt
On Fri, 2004-02-20 at 11:52 +1100, Andrew Cowie wrote:

> On Thu, 2004-02-19 at 15:14, Hal Ashburner wrote:
> 
> > Any thoughts on Sourceforge in general?
> 
> Slow, too much promotion and advertisement clutter, difficult to use,
> stupid forums that don't map to mailing lists.
> 

But nevertheless providing an invaluable place to stash code and
collabarate without having to pay for the bandwidth.

To be honest, I've never thought it was hard to navigate, or that they
had too much advertising. I will admit to being frustrated by the poor
performance of their anonymous CVS servers and the fact that promised
upgrades have never arrived.

As someone that's used sourceforge for a few projects though, the
logged-in-developer experience is better than the anonymous one.

J.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] firewall logfile analysis

2004-02-20 Thread Chris Deigan
It is said that Hilton De Meillon wrote:
>I am using Gentoo. I use Metalog as a logger. I use Fwbuilder to design
>my rulesets. What can I use to analyse my log files - I have tried
>fwanalog but it does not look like it likes the way Metalog logs. 
>
>any recommendations ?

First, for live analasys of of your logs you will want to turn off metalogs
buffering by running:
killall -USR1 metalog

I usually read my logs with view (which is basically vi[m])
Or, for live analasys I use tail, which shows your logs as
your logging daemon writes the logs.

To turn metalogs buffers back on:
killall -USR2 metalog

 - Chris
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Workaround for stgeorge problems

2004-02-20 Thread Simon Males

You might find it easier to use the Mozilla Evangelism sidebar for this:

http://mozilla-evangelism.bclary.com/sidebars/

[Note, I'm yet to check this reported fix.]

-Mary
I used PrefBar and set the UA to 'Moz 1.0 Win98'

http://prefbar.mozdev.org/

Unfortunately after doing this rubbish everthing worked fine.

--
Simon Males <[EMAIL PROTECTED]>
No More AOL CDs Australia - www.anticd.org
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] firewall logfile analysis

2004-02-20 Thread Hilton De Meillon
Hey All,

I am using Gentoo. I use Metalog as a logger. I use Fwbuilder to design
my rulesets. What can I use to analyse my log files - I have tried
fwanalog but it does not look like it likes the way Metalog logs. 

any recommendations ?

Hilton.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Notebook WiFi Recommendations?

2004-02-20 Thread Slug
Umm there is a rival amtel driver project that is pretty good.

I got an obscure cnet611 usb wifi thingo working with it. It the amtel
chipset so its not all bad news.

 http://at76c503a.berlios.de/ 

HTH

Stu

On Tue, 2004-02-17 at 23:19, Matthew Palmer wrote:
> On Tue, Feb 17, 2004 at 10:34:30AM +1100, doug wrote:
> >   If anyone wants the driver, (it is atmelwlandriver-ss-20040212.tar.gz) I 
> > could email it I guess, or it is probably googleable.
> 
> The Atmel WLAN is, IIRC, a common chipset for those USB WiFi things.
> 
> For James, and anyone else who's interested, I couldn't get a DWL-650+, nor
> those cheapo Spirit cards, to work under Linux today at DSE.  The PCMCIA
> system wouldn't even identify them properly.  Beware!  Also, I've not been
> able to get my old 2Mb WaveLAN to associate to my new D-Link AP - when they
> say "supports 802.11b and 802.11g" they mean it - 802.11 apparently just
> isn't on the list these days.  Bummer.
> 
> 
> -- 
> "Ah, the beauty of OSS. Hundreds of volunteers worldwide volunteering their
> time inventing and implementing new, exciting ways for software to suck."
>   -- Toni Lassila, in the Monastery

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Qestion about configure

2004-02-20 Thread [EMAIL PROTECTED]
> I haven't used the configure tool much before while building from source 
> and am wondering if I want to configure in new options or change old 
> ones do I need to include all the origional configuration options I used 
> or will it 'remember' these and just add or change the new options I use?

This probably won't help you much with whatever you're compiling right
now, but has long-term benefits:

I've gotten into the habit of creating a file called "configure.script",
and putting the configure line in there. Remember to set the executable
bit (chmod u+x configure.script) and invoke that script.

This is something I've learned from running into your exact problem too
many times. It's also great for refining the configure arguments when
something goes pop partway through the compile.

And yes, I even wrote a script to back up all my configure.script files.
Saves much time when (re)building machines, as well as when compiling an
upgraded version.


Cheers,
James
-- 
...so there I am at ten thousand feet with a power drill in one hand, a
takeaway menu in the other, no parachute and a _very_ suprised
expression...


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Workaround for stgeorge problems

2004-02-20 Thread Mary Gardiner
On Fri, Feb 20, 2004, Damian Ivereigh wrote:
> user_pref("general.useragent.override", "Mozilla/5.0 [en] (Windows NT
> 5.1; U)");
> 
> (the above is a single line)

You might find it easier to use the Mozilla Evangelism sidebar for this:

http://mozilla-evangelism.bclary.com/sidebars/

[Note, I'm yet to check this reported fix.]

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Compiere

2004-02-20 Thread Bruce Badger
On Fri, 2004-02-20 at 14:29, [EMAIL PROTECTED] wrote:
>  On Thu, 2004-02-19 at 15:14, Hal Ashburner wrote:
>  > Project of the month at Sourceforge.
>  > http://sourceforge.net/potm/potm-2004-02.php
>  > http://www.compiere.org/
> 
> You need Oracle, despite their use of db connection
> middleware.
> 
> So ... got Oracle?
> 
> I heard a complaint from somewhere that compiere
> have been working on database independence for a
> LONG time but do not seem to be getting closer
> to that goal.

Compiere is writen mostly using Oracle plsql, stored procedures,
trigrers and all that.

I heard a port to PostgreSQL was underway, but have heard nothing about
that effort for quite a while.  Probably just too hard, esp. as Compiere
is proving to be a very fast moving target.

If you *do* have Oracle it may be worth a try.  It seems to be an
ERP/CRM solution that many SMBs are getting good use from.

All the best,
Bruce
-- 
Make the most of your skills - with OpenSkills
http://www.openskills.com


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Workaround for stgeorge problems

2004-02-20 Thread Damian Ivereigh
I have found a workaround for the problems that Linux users have had
with St George's internet banking system.

This work-around sort of pretends you are running Mozilla under Windows
XP. I added this line to my ~/.mozilla/default/prl2lbhs.slt/prefs.js
file:-

user_pref("general.useragent.override", "Mozilla/5.0 [en] (Windows NT
5.1; U)");

(the above is a single line)

It appears that there something in the StGeorge code that is sending the
Linux users to download the wrong java file. So hopefully if enough
pressure can put on them, they could easily fix it.

Damian   
-- 
Damian Ivereigh
CEPS Team Lead
Desk: +61 2 8446 6344
Mob: +61 418 217 582

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 

PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x24E7A68F

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html