Re: [SLUG] Samba V3 Beta

2003-07-09 Thread Alexander Samad
have you used Winbind in this setup.  I presume client connectivity is
okay, ie mouting from a W2K or Xp machine 

Alex

On Thu, Jul 10, 2003 at 02:43:17PM +1000, Douglas Stalker wrote:
> 
> I'm using the samba 3.0 beta on RedHat 9.0, and I find that when I mount a
> samba share from another system (mount -t smb //computer/share etc) the mount
> is successful, but the command just sits there after completing and I need to
> use ctrl-C to get control back.  Apart form that it seems to work fine.  I've
> just upgraded the rpm to beta2-1 (too busy to do the compile source thing), not
> sure if that will solve the problem.
> 
> 
> I originally installed 3.0 so I could set up a separate domain which trusts an
> existing Windows domain (one way trust only) but I haven't had time to try this
> yet.  In fact I have-not made use of any functionality which wasn't already
> present in 2.2.8.  :-)
> 
>  - Doug
> 


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Samba V3 Beta

2003-07-09 Thread Douglas Stalker

I'm using the samba 3.0 beta on RedHat 9.0, and I
find that when I mount a samba share from another system (mount -t smb
//computer/share etc) the mount is successful, but the command just sits
there after completing and I need to use ctrl-C to get control back.  Apart
form that it seems to work fine.  I've just upgraded the rpm to beta2-1
(too busy to do the compile source thing), not sure if that will solve
the problem.


I originally installed 3.0 so I could set up a separate
domain which trusts an existing Windows domain (one way trust only) but
I haven't had time to try this yet.  In fact I have-not made use of
any functionality which wasn't already present in 2.2.8.  :-)

 - Doug

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Samba Query

2003-07-09 Thread Alexander Samad
You can try a smbstatus - which will show you how the person is
attached.

Alex
On Thu, Jul 10, 2003 at 12:24:51PM +1000, Craig Mead wrote:
> Mike,
> 
> I didn't have a force group set, however I do now and the issue is still
> happening
> 
> --- snippet of /etc/samba/smb.conf
> 
> 
> [shared]
> path = /home/shares/shared
> comment = General Documents
> user = @employee,@accounts,@admin
> write list = @employee,@accounts,@admin
> force group = employee
> 
> -- end snippet
> 
> Looks right according to my google and man page research.
> 
> Thoughts?
> 
> 
> |  Yes, but do you have the force-group option set in your smb.conf ? :)
> |  All the best...
> |  Mike
> 
> 
> 
> > I'd wager the file is being created with permissions for user A to rw
> > and user B to ro.
> 
> Assumed this might be the case.not 100% sure on how to go about
> rectifying the situation tho.
> Any tips/pointers?
> 
> > Check the UNIX permissions on the files and the groups which User [AB]
> > belong to.
> 
> Happening to members of the same group.
> 
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Partition resize...

2003-07-09 Thread mlh

In knoppix think you can just use sudo
to become root:

sudo -s

Regards,
Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Samba Query

2003-07-09 Thread Craig Mead
Mike,

I didn't have a force group set, however I do now and the issue is still
happening

--- snippet of /etc/samba/smb.conf


[shared]
path = /home/shares/shared
comment = General Documents
user = @employee,@accounts,@admin
write list = @employee,@accounts,@admin
force group = employee

-- end snippet

Looks right according to my google and man page research.

Thoughts?


|  Yes, but do you have the force-group option set in your smb.conf ? :)
|  All the best...
|  Mike



> I'd wager the file is being created with permissions for user A to rw
> and user B to ro.

Assumed this might be the case.not 100% sure on how to go about
rectifying the situation tho.
Any tips/pointers?

> Check the UNIX permissions on the files and the groups which User [AB]
> belong to.

Happening to members of the same group.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Samba V3 Beta

2003-07-09 Thread Alexander Samad
Hi,

Is any one using samba 3.  Any feedback, issues on upgrade form 2.x.
Looks like I want to use some features from 3


Alex


pgp0.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] php forum

2003-07-09 Thread Phil Scarratt
have you looked at www.phpbb.com

Yukun Song wrote:
Anybody has idea about implementation of forum by php?
What I am going to do is to write a forum using php, which is multiple 
replies forum, i.e., any user can reply any thread. Threads can be 
seen either by either hierarchy or sequential order.
 
Solution1: MySQL data model
Messages:
id int,
newthread int,  // 1 means this is a new thread; 0 means this is a reply
title varchar,
author varchar,
... ...
 
Replies:
parent int,  // the id of thread replied by reply
reply int  // the id of reply thread
 
So, the listing threads function would do:
select * from Messages when newthread=1;
Save result set in $row,
For each $row,
select reply from Replies where parent = $row->id;
 
The above solution seems spend lots of time on finding all replies for 
each new thread by search the whole Replies table, i.e, how many new 
thread, how many times searching table Replies.
 
Solution 2. XML data store

title1
mike



... ...


... ...




 ... ...

 
Put 100 thread in an XML file or threads of one day in an XML file. When 
listing all threads, just simply go through XML file, the correct order 
of threads displayed is just the order in XML file.
But it will cost some time on inserting thread. The only available 
method to write XML file is using DOM, which write all things in an XML 
to memory. After changing something, memory will be written to XML file. 
For a frequently accessed web site, this method seems not efficient enough.
 
Anybody has other ideas? Please share with me.
 
Shilun
 
 
 



--
Phil Scarratt
Draxsen Technologies
IT Contractor/Consultant
0403 53 12 71
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] latex gnuplot missing colour

2003-07-09 Thread Michael Lake
Douglas Hespe wrote:
> I am trying to get gnuplot to draw y= +/- sqrt(x/(x**2+1)) into a latex
> file using replot to get the positive and negative halves of the
> relation. 
> On the screen (using set terminal X11) it comes out fine with the top
> half blue and the bottom half red.  The latex plot comes
> out with only the top half drawn.  Even the legend shows a solid line
> for the top half but no line for the bottom half. 

How are you getting it into latex? Are you putting it out as an eps file 
from gnuplot and pulling that into latex with \includegraphics or are 
you outputting from gnuplot latex drawing commands? i.e. what are you 
using for the 'set terminal' command in gnuplot for the output to go 
into latex?

Mike
-- 

Mike Lake
Caver, Linux enthusiast and interested in anything technical.



UTS CRICOS Provider Code:  00099F

DISCLAIMER

This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.




-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] latex gnuplot missing colour

2003-07-09 Thread Douglas Hespe
Hi any latex gurus out there,

I am trying to get gnuplot to draw y= +/- sqrt(x/(x**2+1)) into a latex
file using replot to get the positive and negative halves of the
relation. 
On the screen (using set terminal X11) it comes out fine with the top
half blue and the bottom half red.  The latex plot comes
out with only the top half drawn.  Even the legend shows a solid line
for the top half but no line for the bottom half. 
I have looked at the file but can not understand it well enough to see
what the problem is.
The file is too big to attach to this email but I would be happy to
send it to anyone who thinks they might be able to help.

TIA, Doug.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Partition resize...

2003-07-09 Thread Simon Wong
On Tue, 2003-07-08 at 16:05, Douglas Stalker wrote:

> > Is there something special you need to do to allow you to access drive
> > paritions?
> > 
> 
> Did you run the resize utility as root?  The knoppix GUI starts up as user 
> knoppix; to become root you need to switch to one of the consoles 
> (ctrl-alt-1 for console 1, etc) and either do it from there, or set a root 
> password (passwd) and go back to the gui and run su to become root.

I knew you needed to be root but couldn't find any info on what the root
password is.  I didn't think to try and set it!

I'll give that a go - thanks!



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] php forum

2003-07-09 Thread Yukun Song



Anybody has idea about implementation of forum by 
php?
What I am going to do is to write a forum using 
php, which is multiple replies forum, i.e., any user can reply any 
thread. Threads can be seen either by either hierarchy or sequential 
order.
 
Solution1: MySQL data model
Messages:
    id int,
    newthread int,  // 1 means 
this is a new thread; 0 means this is a reply
    title varchar,
    author varchar,
    ... ...
 
Replies:
    parent int,  // the id of 
thread replied by reply
    reply int  // the id 
of reply thread
 
So, the listing threads function would 
do:
select * from Messages when 
newthread=1;
Save result set in $row,
For each $row,
select reply from Replies where parent = 
$row->id;
 
The above solution seems spend lots of time on 
finding all replies for each new thread by search the whole Replies table, i.e, 
how many new thread, how many times searching table Replies.
 
Solution 2. XML data store

    
title1
    
mike

        

        
    
        
    ... ...
    

        

... 
...
        

    


 ... ...

 
Put 100 thread in an XML file or threads of 
one day in an XML file. When listing all threads, just simply go through XML 
file, the correct order of threads displayed is just the order in XML 
file.
But it will cost some time on inserting thread. The 
only available method to write XML file is using DOM, which write all things in 
an XML to memory. After changing something, memory will be written to XML file. 
For a frequently accessed web site, this method seems not efficient 
enough.
 
Anybody has other ideas? Please share with 
me.
 
Shilun
 
 
 
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Fish tackle products

2003-07-09 Thread Jobst Schmalenbach
On Wed, Jul 09, 2003 at 01:21:25PM +0800, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Dear Sir
>  As an exporter in China, can supply :Fish tackle products. Fishing rod Fish-Sound 
> Fishing bite
> Alarm Spinning reel Fishing line Accessories  
>  Mr. Joe

Tux dont need tackle, best fisherman in world!
If you dont believe, come to Phillip Island.

And when you there, Tux come from behind and hit you on your head,
you bloody spammer you!

> If you have any purchase intentions for other products, please feel free to
> tell us in case that we can offer you your 

A saturn 5 rocket to mount you on it and light it up!



j










-- 
Was that your wife I saw in that GIF?

 __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L  
 -(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Linux box hanging on startup

2003-07-09 Thread David Kempe
I have seen recently a few exploits against the linux kernel - even 2.4.18
was vulnernable. SSH is not as secure as it could be - best to limit where
you can connect to it from via iptables or something like that - and of
course keep it up to date. Also make sure there are no scripts on your
websites that might cause problems - also seen some people with fairly
intelligent scanners looking for things like that.

dave

- Original Message -
From: "Dan Banyard" <[EMAIL PROTECTED]>

> I never surfed the net as rootand thought I had the box locked down -
> only open ports were the normal ones (80, 21, 22) etc.  I have no idea how
> they got in but maybe it was through SSH (I might have a older version
that
> could be hacked).  There was no telnet or anything like that.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug