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:23 >>>
Send samba mailing list submissions to
samba@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@lists.samba.org
You can reach the person managing the list at
samba-admin@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@cdpr.ca.gov>
Reply-To: pwales@cdpr.ca.gov
To: <samba@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
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/09/00 21:23 >>>
Send samba mailing list submissions to
samba@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@lists.samba.org
You can reach the person managing the list at
samba-admin@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@knotes.kodak.com)
3. Re: Samba Dropping Mounts - "Broken Pipe" msgs
(auto852@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@tux.nerdheaven.dk)
12. compile error (Jim_Park@acl.com.au)
13. Problem (and fix) with HP-UX PAM (bryan quigley)
14. Continued problem w/ smbmount & dir permissions (Brian Poole)
-- __--__--
Message: 1
From: "Kerry Koppert" <K.KOPPERT@taranaki.ac.nz>
Organization: Taranaki Polytechnic, NZ
To: samba@us4.samba.org
Date: Tue, 10 Oct 2000 08:20:16 GMT+1200
Subject: Rubbish on digest list
Reply-To: k.koppert@taranaki.ac.nz
Darn it, I'm getting really annoyed (well midly irritated) with this=20
list. I can stand the duplicate messages I'm getting now I know they=20
happen every know and then, I simply delete the duplicates. I am=20
however getting annoyed with the html attachments. Couldn't someone=20
write a script to parse incoming messages and remove these. I am also=20
really annoyed everytime someone goes on acation an bounces the=20
previous message back to the list with the complete previous digest=20
as attached.
> 4. Re: samba digest, Vol 1 #97 - 12 msgs (Pam Wales)
Kerry Koppert
k.koppert@taranaki.ac.nz
-- __--__--
Message: 2
From: 596348N@knotes.kodak.com
To: samba@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.
-- __--__--
Message: 3
From: auto852@hushmail.com
Date: Mon, 9 Oct 2000 13:35:20 -0800 (PDT)
Cc: samba@us4.samba.org
To: Urban Widmark <urban@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@svenskatest.se>=20
wrote:
>
>On Sun, 8 Oct 2000 auto852@hushmail.com wrote:
>
>> Thanks again Urb, :) ok well in alan's 2.2.18 kernel ftp dir
there=20
>was/is
>> a readme that says the patch is for 2.2.17.20 but anyways...we
applied=20
>the
>> patches 2.2.17-pre20 and then 2.2.18pre10 and recompiled the kernel=20
>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=20
>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,=20
>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 was=20
just during patching that we had to skip past things the patches were looking=20
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=20
>avoid
>messing up your existing system.
ok thanks for being clearer. :) I am still new to this stuff tho, so how=20
exactly do I build a non-redhat kernel? I have someone with a few years=20
of linux experience who has been helping out but he couldn't figure it
out=20
and samba is driving him nuts so he just wants us to build another system=20
that recognizes larger drives instead (which we cannot afford at this time=20
and either way I would like to get samba fully functional even if and when=20
we build another box in the future) so could you do me/us a HUGE favor and=20
point us in the right direction? please. :)=20
>> 3) I also have a problem with the permissions changing after
remounting.
>> Half of the mounts permissions change for no reason while the other=20
>half
>> of the mounts are what they are supposed to be. (and all the shares=20
>on the
>> NT side have the same identical permissions).
>
>Please give an example of what the permissions were before and what=20
>they
>are after.
before: drwxr-xr-x after: dr-xr-xr-x
but this only happens with aproximately half of the mounted directories=20
(out of aproximately 15 dirs)
I have tried chmodding 777 all the dirs (after unmounting) and then
remounting=20
but same effect.
The only difference between the mapped/mounted folders/dirs with the changed=20
permissions and those that are not are all the folders with the
changed/messed=20
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 been
read easily by the many people who have access to your open personal email
messages.
Get your FREE, totally secure email address at http://www.hushmail.com.
-- __--__--
Message: 4
Date: Mon, 9 Oct 2000 23:47:57 +0200 (CEST)
From: Urban Widmark <urban@svenskatest.se>
To: auto852@hushmail.com
Cc: samba@us4.samba.org
Subject: Re: Samba Dropping Mounts - "Broken Pipe" msgs
On Mon, 9 Oct 2000 auto852@hushmail.com wrote:
> ok thanks for being clearer. :) I am still new to this stuff tho, so how=20
> exactly do I build a non-redhat kernel? I have someone with a few years=20
> of linux experience who has been helping out but he couldn't figure it
out=20
> and samba is driving him nuts so he just wants us to build another
system=20
> that recognizes larger drives instead (which we cannot afford at this
time=20
> and either way I would like to get samba fully functional even if and
when=20
> we build another box in the future) so could you do me/us a HUGE favor
and=20
> point us in the right direction? please. :)=20
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
-- __--__--
Message: 5
Reply-To: <frank_mailinglist@dzaebel.de>
From: "Frank Dzaebel" <frank_mailinglist@dzaebel.de>
To: <samba@lists.samba.org>
Subject: Problem using masquerading and samba
Date: Tue, 10 Oct 2000 00:55:24 +0200
boundary=3D"----=3D_NextPart_000_0004_01C03254.C5B7C290"
This is a multi-part message in MIME format.
------=3D_NextPart_000_0004_01C03254.C5B7C290
Content-Type: text/plain;
charset=3D"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 ------------------INTERNET
(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 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
bandwidth
should be large enough.
Does anybody has an idea?
Thank you!
Frank. (frank@dzaebel.de)
------=3D_NextPart_000_0004_01C03254.C5B7C290
Content-Type: text/html;
charset=3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D3DContent-Type content=3D3D"text/html; =3D
charset=3D3Diso-8859-1">
<META content=3D3D"MSHTML 5.50.4134.600"
name=3D3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D3DArial size=3D3D2>Hi
there...</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial size=3D3D2>I have got a problem using
samba and =3D
masquerading=3D20
at the same time. My private LAN looks as follows:</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial=3D20
size=3D3D2> &nbs=3D
p;  =3D
; =3D
&=3D
nbsp; &n=3D
bsp; =3D20
|<BR> Computer A -------------------------- Computer B=3D20
------------------INTERNET<BR> (Win2000)
=3D
LAN=3D20
(100Mbit/s) Linux kernel=3D20
2.2.14,
ISDN =3D20
|<BR> &n=3D
bsp; &nb=3D
sp; =3D20
samba 2.0.7,=3D20
masquerading,<BR> &n=3D
bsp; &nb=3D
sp; =3D20
64MB RAM, AMD K62-350</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial size=3D3D2>Everything works fine, except
when =3D
using samba=3D20
(e.g. by copying files from A to B). Then all<SPAN =3D
class=3D3D773025322-09102000>=3D20
</SPAN><SPAN class=3D3D773025322-09102000>c</SPAN>onnections
from A to the =3D
internet<SPAN class=3D3D773025322-09102000> </SPAN>are VERY slow.
=3D
Connections from A=3D20
to B (using FTP or HTML) are not affected at all.</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial size=3D3D2>I don't know why, because
B's CPU load =3D
is about 40%=3D20
and the LAN's bandwidth should be large enough.</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial size=3D3D2>Does anybody has an
idea?</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><BR><FONT face=3D3DArial size=3D3D2>Thank
you!</FONT></DIV>
<DIV><FONT face=3D3DArial
size=3D3D2></FONT> </DIV>
<DIV><FONT face=3D3DArial><FONT size=3D3D2>Frank.<SPAN =3D
class=3D3D773025322-09102000> (<A=3D20
href=3D3D"mailto:frank@dzaebel.de">frank@dzaebel.de</A>)</SPAN></FONT></FON=3D
T></DIV></BODY></HTML>
------=3D_NextPart_000_0004_01C03254.C5B7C290--
-- __--__--
Message: 6
From: Manuel Bessler <manuel@varxec.de>
Date: Tue, 10 Oct 2000 00:53:46 +0200
To: jpff@maths.bath.ac.uk
Cc: samba@us4.samba.org
Subject: Re: Digest format again
On Mon, Oct 09, 2000 at 10:43:11AM +0100, jpff@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?
> =3D=3DJohn 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
--=20
.-. | Manuel Bessler
/v\ L I N U X | <manuel@varxec.de>,
<m.bessler@gmx.net>
// \\ >Phear the Penguin< |=20
/( )\ | Debian/GNU Linux user
^^-^^
GPG Fingerprint: 278D 2DC2 8A3E 9AEE 98F1 71D2 B224 68D1 1240 28BC
-- __--__--
Message: 7
From: Eduardo Diaz Uriarte <ediazuri@wanadoo.es>
To: <frank_mailinglist@dzaebel.de>
Subject: Re: Problem using masquerading and samba
Date: Tue, 10 Oct 2000 01:04:52 +0200
Cc: Lista Samba <samba@us4.samba.org>
I fuond a similar problem using the 'firewals' package os suse. The
problem was that the firewall
(masquearade) was not allowing some conections from the intranet except for some
ports. Ie, there were only
some ports allowed. When I changed it allowing every port from the 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:>=20
> Hi there...
>=20
> I have got a problem using samba and masquerading at the same time. My
> private LAN looks as follows:
>=20
> |
> Computer A -------------------------- Computer B
------------------INTERNET
> (Win2000) LAN (100Mbit/s) Linux kernel 2.2.14, ISDN |
> samba 2.0.7, masquerading,
> 64MB RAM, AMD K62-350
>=20
> Everything works fine, except when using samba (e.g. by copying files 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.
>=20
> I don't know why, because B's CPU load is about 40% and the
LAN's bandwidth
> should be large enough.
>=20
> Does anybody has an idea?
>=20
>=20
> Thank you!
>=20
> Frank. (frank@dzaebel.de)
>=20
----------------------------------------
Content-Type: text/html; name=3D"unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description:=20
----------------------------------------
-- __--__--
Message: 8
Date: Mon, 09 Oct 2000 16:29:56 -0700
From: Mike Fedyk <mfedyk@matchmail.com>
To: Mike Brodbelt <m.brodbelt@acu.ac.uk>
Cc: Cass Surek <cass@master.com.br>, samba@us4.samba.org
Subject: Re: Undelete for Samba
Mike Brodbelt wrote:>=20
> Cass Surek wrote:
> >
> > Hello guys,
> >
> > We*ve used Novell here and there was a cool thing about it that
wouldn*t
> > really delete a file when a user deleted that file. It*d be stored in
a
> > spool directory and then we*d be able to recover it in case it was
deleted
> > by mistake by the user.
>=20
> 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....
>=20
> HTH
>=20
> Mike.
That being said, the best place to implement this feature is in the 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 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 synchronized
dogs chasing their tails. To put it one way. ;p
--=20
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@matchmail.com Ben Franklin
-- __--__--
Message: 9
Date: Mon, 09 Oct 2000 16:44:31 -0700
From: Mike Fedyk <mfedyk@matchmail.com>
To: samba@us4.samba.org
Subject: Re: Undelete for Samba
Ries van Twisk wrote:>=20
> > 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.
>=20
> 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)
>=20
> Ries
You are correct. You'd need norton or some such to keep network deleted
files.=20
Norton forgets to delete the old deleted files, and your drive fills up..... but
I digress
--=20
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@matchmail.com Ben Franklin
-- __--__--
Message: 10
Date: Tue, 10 Oct 2000 11:33:42 +1000
To: samba@us4.samba.org
From: "Bradley C. Goldsmith" <bcg@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 =3D blacksheep
server string =3D Blacksheep software's file and printer server
security =3D user
log file =3D /var/log/samba-log.%m
lock directory =3D /var/lock/samba
share modes =3D yes
# cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd
# ln -s /etc/rc.d/init.d/smb /etc/rc.d/rc3.d/S91smb
encrypt passwords =3D yes
smb passwd file =3D /etc/smbpasswd
print command =3D /usr/bin/lpr -s -P%p -r %s
printcap name =3D /etc/printcap
load printers =3D yes
[printers]
path =3D /var/spool/lpd/lp
writeable =3D no
public =3D yes
printable =3D yes
browseable =3D no
create mode =3D 0700
[PrintPartner10V]
path =3D /var/spool/lpd/lp
printable =3D yes
read only =3D yes
guest ok =3D yes
[public]
path =3D /home/public
public =3D yes
writable =3D yes
printable =3D no
[admin]
path =3D /blacksheep/admin
public =3D yes
writable =3D yes
printable =3D no
[cdserver]
path =3D /blacksheep/cdserver
public =3D yes
writable =3D yes
printable =3D no
[cdimages]
path =3D /blacksheep/cdimages
public =3D yes
writable =3D yes
printable =3D no
[source]
path =3D /blacksheep/source
public =3D yes
writable =3D yes
printable =3D no
[etc]
path =3D /etc
public =3D no
writable =3D yes
printable =3D no
users =3D brad
browseable =3D yes
-----------------------------------------------------------------------
Bradley C. Goldsmith Telephone: 02 48 724260
Black Sheep Software Pty Ltd Mobile: 0414 514077
Suite 1 Level 1 71 Main Street, bcg@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 =20
http://www.efa.org.au/ to the death your right to say it. --Voltaire
----------------------------------------------------------------------- =20
-- __--__--
Message: 11
Date: Tue, 10 Oct 2000 02:47:08 +0200
From: monsted@tux.nerdheaven.dk
To: samba@samba.org
Subject: Win Millennium support
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=3Dus-ascii
Content-Disposition: inline
There seems to be a lack of a Win millennium plain text registry thingie, 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 of
the force using samba :)
Best Regards
Jesper Monsted
Nerd - BOFH in training=20
=20
--LZvS9be/3tNcYl/X
Content-Type: application/x-gunzip
Content-Disposition: attachment; filename=3D"ptxt_on.inf.gz"
Content-Transfer-Encoding: base64
H4sICPC0PzkAA3B0eHRfb24uaW5mAF2NTYvCMBRF94X+hyAuFDKiiAsRF5LqWPwq1nEznUWm
fdZAJikvr2r/vbHuBi6Py+Nw7oxFkGNT0SDer8JgxoStGlTllVgv77PRdDr+8GfC2U7laJ29
kEewsihJWRMGYfB9A3S+/4SBU6WRVCPMO12xjsXi89DttEwEF1lrio0jqbVHF0VxhHK+NPJX
wyDRUhmCB7Xw/6fH15vtjqeNI/jLRI0IhoQ1hFanQFkKeFM5uOz8iLLzfnlKvxL+trSSk5ck
0rm7xYKP+NBn+M5r7wlpRGoqBAEAAA=3D=3D
--LZvS9be/3tNcYl/X--
-- __--__--
Message: 12
Subject: compile error
To: samba@samba.org
From: Jim_Park@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, 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@acl.com.au
************************************
-- __--__--
Message: 13
Date: Tue, 10 Oct 2000 16:31:26 +1300
From: bryan quigley <bryan.quigley@newzealand.sun.com>
Organization: Sun Microsystems
To: samba@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 =3D strdup(session_users);
if (!user_list) return(False);
=20
! for (auser=3Dstrtok(user_list,LIST_SEP);=20
!ok && auser;=20
! auser =3D 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 =3D strdup(session_users);
if (!user_list) return(False);
=20
! for (auser=3Dstrtok_r(user_list,LIST_SEP,&strtok_ptr);=20
!ok && auser;=20
! auser =3D strtok_r(NULL,LIST_SEP,&strtok_ptr))
{
fstring user2;
fstrcpy(user2,auser);
--=20
Bryan Quigley bryan.quigley@newzealand.sun.com
Systems Engineer DDI (4) 462 0729
SolNet Ltd. mobile (21) 475 176
-- __--__--
Message: 14
Date: Mon, 9 Oct 2000 23:47:46 -0500 (EST)
From: Brian Poole <rajak@purdue.edu>
Reply-To: rajak@cerias.purdue.edu
To: samba@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
-- __--__--
_______________________________________________
samba mailing list
samba@lists.samba.org
http://lists.samba.org/mailman/listinfo/samba
End of samba Digest
--__--__--
Message: 2
From: Tim Potter <tpot@linuxcare.com.au>
Date: Tue, 10 Oct 2000 16:53:53 +1100 (EST)
To: pwales@cdpr.ca.gov
Cc: <samba@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@us4.samba.org
Subject: Re: Samba Speed Question - Please Help!
<39DDD56B.614811A8@cinesite.co.uk>
From: Justen Marshall <justen@al.com.au>
Reply-To: Justen Marshall <justen@al.com.au>
Date: Tue, 10 Oct 2000 18:24:38 +1000
Hi
"Kevin (HxPro) Wheatley" <hxpro@cinesite.co.uk> writes:
> > On Wed, 4 Oct 2000, Justen Marshall wrote:
> >
> > [ lots of things about small files ]
> >
>
> I missed the start of the thread so please forgive me if you've
> already done this...
>
> 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@lynx:lotsafiles 15 >timex ls > /dev/null
real 0.23
user 0.19
sys 0.03
justen@lynx:lotsafiles 16 >timex ls -l > /dev/null
real 2.85
user 1.52
sys 1.29
justen@lynx:lotsafiles 17 >ls -l | wc
10001 90002 648907
justen@lynx:lotsafiles 18 >timex du -ks .
120456 .
real 1.33
user 0.05
sys 1.24
justen@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@uma:lotsafiles 6 >timex ls > /dev/null
real 4.51
user 0.20
sys 0.07
justen@uma:lotsafiles 7 >timex ls -l > /dev/null
real 12.43
user 1.54
sys 3.42
justen@uma:lotsafiles 8 >ls -l | wc
10001 90002 648907
justen@uma:lotsafiles 9 >timex du -ks .
100452 .
real 9.80
user 0.09
sys 3.30
justen@uma:lotsafiles 10 >timex find . -name file -print
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,
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
--
.-----------------------.------------.--------------------------.
| Justen Marshall | | e-mail: justen@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@lists.samba.org
http://lists.samba.org/mailman/listinfo/samba
End of samba Digest