samba digest, Vol 1 #107 - 1 msg

Pam Wales pwales at cdpr.ca.gov
Tue Oct 10 08:54:01 GMT 2000


This is one of those nifty auto-responses from Pam Wales's computer to yours:

     =     +     =     +     =     +     =     +     =     +     =     +     =     +     = 

Hi!
I am out of the office for a vacation until October 16, 2000.  
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/10/00 00:51 >>>

Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

  1. Re: samba digest, Vol 1 #106 - 3 msgs (Pam Wales)

--__--__--

Message: 1
Date: Tue, 10 Oct 2000 01:00:02 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #106 - 3 msgs

This is one of those nifty auto-responses from Pam Wales's computer to =
yours:

     =3D     +     =3D     +     =3D     +     =3D     +     =3D     +     =
=3D     +     =3D     +     =3D=20

Hi!
I am out of the office for a vacation until October 16, 2000. =20
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/10/00 00:23 >>>

Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

  1. Re: samba digest, Vol 1 #105 - 15 msgs (Pam Wales)
  2. Re: samba digest, Vol 1 #105 - 15 msgs (Tim Potter)
  3. Re: Samba Speed Question - Please Help! (Justen Marshall)

-- __--__-- 

Message: 1
Date: Mon, 09 Oct 2000 22:24:19 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #105 - 15 msgs

This is one of those nifty auto-responses from Pam Wales's computer to =3D
yours:

     =3D3D     +     =3D3D     +     =3D3D     +     =3D3D     +     =3D3D =
    +     =3D
=3D3D     +     =3D3D     +     =3D3D=3D20

Hi!
I am out of the office for a vacation until October 16, 2000. =3D20
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/09/00 21:23 >>>

Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

  1. Rubbish on digest list (Kerry Koppert)
  2. smbd (596348N at knotes.kodak.com)
  3. Re: Samba Dropping Mounts - "Broken Pipe" msgs (auto852 at hushmail.com)
  4. Re: Samba Dropping Mounts - "Broken Pipe" msgs (Urban Widmark)
  5. Problem using masquerading and samba (Frank Dzaebel)
  6. Re: Digest format again (Manuel Bessler)
  7. Re: Problem using masquerading and samba (Eduardo Diaz Uriarte)
  8. Re: Undelete for Samba (Mike Fedyk)
  9. Re: Undelete for Samba (Mike Fedyk)
  10. Help: Samba printing from w2k. Works fine but no paper from
 printer! (Bradley C. Goldsmith)
  11. Win Millennium support (monsted at tux.nerdheaven.dk)
  12. compile error (Jim_Park at acl.com.au)
  13. Problem (and fix) with HP-UX PAM (bryan quigley)
  14. Continued problem w/ smbmount & dir permissions (Brian Poole)

--  __--__-- =20

Message: 1
From: "Kerry Koppert" <K.KOPPERT at taranaki.ac.nz>
Organization: Taranaki Polytechnic, NZ
To: samba at us4.samba.org
Date: Tue, 10 Oct 2000 08:20:16 GMT+1200
Subject: Rubbish on digest list
Reply-To: k.koppert at taranaki.ac.nz

Darn it, I'm getting really annoyed (well midly irritated) with this=3D20
list. I can stand the duplicate messages I'm getting now I know they=3D20
happen every know and then, I simply delete the duplicates. I am=3D20
however getting annoyed with the html attachments. Couldn't someone=3D20
write a script to parse incoming messages and remove these. I am also=3D20
really annoyed everytime someone goes on acation an bounces the=3D20
previous message back to the list with the complete previous digest=3D20
as attached.

>   4. Re: samba digest, Vol 1 #97 - 12 msgs (Pam Wales)

Kerry Koppert
k.koppert at taranaki.ac.nz


--  __--__-- =20

Message: 2
From: 596348N at knotes.kodak.com
To: samba at us4.samba.org
Date: Mon, 9 Oct 2000 15:52:03 -0400
Subject: smbd



From: Andrew Imes

Is there someone who has seen this and maybe could offer a solution?
When I run Top on a Sun system using Solaris 2.51 and Samba is running.
Some of the time but
Not all of the time I will see the smbd using around 94% of the CPU.




--  __--__-- =20

Message: 3
From: auto852 at hushmail.com
Date: Mon, 9 Oct 2000 13:35:20 -0800 (PDT)
Cc: samba at us4.samba.org
To: Urban Widmark <urban at svenskatest.se>
Subject: Re: Samba Dropping Mounts - "Broken Pipe" msgs

--Hushpart_boundary_WPotPprAJkvVxNtyIpmWdqKIXPvaWxHR
Content-type: text/plain


At Mon, 9 Oct 2000 14:11:45 +0200 (CEST), Urban Widmark <urban at svenskatest.=
=3D
se>=3D20
wrote:

>
>On Sun, 8 Oct 2000 auto852 at hushmail.com wrote:
>
>> Thanks again Urb, :) ok well in alan's 2.2.18 kernel ftp dir there=3D20
>was/is
>> a readme that says the patch is for 2.2.17.20 but anyways...we =3D
applied=3D20
>the
>> patches 2.2.17-pre20 and then 2.2.18pre10 and recompiled the kernel=3D20=

>but....
>>
>> 1) the patches were looking for directories that didn't exist on Redhat
>> 6.2 kernel 2.2.16-3 so we skipped passed them and recompiled the kernel
>> the kernel anway. It looked like it patched quite a bit but after=3D20
>recompiling
>> the kernel version hadn't changed.
>
>If the kernel version doesn't change, then you are not running the new
>kernel.
>
>The patch is not for a RedHat kernel. It is vs Linux kernel 2.2.17,=3D20
>not
>RedHat kernel 2.2.16-3, there is a difference. You probably (hopefully)
>got a few errors compiling so it never actually built anything.

nope amazingly enough there were no errors on the actual compile...it =3D
was=3D20
just during patching that we had to skip past things the patches were =3D
looking=3D20
for but didn't exist.

>If I wasn't clear enough, I'm suggesting you build and boot a non-RedHat
>kernel. Put the new kernel on a floppy or use a separate machine to=3D20
>avoid
>messing up your existing system.

ok thanks for being clearer. :) I am still new to this stuff tho, so =3D
how=3D20
exactly do I build a non-redhat kernel? I have someone with a few =
years=3D20
of linux experience who has been helping out but he couldn't figure it =3D
out=3D20
and samba is driving him nuts so he just wants us to build another =3D
system=3D20
that recognizes larger drives instead (which we cannot afford at this =3D
time=3D20
and either way I would like to get samba fully functional even if and =3D
when=3D20
we build another box in the future) so could you do me/us a HUGE favor =3D
and=3D20
point us in the right direction? please. :)=3D20

>> 3) I also have a problem with the permissions changing after remounting.=
=3D

>> Half of the mounts permissions change for no reason while the other=3D20=

>half
>> of the mounts are what they are supposed to be. (and all the shares=3D20=

>on the
>> NT side have the same identical permissions).
>
>Please give an example of what the permissions were before and what=3D20
>they
>are after.

before: drwxr-xr-x   after:  dr-xr-xr-x
but this only happens with aproximately half of the mounted directories=3D2=
0
(out of aproximately 15 dirs)
I have tried chmodding 777 all the dirs (after unmounting) and then =3D
remounting=3D20
but same effect.
The only difference between the mapped/mounted folders/dirs with the =3D
changed=3D20
permissions and those that are not are all the folders with the changed/mes=
=3D
sed=3D20
up permissions all begin with underscores.
I hope that makes no difference. :)

>/Urban
>
--Hushpart_boundary_WPotPprAJkvVxNtyIpmWdqKIXPvaWxHR--


IMPORTANT NOTICE:  If you are not using HushMail, this message could have =
=3D
been read easily by the many people who have access to your open personal =
=3D
email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.





--  __--__-- =20

Message: 4
Date: Mon, 9 Oct 2000 23:47:57 +0200 (CEST)
From: Urban Widmark <urban at svenskatest.se>
To: auto852 at hushmail.com
Cc: samba at us4.samba.org
Subject: Re: Samba Dropping Mounts - "Broken Pipe" msgs

On Mon, 9 Oct 2000 auto852 at hushmail.com wrote:

> ok thanks for being clearer. :) I am still new to this stuff tho, so =3D
how=3D20
> exactly do I build a non-redhat kernel? I have someone with a few =3D
years=3D20
> of linux experience who has been helping out but he couldn't figure it =
=3D
out=3D20
> and samba is driving him nuts so he just wants us to build another =3D
system=3D20
> that recognizes larger drives instead (which we cannot afford at this =
=3D
time=3D20
> and either way I would like to get samba fully functional even if and =
=3D
when=3D20
> we build another box in the future) so could you do me/us a HUGE favor =
=3D
and=3D20
> point us in the right direction? please. :)=3D20

I believe I included something in my last mail, and this pointer. Did you
read all of my mail?

http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

Read it carefully. Understand what you need to do.

Download linux-2.2.17.tar.gz from here:
  ftp://ftp.xx.kernel.org/pub/linux/kernel/v2.2/
And pre-patch-2.2.18-15.gz from here:
  ftp://ftp.xx.kernel.org/pub/linux/kernel/people/alan/2.2.18pre/

Where xx is your country code (like us or something).

After unpacking the kernel source there is a README inside that explains
everything. Read that one too. It even describes how to apply the
pre-patch (except that the patch-kernel script doesn't understand
pre-patches).

Configuring the kernel is an important step, it requires you to pick
drivers for your hardware, filesystems and so. Almost all options have a
help section attached, go through everything and read the help on all
options you are uncertain what they do.

Don't experiment on production systems. Don't panic.

/Urban



--  __--__-- =20

Message: 5
Reply-To: <frank_mailinglist at dzaebel.de>
From: "Frank Dzaebel" <frank_mailinglist at dzaebel.de>
To: <samba at lists.samba.org>
Subject: Problem using masquerading and samba
Date: Tue, 10 Oct 2000 00:55:24 +0200
boundary=3D3D"----=3D3D_NextPart_000_0004_01C03254.C5B7C290"

This is a multi-part message in MIME format.

------=3D3D_NextPart_000_0004_01C03254.C5B7C290
Content-Type: text/plain;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi there...

I have got a problem using samba and masquerading at the same time. My
private LAN looks as follows:

                                                                   |
 Computer A -------------------------- Computer B ------------------INTERNE=
=3D
T
 (Win2000)     LAN (100Mbit/s)    Linux kernel 2.2.14,       ISDN  |
                                  samba 2.0.7, masquerading,
                                  64MB RAM, AMD K62-350

Everything works fine, except when using samba (e.g. by copying files from =
=3D
A
to B). Then all connections from A to the internet are VERY slow.
Connections from A to B (using FTP or HTML) are not affected at all.

I don't know why, because B's CPU load is about 40% and the LAN's =3D
bandwidth
should be large enough.

Does anybody has an idea?


Thank you!

Frank. (frank at dzaebel.de)

------=3D3D_NextPart_000_0004_01C03254.C5B7C290
Content-Type: text/html;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D3D3DContent-Type content=3D3D3D"text/html; =3D3D
charset=3D3D3Diso-8859-1">
<META content=3D3D3D"MSHTML 5.50.4134.600" name=3D3D3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>Hi there...</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>I have got a problem using samba =
and =3D
=3D3D
masquerading=3D3D20
at the same time. My private LAN looks as follows:</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial=3D3D20
size=3D3D3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bs=3D
=3D3D
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
=3D
=3D3D
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=3D
=3D3D
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
=3D
=3D3D
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
=3D
=3D3D
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D3D20
|<BR>&nbsp;Computer A -------------------------- Computer B=3D3D20
------------------INTERNET<BR>&nbsp;(Win2000)&nbsp;&nbsp;&nbsp;&nbsp; =
=3D3D
LAN=3D3D20
(100Mbit/s)&nbsp;&nbsp;&nbsp; Linux kernel=3D3D20
2.2.14,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISDN&nbsp;=3D3D20
|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
=3D
=3D3D
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
=3D
=3D3D
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D3D20
samba 2.0.7,=3D3D20
masquerading,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
=3D
=3D3D
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
=3D
=3D3D
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D3D2=
0
64MB RAM, AMD K62-350</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>Everything works fine, except =
when =3D
=3D3D
using samba=3D3D20
(e.g. by copying files from A to B). Then all<SPAN =3D3D
class=3D3D3D773025322-09102000>=3D3D20
</SPAN><SPAN class=3D3D3D773025322-09102000>c</SPAN>onnections from A to =
the =3D
=3D3D

internet<SPAN class=3D3D3D773025322-09102000> </SPAN>are VERY slow. =3D3D
Connections from A=3D3D20
to B (using FTP or HTML) are not affected at all.</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>I don't know why, because B's CPU =
=3D
load =3D3D
is about 40%=3D3D20
and the LAN's bandwidth should be large enough.</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>Does anybody has an idea?</FONT></=
DIV>=3D

<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><BR><FONT face=3D3D3DArial size=3D3D3D2>Thank you!</FONT></DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D3D3DArial><FONT size=3D3D3D2>Frank.<SPAN =3D3D
class=3D3D3D773025322-09102000> (<A=3D3D20
href=3D3D3D"mailto:frank at dzaebel.de">frank at dzaebel.de</A>)</SPAN></FONT></F=
ON=3D
=3D3D
T></DIV></BODY></HTML>

------=3D3D_NextPart_000_0004_01C03254.C5B7C290--



--  __--__-- =20

Message: 6
From: Manuel Bessler <manuel at varxec.de>
Date: Tue, 10 Oct 2000 00:53:46 +0200
To: jpff at maths.bath.ac.uk
Cc: samba at us4.samba.org
Subject: Re: Digest format again

On Mon, Oct 09, 2000 at 10:43:11AM +0100, jpff at maths.bath.ac.uk wrote:
> How do you read the digest?  It is not in the digest format I know
> (RFC 934) and reading it as a long single message is very difficult.
> Is there an undigester which works with this format?
> =3D3D=3D3DJohn ffitch

i use procmail/formail, but this digest format really has some problems
sometimes parts of the headers of some mails go into the mail-body,
sometimes one mail get split up in two.

I hope that this can be resolved soon, its not funny reading
the samba list with the current digest format.

Manuel
--=3D20
     .-.                        | Manuel Bessler
     /v\    L   I   N   U   X   | <manuel at varxec.de>, <m.bessler at gmx.net>
    // \\  >Phear the Penguin<  |=3D20
   /(   )\                      | Debian/GNU Linux user
    ^^-^^
GPG Fingerprint: 278D 2DC2 8A3E 9AEE 98F1  71D2 B224 68D1 1240 28BC


--  __--__-- =20

Message: 7
From: Eduardo Diaz Uriarte <ediazuri at wanadoo.es>
To: <frank_mailinglist at dzaebel.de>
Subject: Re: Problem using masquerading and samba
Date: Tue, 10 Oct 2000 01:04:52 +0200
Cc: Lista Samba <samba at us4.samba.org>

I fuond a similar problem using the 'firewals' package os suse. The =3D
problem was that the firewall
(masquearade) was not allowing some conections from the intranet except =
=3D
for some ports. Ie, there were only
some ports allowed. When I changed it allowing every port from the =3D
intranet (I use Samba at home so, at this
moment, I still believe in my parents) it started working.

Hope it wokrs for you :-)

On Tue, 10 Oct 2000, you wrote:
>=3D20
> Hi there...
>=3D20
> I have got a problem using samba and masquerading at the same time. My
> private LAN looks as follows:
>=3D20
>                                                                    |
>  Computer A -------------------------- Computer B ------------------INTER=
=3D
NET
>  (Win2000)     LAN (100Mbit/s)    Linux kernel 2.2.14,       ISDN  |
>                                   samba 2.0.7, masquerading,
>                                   64MB RAM, AMD K62-350
>=3D20
> Everything works fine, except when using samba (e.g. by copying files =
=3D
from A
> to B). Then all connections from A to the internet are VERY slow.
> Connections from A to B (using FTP or HTML) are not affected at all.
>=3D20
> I don't know why, because B's CPU load is about 40% and the LAN's =3D
bandwidth
> should be large enough.
>=3D20
> Does anybody has an idea?
>=3D20
>=3D20
> Thank you!
>=3D20
> Frank. (frank at dzaebel.de)
>=3D20

----------------------------------------
Content-Type: text/html; name=3D3D"unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description:=3D20
----------------------------------------


--  __--__-- =20

Message: 8
Date: Mon, 09 Oct 2000 16:29:56 -0700
From: Mike Fedyk <mfedyk at matchmail.com>
To: Mike Brodbelt <m.brodbelt at acu.ac.uk>
Cc: Cass Surek <cass at master.com.br>, samba at us4.samba.org
Subject: Re: Undelete for Samba

Mike Brodbelt wrote:
>=3D20
> Cass Surek wrote:
> >
> > Hello guys,
> >
> > We*ve used Novell here and there was a cool thing about it that =3D
wouldn*t
> > really delete a file when a user deleted that file. It*d be stored in =
=3D
a
> > spool directory and then we*d be able to recover it in case it was =3D
deleted
> > by mistake by the user.
>=3D20
> Samba doesn't actually do the deletion, it just uses the system unlink()
> call. Unix, unlike Netware, takes the attitude that if you ask it to
> delete a file, that's because you don't want the file. It ain't coming
> back...... The filesystems on most Unices are such that your chances of
> recovering data from deleted files are virtually nil. Use a tape
> backup....
>=3D20
> HTH
>=3D20
> Mike.

That being said, the best place to implement this feature is in the =3D
underlying
OS.  That way it'll work with netatalk, nfs, coda, etc.

Although, what would it take to make a network trash folder (ala netatalk =
=3D
or
netware) with samba storing the original path to the file?

I've been reading samba traffic, and it seems we are a bunch of synchronize=
=3D
d
dogs chasing their tails.  To put it one way. ;p
--=3D20

Mike Fedyk                   "They that can give up essential liberty
Information Systems           to obtain a little temporary safety
Match Mail Productions Inc.   deserve neither liberty nor safety."
mfedyk at matchmail.com                                   Ben Franklin


--  __--__-- =20

Message: 9
Date: Mon, 09 Oct 2000 16:44:31 -0700
From: Mike Fedyk <mfedyk at matchmail.com>
To: samba at us4.samba.org
Subject: Re: Undelete for Samba

Ries van Twisk wrote:
>=3D20
> > Samba doesn't actually do the deletion, it just uses the system
> > unlink() call. Unix, unlike Netware, takes the attitude that if you
> > ask it to delete a file, that's because you don't want the file. It
> > ain't coming back...... The filesystems on most Unices are such that
> > your chances of recovering data from deleted files are virtually nil.
> > Use a tape backup....
> >
> Also I understand from the samba development team that in theory it
> is posible to do such a function but it will create a lot of overhead
> meantaining the 'recycle bin' It just takes a lot of processor time and
> HD space.
>=3D20
> Also think of this..
> When M$ word opens a file, it copys a file to the same dir with a
> different name (~$ thing) when you are finnished working on that file
> a renaming and a deleting sequency takes place. Which in turn
> create a backup and that's not what you want.
> Also I don't think de recicle bin on NT is working 'networked'. (I only
> use samba at my net)
>=3D20
> Ries

You are correct.  You'd need norton or some such to keep network deleted =
=3D
files.=3D20
Norton forgets to delete the old deleted files, and your drive fills =3D
up..... but
I digress
--=3D20

Mike Fedyk                   "They that can give up essential liberty
Information Systems           to obtain a little temporary safety
Match Mail Productions Inc.   deserve neither liberty nor safety."
mfedyk at matchmail.com                                   Ben Franklin


--  __--__-- =20

Message: 10
Date: Tue, 10 Oct 2000 11:33:42 +1000
To: samba at us4.samba.org
From: "Bradley C. Goldsmith" <bcg at mitmania.net.au>
Subject: Help: Samba printing from w2k. Works fine but no paper from
printer!

Hello All,

    I have samba 2.0.6 running on RH6.2 serving a small workgroup with a
few machines, a few shares and one printer. The file shares are working
perfectly. All of the other machines on the network are win2000 boxes.

    The problem I have is that the printing is not working. A file can
be printed from lpr on the linux box fine. When I print a doco from a
windows box it says that the printing has completed successfully, the
printed file also appears in the /var/spool/lpd/lp directory (which then
prints out perfectly if I run an lpr command on it). But the printer
does not get sent the file to be printed.

    So all is fine, but still I have no paper comming out of the
printer!

    Any help would be appreciated, my smb.conf file appears below.

Cheers,
Brad Goldsmith.






[global]

 workgroup =3D3D blacksheep
 server string =3D3D Blacksheep software's file and printer server

 security =3D3D user

 log file =3D3D /var/log/samba-log.%m
 lock directory =3D3D /var/lock/samba
 share modes =3D3D yes

 # cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd
 # ln -s /etc/rc.d/init.d/smb /etc/rc.d/rc3.d/S91smb

 encrypt passwords =3D3D yes
 smb passwd file =3D3D /etc/smbpasswd

 print command =3D3D /usr/bin/lpr -s -P%p -r %s
 printcap name =3D3D /etc/printcap
 load printers =3D3D yes

[printers]

 path =3D3D /var/spool/lpd/lp
 writeable =3D3D no
 public =3D3D yes
 printable =3D3D yes
 browseable =3D3D no
 create mode =3D3D 0700

[PrintPartner10V]

 path =3D3D /var/spool/lpd/lp
 printable =3D3D yes
 read only =3D3D yes
 guest ok =3D3D yes

[public]
    path =3D3D /home/public
    public =3D3D yes
    writable =3D3D yes
    printable =3D3D no

[admin]
 path =3D3D /blacksheep/admin
 public =3D3D yes
 writable =3D3D yes
 printable =3D3D no

[cdserver]
 path =3D3D /blacksheep/cdserver
 public =3D3D yes
 writable =3D3D yes
 printable =3D3D no

[cdimages]
 path =3D3D /blacksheep/cdimages
 public =3D3D yes
 writable =3D3D yes
 printable =3D3D no

[source]
 path =3D3D /blacksheep/source
 public =3D3D yes
 writable =3D3D yes
 printable =3D3D no

[etc]
 path =3D3D /etc
 public =3D3D no
 writable =3D3D yes
 printable =3D3D no
 users =3D3D brad
 browseable =3D3D yes

-----------------------------------------------------------------------
Bradley C. Goldsmith                            Telephone: 02 48 724260
Black Sheep Software Pty Ltd                       Mobile: 0414  514077
Suite 1 Level 1 71 Main Street,                     bcg at mitmania.net.au
MITTAGONG, NSW, 2575               http://www.blacksheepsoftware.com.au
PO Box 342 MITTAGONG NSW 2575 Australia               Fax: 02 48 724360
-----------------------------------------------------------------------
"We apologise for any inconvenience caused due to a fault in our human"
-----------------------------------------------------------------------
Stop Internet censorship! I disapprove of what you say, but will defend   =
=3D
=3D20
 http://www.efa.org.au/   to the death your right to say it. --Voltaire
-----------------------------------------------------------------------   =
=3D
=3D20


--  __--__-- =20

Message: 11
Date: Tue, 10 Oct 2000 02:47:08 +0200
From: monsted at tux.nerdheaven.dk
To: samba at samba.org
Subject: Win Millennium support


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=3D3Dus-ascii
Content-Disposition: inline

There seems to be a lack of a Win millennium plain text registry thingie, =
=3D
so here goes :)

It is included with WinMe, on the CD, in \tools\pssutil\ptxt_on.inf.


You're doing a great job, i have turned a few companies to the light side =
=3D
of the force using samba :)

Best Regards
Jesper Monsted
Nerd - BOFH in training=3D20
=3D20

--LZvS9be/3tNcYl/X
Content-Type: application/x-gunzip
Content-Disposition: attachment; filename=3D3D"ptxt_on.inf.gz"
Content-Transfer-Encoding: base64

H4sICPC0PzkAA3B0eHRfb24uaW5mAF2NTYvCMBRF94X+hyAuFDKiiAsRF5LqWPwq1nEznUWm
fdZAJikvr2r/vbHuBi6Py+Nw7oxFkGNT0SDer8JgxoStGlTllVgv77PRdDr+8GfC2U7laJ29
kEewsihJWRMGYfB9A3S+/4SBU6WRVCPMO12xjsXi89DttEwEF1lrio0jqbVHF0VxhHK+NPJX
wyDRUhmCB7Xw/6fH15vtjqeNI/jLRI0IhoQ1hFanQFkKeFM5uOz8iLLzfnlKvxL+trSSk5ck
0rm7xYKP+NBn+M5r7wlpRGoqBAEAAA=3D3D=3D3D

--LZvS9be/3tNcYl/X--


--  __--__-- =20

Message: 12
Subject: compile error
To: samba at samba.org
From: Jim_Park at acl.com.au
Date: Tue, 10 Oct 2000 12:26:37 +1000

I am not an experienced system administrator, in fact I am self taught, =
=3D
and
having tried several alterations I still get the same error message trying
to compile. Can some one offer any advise!

The end of the compile messages on the screen look like this.

checking whether to support utmp accounting... no
checking whether to install Using Samba book... ${prefix}/swat/using_samba
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config


I have had a look at the config.log, which is 168K long and wasn't able to
work out what was wrong from that.

Operating system HP-UX 10.2

Thanks jim park

***********************************
Mr. Jim Park
ACL BEARING Co.
PO Box 1088
Launceston TAS. 7250
Ph. 03 6324 4592
Fax. 03 6324 4621
Mobile: 0417 368 188
E-mail: jim_park at acl.com.au
************************************



--  __--__-- =20

Message: 13
Date: Tue, 10 Oct 2000 16:31:26 +1300
From: bryan quigley <bryan.quigley at newzealand.sun.com>
Organization: Sun Microsystems
To: samba at samba.org
Subject: Problem (and fix) with HP-UX PAM

Hi there,

I just hit a problem when implementing Samba for a client.  On their
Solaris servers all went as planned.  On their HP servers I found that
with PAM support compiled in and share-level security the users could
only connect to shares marked as "guest ok".  When we changed to
user-level security the users could access all the shares, but guest
access (by WinInstall service) didn't work.  When recompiled without PAM
support both user and guest access was possible with share-level
security (which is what we want, but with PAM).  A bit of creative
debugging showed that within authorise_login in smbd/password.c the code
is supposed to iterate over a number of possible usernames in the string
user_list.  However the loop always ended after the first iteration when
PAM support was compiled in.

The diff below shows how I fixed the problem.  It appears that somewhere
in the HP-UX PAM code there is a strtok call which is overwriting the
static buffer belonging to the strtok call used to control the loop
within authorise_login.  Replacing strtok with strtok_r made everyone
happy.

Regards,
Bryan Q.


Samba: 2.0.7
Server: HP-UX 11.0
Clients: NT4/SP6


bash$ diff -c smbd/password.c- smbd/password.c
*** smbd/password.c-    Tue Oct 10 15:51:53 2000
--- smbd/password.c     Tue Oct 10 15:53:08 2000
***************
*** 729,741 ****
        /* now check the list of session users */
      if (!ok)
      {
        char *auser;
        char *user_list =3D3D strdup(session_users);
        if (!user_list) return(False);
 =3D20
!       for (auser=3D3Dstrtok(user_list,LIST_SEP);=3D20
             !ok && auser;=3D20
!            auser =3D3D strtok(NULL,LIST_SEP))
        {
          fstring user2;
          fstrcpy(user2,auser);
--- 729,742 ----
        /* now check the list of session users */
      if (!ok)
      {
+       char *strtok_ptr;
        char *auser;
        char *user_list =3D3D strdup(session_users);
        if (!user_list) return(False);
 =3D20
!       for (auser=3D3Dstrtok_r(user_list,LIST_SEP,&strtok_ptr);=3D20
             !ok && auser;=3D20
!            auser =3D3D strtok_r(NULL,LIST_SEP,&strtok_ptr))
        {
          fstring user2;
          fstrcpy(user2,auser);



--=3D20
Bryan Quigley                bryan.quigley at newzealand.sun.com
Systems Engineer                             DDI (4) 462 0729
SolNet Ltd.                               mobile (21) 475 176


--  __--__-- =20

Message: 14
Date: Mon, 9 Oct 2000 23:47:46 -0500 (EST)
From: Brian Poole <rajak at purdue.edu>
Reply-To: rajak at cerias.purdue.edu
To: samba at lists.samba.org
Subject: Continued problem w/ smbmount & dir permissions

Hello,

Been trying to solve this problem for a while, posted to the mailing list
a few months back to no avail.

The short description is this, Linux 2.2.18pre15 mounting a share with
full RW permissions from a Win2k Professional machine. Can write fine, as
long as I'm not attempting to write to the root of the directory it was
mounted at. Doesn't matter what fmask & dmask I specify with smbmount when
it mounts it applies the masks to the subdirs, but not to the root dir it
is mounted at. This is samba 2.0.7 and the share is shared correctly, I
can write to the root of the share with smbclient or other tools. The
problem is simply that when it mounts it the root dir has the wrong
permissions for what i would like.

If you'd like more details I would be happy to provide them. Please CC: me
with any replies, I am not currently on the list due to high traffic.

Thank you,

-b





--  __--__-- =20

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest



-- __--__-- 

Message: 2
From: Tim Potter <tpot at linuxcare.com.au>
Date: Tue, 10 Oct 2000 16:53:53 +1100 (EST)
To: pwales at cdpr.ca.gov
Cc: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #105 - 15 msgs

Pam Wales writes:

> This is one of those nifty auto-responses from Pam Wales's
> computer to yours:

I've adjusted the spam filter not to let this through any more.
I wish people would use vacation software that actually works.

)-:


Tim.



-- __--__-- 

Message: 3
To: samba at us4.samba.org
Subject: Re: Samba Speed Question - Please Help!
<39DDD56B.614811A8 at cinesite.co.uk>
From: Justen Marshall <justen at al.com.au>
Reply-To: Justen Marshall <justen at al.com.au>
Date: Tue, 10 Oct 2000 18:24:38 +1000

Hi

"Kevin (HxPro) Wheatley" <hxpro at cinesite.co.uk> writes:

> > On Wed, 4 Oct 2000, Justen Marshall wrote:
> >=20
> > [ lots of things about small files ]
> >
>=20
> I missed the start of the thread so please forgive me if you've
> already done this...
>=20
> what kind of performance do you get running running Unix commands on
> the Octane ??

Good question. I did the same tests you did, and I had about the same
results. Certainly, my results were within a whisker of yours, given
the minor differences in our hardware and network and so on.

This was on a dual Octane R10k 175MHz, the server.

  justen at lynx:lotsafiles 15 >timex ls > /dev/null
 =20
  real        0.23
  user        0.19
  sys         0.03
 =20
  justen at lynx:lotsafiles 16 >timex ls -l > /dev/null
 =20
  real        2.85
  user        1.52
  sys         1.29
 =20
  justen at lynx:lotsafiles 17 >ls -l | wc
           10001         90002        648907
  justen at lynx:lotsafiles 18 >timex du -ks .
  120456  .
 =20
  real        1.33
  user        0.05
  sys         1.24

  justen at lynx:lotsafiles 19 >timex find . -name file -print

  real        1.65
  user        0.07
  sys         1.34


And again, this timeq over NFS from an Indigo2 R10k 195MHz, network
100TX Ethernet.

  justen at uma:lotsafiles 6 >timex ls > /dev/null
 =20
  real        4.51
  user        0.20
  sys         0.07
 =20
  justen at uma:lotsafiles 7 >timex ls -l > /dev/null
 =20
  real       12.43
  user        1.54
  sys         3.42
 =20
  justen at uma:lotsafiles 8 >ls -l | wc
           10001         90002        648907
  justen at uma:lotsafiles 9 >timex du -ks .
  100452  .
 =20
  real        9.80
  user        0.09
  sys         3.30
 =20
  justen at uma:lotsafiles 10 >timex find . -name file -print
 =20
  real       10.55
  user        0.09
  sys         3.20

Those results aren't too far out from your own results. I'm perfectly
happy with the speed and cpu use of those tests,=20

However, I used the CygWin time command to do the some of the same
experiments over Samba. I'm not 100% convinced that the CygWin utils
are as efficient as the Unix originals, but still...

  Z:\lotsafiles>c:\cygwin\bin\time ls > c:\temp\crap
  0.01user 0.03system 0:30.32elapsed 0%CPU (0avgtext+0avgdata 0maxresident)=
k
  0inputs+0outputs (0major+0minor)pagefaults 0swaps

  Z:\lotsafiles>c:\cygwin\bin\time ls > c:\temp\crap
  0.01user 0.00system 0:12.40elapsed 0%CPU (0avgtext+0avgdata 0maxresident)=
k
  0inputs+0outputs (0major+0minor)pagefaults 0swaps

(PS: Does anyone know how to do a redirect to some DOS/NT equivalent
of /dev/null? Is it even possible?)

Those PC/Samba results are only half the story. You can see that they
took a lot of elapsed time, but virtually no user OR system time.
Meaning, they were waiting around a long time for a reply from the
samba server. But CPU was being used somewhere... the smbd on the
server! It wavered between 10% and 50% CPU for the duration of that
request.

My quest here is to reduce that CPU load to 5-15%. I need to be able
to serve a dozen or so operations with roughly that intensity of use,
and I don't like my chances of finding a spare 8cpu machine lying
around here :)

I will try the kernel config flags you suggested as soon as I get the
opportunity to reboot the machine a few times.

Justen
--=20
.-----------------------.------------.--------------------------.
| Justen Marshall       |            | e-mail: justen at al.com.au |
| Technical Director    |            | phone:   +61-2-9383-4831 |
| Animal Logic Pty Ltd  |            | fax:     +61-2-9383-4801 |
|-----------------------^------------^--------------------------|
| Athiesm is a non-prophet organization.                        |
`---------------------------------------------------------------'



-- __--__-- 

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest




--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest





More information about the samba mailing list