SAMBA digest 1778

Davis Company DavisCo at genrad.com
Thu Aug 13 17:26:23 GMT 1998


PLEASE, PLEASE DELETE ME OFF THE MAILING LIST.  I HAVE SENT SEVERAL
MESSAGES REGARDING THIS!!!

THANK YOU 



	-----Original Message-----
	From:	samba at samba.anu.edu.au [SMTP:samba at samba.anu.edu.au]
	Sent:	Thursday, August 13, 1998 1:09 PM
	To:	Multiple recipients of list
	Subject:	SAMBA digest 1778

				    SAMBA Digest 1778

	For information on unsubscribing see
http://samba.anu.edu.au/listproc
	Topics covered in this issue include:

	  1) Public shares w/ security = user
		by Charles Curley <charles.h.curley at lmco.com>
	  2) Re: Failure to execute programs from a mapped drive
		by "Mark Hazen" <mhazen at franklin.uga.edu>
	  3) Living with WinNT servers / password synchronization
		by Chong Shang Shan <chongsha at sps.nus.edu.sg>
	  4) Re: SAMBA digest 1777
		by "Mark Hazen" <mhazen at franklin.uga.edu>
	  5) Re: Network Neighborhood comment fields and Samba
		by "Mark Hazen" <mhazen at franklin.uga.edu>
	  6) Re: SAMBA digest 1775
		by Matthew Chapman <z2232203 at student.unsw.edu.au>
	  7) Re: Print Drivers on Samba
		by Matthew Chapman <z2232203 at student.unsw.edu.au>
	  8) (no subject)
		by "Johnny W. Hall" <johnny at aspec.com>
	  9) samba pidfile
		by Ian Simpson <Ian.Simpson at alphawest.com.au>
	 10) Re: Living with WinNT servers / password synchronization
		by Jan Kratochvil <short at ucw.cz>
	 11) Re: security=server and need to have users at linux too
		by Bill Eldridge <bill at rfa.org>
	 12) Performance Problems
		by graham.dodd at ramstein.af.mil
	 13) Problem copying files using xcopy 
		by "Sudarsan Varadan" <sudarsan.varadan at wang.com>

	
----------------------------------------------------------------------

	Date: Wed, 12 Aug 1998 13:20:46 -0400
	From: Charles Curley <charles.h.curley at lmco.com>
	To: Samba Mailing List <samba at samba.anu.edu.au>
	Subject: Public shares w/ security = user
	Message-ID: <35D1CEEE.1D711FD at lmco.com>

	Configuration: RedHat 5.0 w/ Samba 1.9.18p8. My servers don't do
domain
	logins. I picked a workgroup called OCALA-CIM for it. I have
clients
	connecting from standalone desktops w/o domain logins to anyone
and
	others that connect from desktops that are fully logged into a
NT
	domain, which is called ACCT03 and these desktops seem to be
mostly
	setup to be in a workgroup called EMC.

	My main samba server (hostname and netbios name is "mi") has
been
	working well for a while with share level security. Now I want
to add a
	second machine and have it use mi as its password server.
Instant
	problems.

	Can shares be public on a server with user level security, i.e.,
no
	login required whatsoever?

	As soon as I enabled user security, users connected to public
shares
	started getting authentication windows up for the \\server\ipc$
before
	even getting near the shares. I enabled user level security
since this
	is required for the machine to act as a password server,
correct? I've
	looked through the actives trying to find out how to fix but
didn't find
	an answer, at least I didn't realize I did.

	I've been messing around with creating a wildcard user match in
the
	usermap and then putting that user in the smb password file w/o
a
	password (nobody:99:NO PASSWORDXXXX ...). Is this how you
accomplish my
	goal? This sort of works but doesn't "feel" right. Problem with
this is
	that it seems to cause the server to be unacceptable as a
password
	server by another samba since I get the following when trying to
point
	the new samba server at the old one with a "security = server"
and
	"password server = mi":

	server_validate: password server MI allows users as non-guest
with a bad
	password.
	server_validate: This is broken (and insecure) behaviour. Please
do not
	use this machine as the password server.

	--
	Charles Curley, Staff Engineer
	Computer Integrated Manufacturing
	Lockheed Martin Ocala Operations



	------------------------------

	Date: Wed, 12 Aug 1998 22:01:22 -0400
	From: "Mark Hazen" <mhazen at franklin.uga.edu>
	To: <samba at samba.anu.edu.au>
	Cc: <alex at gsm.adelaide.edu.au>
	Subject: Re: Failure to execute programs from a mapped drive
	Message-ID: <01bdc65e$4521a420$50b00fa8 at mark.franklin.uga.edu>


	>If I put an app in 'Alex_Ardalich' I get something like a file
not
	>found errors.
	>
	>An app in a folder under the General share runs fine.


	Most likely to do with the way that Win95 tries to access
directories.
	Rename your directories to all lower case, and my guess is
you'll resolve
	the problem. You can force lowercase names (this has been our
solution here)
	or you can also set SAMBA to check for multiple capitalizations.
The problem
	is really that to Windows95,  the names "Folder", "folder",
"fOLDER" and
	"FoLdEr" are all treated the same way (they are requested as as
'folder', if
	I recall correctly), while these are all different to Unix.

	Anytime anyone tells you Windows98 is the wave of the future,
just remind
	them that it can't even tell the difference between upper and
lower case.
	::grin::

	Regards,

	-mh.
	----
	   . _+m"m+_"+_   Mark Hazen    Network Administrator, Dean's
Office
	d' Jp     qh qh             The Franklin College of Arts &
Sciences
	Jp  O       O  O             The University of Georgia
(706)542-1546
	Yb  Yb     dY dY
	O   "Y5m2Y"  "     even the mightiest wave starts out as a
ripple.
	  "Y_           why make waves when it's easier to nurture
ripples?



	------------------------------

	Date: Thu, 13 Aug 1998 09:47:24 +0800 (SST)
	From: Chong Shang Shan <chongsha at sps.nus.edu.sg>
	To: Multiple recipients of list <samba at samba.anu.edu.au>
	Subject: Living with WinNT servers / password synchronization
	Message-ID:
<Pine.SGI.3.94.980813090438.12101A-100000 at sps.nus.edu.sg>

	Hello,

		I am running samba 1.9.18p8-1 on a Debian Linux machine.
This
	machine is set to be a local master and domain master and
logons, serving
	10 Win95 machines via the LAN. There are *many* WinNT servers
"out there",
	not maintained by me, which I have no interest in communicating
with,
	except to live peacefully with them, and not step on their toes.

	Everything works perfectly except that the samba daemon keeps
writing
	gobfuls of messages like

	NET: 130 messages suppressed.
	137.132.80.131 sent an invalid ICMP error to a broadcast
	137.132.80.124 sent an invalid ICMP error to a broadcast
	137.132.80.132 sent an invalid ICMP error to a broadcast

	The IPs apparently all come from Win NT servers. What is wrong
with my
	configuration, and how can I solve it? (other than pipe the
messages to
	/dev/null?)

	Another thing worries me is the possibility of unsynchronized
passwords. 
	Apparently, samba allows users to change their passwords via the
Win95
	control panel. But the network logon password seems to be
different from
	the "Windows password". As long a user changes his password
using the
	control panel on one machine, everything seems ok. But a changed
password
	might not be propagated to the "Windows password" of another
machine, and
	subsequent changes of passwords will give "password not changed"
messages,
	even when the network password _is_ changed (pure confusion). So
far, I
	have not informed my users of this facility, and with this bug,
I'm not
	sure if I should. But it is a real pain to make everyone change
their
	passwords through the root. :)


	css.
	--
	Chong Shang Shan <*> ChongSS at letterbox.com <*>
	== Standard disclaimer applies
===========================================


	------------------------------

	Date: Wed, 12 Aug 1998 22:13:58 -0400
	From: "Mark Hazen" <mhazen at franklin.uga.edu>
	To: <samba at samba.anu.edu.au>
	Cc: <gurevitz at cs.umd.edu>
	Subject: Re: SAMBA digest 1777
	Message-ID: <01bdc660$07d68020$50b00fa8 at mark.franklin.uga.edu>

	>Date: Wed, 12 Aug 1998 09:00:20 -0400
	>From: "Eric Gurevitz" <gurevitz at cs.umd.edu>
	>
	> I use samba mostly for printing. On NT server you can install
the
	necessary
	>print drivers for 95, NT, etc so that when a user connects to a
printer it
	>automatically downloads the correct driver. Is there anyway to
do this with
	>samba?


	Yes, but not under NT. This is in the documentation that comes
with SAMBA,
	in the docs directory, in a file called "PRINTER_DRIVER.txt".

	Regards,

	-mh.
	----
	   . _+m"m+_"+_   Mark Hazen    Network Administrator, Dean's
Office
	d' Jp     qh qh             The Franklin College of Arts &
Sciences
	Jp  O       O  O             The University of Georgia
(706)542-1546
	Yb  Yb     dY dY
	O   "Y5m2Y"  "     even the mightiest wave starts out as a
ripple.
	  "Y_           why make waves when it's easier to nurture
ripples?



	------------------------------

	Date: Wed, 12 Aug 1998 22:18:02 -0400
	From: "Mark Hazen" <mhazen at franklin.uga.edu>
	To: <samba at samba.anu.edu.au>
	Subject: Re: Network Neighborhood comment fields and Samba
	Message-ID: <01bdc660$98e5d0c0$50b00fa8 at mark.franklin.uga.edu>

	>From: "Paul L. Lussier" <plussier at BayNetworks.COM>
	>Subject: Network Neighborhood comment fields and Samba
	>
	>The problem I'm encountering is that the only comment I see is
that of the
	>what is listed in the main smb.conf file:

	Have you tried commenting that string out in your smb.conf file,
and letting
	the string be set first in the individual configs? That'd be my
first
	suggestion. My guess is also (just guessing) that either the
included file
	is getting parsed before the line in the smb.conf file, or SAMBA
is
	intentionally ignoring recurring comments.

	Regards,

	-mh.
	----
	   . _+m"m+_"+_   Mark Hazen    Network Administrator, Dean's
Office
	d' Jp     qh qh             The Franklin College of Arts &
Sciences
	Jp  O       O  O             The University of Georgia
(706)542-1546
	Yb  Yb     dY dY
	O   "Y5m2Y"  "     even the mightiest wave starts out as a
ripple.
	  "Y_           why make waves when it's easier to nurture
ripples?



	------------------------------

	Date: Thu, 13 Aug 1998 02:11:59 +0000
	From: Matthew Chapman <z2232203 at student.unsw.edu.au>
	To: samba at samba.anu.edu.au, alex at gsm.adelaide.edu.au
	Subject: Re: SAMBA digest 1775
	Message-ID: <35D24B6F.FF34FC92 at student.unsw.edu.au>

	There is a bug in the Microsoft LanManger implementation which
mismaps
	long filenames for 16-bit applications - thus 16-bit apps run
from
	long path names on networked shares will often fail. Try sharing
the
	apps from the same pathname on a Win95 client and running them
under
	NT - I suspect the same thing will happen. Workaround: don't use
long
	filenames.

	    Matt


	> > I have a strange situation.  I have a Linux machine running
samba
	> > 1.9.18p8, serving a mix of NT Workstation 4.0 and Windows 95
clients.
	> In
	> > general, things have worked flawlessly, with one exception:
none of the
	> > clients are able to execute programs stored on these shares.
Full
	> reading
	> > and writing to the shares is possible; and even though I
cannot see how
	> it
	> > would be relevant, the execute bits are set to all files.  I
can provide
	> > needed portions of my smb.conf file as needed.  Any
suggestions or
	> > comments are most welcome.
	>
	> I have noticed it can depend on the share name or maybe the
name of
	> the directory it is in
	>
	> For example I have the two following shares...
	>
	> 1.) General
	>
	> 2.) StaffShare
	>         folders under this share have names like
	>         Alex_Ardalich
	>
	> If I put an app in 'Alex_Ardalich' I get something like a file
not
	> found errors.
	>
	> An app in a folder under the General share runs fine.
	>
	> Alex

	 --
	Matt Chapman
	E-mail: mattyc at cyberdude.com


	------------------------------

	Date: Thu, 13 Aug 1998 02:25:34 +0000
	From: Matthew Chapman <z2232203 at student.unsw.edu.au>
	To: samba at samba.anu.edu.au, gurevitz at cs.umd.edu
	Subject: Re: Print Drivers on Samba
	Message-ID: <35D24E9D.5DA46D6E at student.unsw.edu.au>

	> Hello All:
	>         I use samba mostly for printing. On NT server you can
install the necessary
	> print drivers for 95, NT, etc so that when a user connects to
a printer it
	> automatically downloads the correct driver. Is there anyway to
do this with
	> samba?
	>
	> Eric
	>
	> Eric Gurevitz
	> gurevitz at cs.umd.edu
	> PC Support
	> Computer Science
	> University of Maryland
	> 301-405-2749

	In my experience NT will add the correct driver as long as you
have "printer driver =
	" set correctly in smb.conf ('man smb.conf' for more info). For
information on how to
	set up Samba so Win95 downloads the correct driver see
PRINTER_DRIVER.txt in the Samba
	docs.

	Moral of this story: RTFD.

	    Matt.


	--
	Matt Chapman
	E-mail: mattyc at cyberdude.com





	------------------------------

	Date: Wed, 12 Aug 1998 22:17:29 -0700
	From: "Johnny W. Hall" <johnny at aspec.com>
	To: samba at anu.edu.au
	Subject: (no subject)
	Message-ID: <35D276E9.65F2A9B0 at aspec.com>

	This is a multi-part message in MIME format.
	--------------273BC38A52AF51963CEBBE3E
	Content-Type: text/plain; charset=us-ascii
	Content-Transfer-Encoding: 7bit

	SUBSCRIBE

	--------------273BC38A52AF51963CEBBE3E
	Content-Type: text/x-vcard; charset=us-ascii;
	 name="johnny.vcf"
	Content-Transfer-Encoding: 7bit
	Content-Description: Card for Johnny W. Hall
	Content-Disposition: attachment;
	 filename="johnny.vcf"

	begin:vcard
	n:Hall;Johnny
	tel;fax:408-522-9450
	tel;work:408-328-9685
	x-mozilla-html:FALSE
	org:Aspec Technology
	adr:;;830 E. Arques Ave.;Sunnyvale;Ca;94086;USA
	version:2.1
	email;internet:johnny at aspec.com
	title:Unix System Admin
	x-mozilla-cpt:;0
	fn:Johnny Hall
	end:vcard


	--------------273BC38A52AF51963CEBBE3E--


	------------------------------

	Date: Thu, 13 Aug 1998 15:53:07 +0800
	From: Ian Simpson <Ian.Simpson at alphawest.com.au>
	To: samba at samba.anu.edu.au
	Subject: samba pidfile
	Message-ID: <35D29B63.E414BEF5 at alphawest.com.au>

	Hi all, 
	sorry about the samba newbie question, but..
	where is pidfile for the smbd processes  that are currently
running?
	I know smbstatus, but it reports the number of current
connections ( I
	think) which is one less than a ps -ef smbd (or equivalent)
outputs.
	Basically, I am looking at a script to kill all smbd and the
nmbd
	processes. Unfortunately, O/S is solaris, and I don't have the
linux
	'killall' command (well, I do, but I do not want to kill the
entire
	system.

	Thanks for any tips,

	Ian

	------------------------------

	Date: Thu, 13 Aug 1998 12:04:49 +0200
	From: Jan Kratochvil <short at ucw.cz>
	To: chongsha at sps.nus.edu.sg
	Cc: samba at samba.anu.edu.au
	Subject: Re: Living with WinNT servers / password
synchronization
	Message-ID: <19980813120449.00856 at atrey.karlin.mff.cuni.cz>

	> Hello,
	Hi

	> 	I am running samba 1.9.18p8-1 on a Debian Linux machine.
This
	  Linux kernel is the source of this message, so your post to
samba at ...
	was offtopic.

	  See /usr/src/linux/net/ipv4/icmp.c, line around 680.

	[snipped]

	> The IPs apparently all come from Win NT servers. What is wrong
with my
	> configuration, and how can I solve it? (other than pipe the
messages to
	> /dev/null?)
	  See the comment in the sources referenced above. And you can
comment out
	that message from there anyway, if you are unable to fix it at
any side.

	[snipped]


				Lace

	------------------------------

	Date: Thu, 13 Aug 1998 07:18:20 -0400
	From: Bill Eldridge <bill at rfa.org>
	To: "'samba at samba.anu.edu.au'" <samba at samba.anu.edu.au>
	Cc: "'harald-s at gmx.net'" <harald-s at gmx.net>
	Subject: Re: security=server and need to have users at linux too
	Message-ID: <01BDC68A.8CAEE2E0.bill at rfa.org>


	Depending on the concerns for adding 200 users on the
	Linux box:

	1) You can have every user authenticate via the NT box
	using PAM_SMB, and in /etc/pam.d figure out which
	services they can access this way (i.e. yes to IMAP/mail,
	no to shell login, etc.)

	2) You can make a "/bin/false" as the shell in the passwd
	file to prevent any logins, and make the homes /dev/null
	if you don't want to take up disk space.

	3) If the issue is just time to set up 200 accounts, you have
	a file "UserList" with all the user names and do:

	for i in `cat UserList`; do
	   adduser -g somegroup -d /home/$i -p '*' -s /bin/zsh  $i
	done

	(The * password assumes you're using PAM_SMB).

	4) If the issue is just how to allow NT users without setting
	up any Linux accounts, I'm not sure this can be done.


	--
	Bill Eldridge
	Radio Free Asia
	bill at rfa.org



	------------------------------

	Date: Thu, 13 Aug 1998 14:39:59 +0200
	From: graham.dodd at ramstein.af.mil
	To: samba at samba.anu.edu.au
	Subject: Performance Problems
	Message-ID:
<DFA56F55726AD111839A0000F820FB78013685C5 at ram-exch-nl5.ramstein.af.mil>

	I've been introducing a local company to the benefits of Linux
and Samba,
	things have been going really well until I tried to provide some
file
	sharing for 3 people on the Lan.

	Setup:	RH 5.0 on a P5-133 running a small intranet with DHCP,
file server,
	and local / remote mail services
		Samba 1.9.18 (not sure of patch level)

	I setup a directory accessible by only 3 users and copied a
2.4Meg .dbf file
	into the mapped directory, this only took a few seconds.

	I tried to open the .dbf file using Excel97 from a users PC, it
took > 5
	minutes
	Sharing a Win95 folder containing the same file, and opening it
from another
	users PC took around 15 seconds........

	The server load is very light, it's not swapping or disk
thrashing and no
	other users were using Samba during these tests.

	Why do I have really poor performance using Samba???

	Appreciate any thoughts or ideas


	Graham


	-------------------------------------------------------
	Graham K Dodd
	Network Systems Analyst
	DSN: 480-5670 / 5233
	Fax : 480-2332
	Email: Graham.Dodd at ramstein.af.mil
	-------------------------------------------------------


	------------------------------

	Date: Thu, 13 Aug 1998 09:33:57 -0700
	From: "Sudarsan Varadan" <sudarsan.varadan at wang.com>
	To: <samba at samba.anu.edu.au>
	Subject: Problem copying files using xcopy 
	Message-ID:
<000a01bdc6d8$2b8e8d00$b66ebd81 at cbinfrasv.olsy-na.com>

	> Hi
	>
	> 	I am having this wierld problem, where I am using an
intel proclone disk
	> using the tcp-ip stack, and trying to download files using
xcopy from a
	> unixware server running samba on it.  The problem I have is
when my
	> directory structure goes more than 48 characters, xcopy fails
with path
	not
	> found.  Is this a limitation with samba???    We have been
downloading
	files
	> without any problems using xcopy on a network using lanmanager
/ netbeui.
	> Please advise.
	>
	> Thanks in advance
	>
	> Sudarsan Varadan

	
------------------------------------------------------------------------
----
	------------------
	Sudarsan Varadan
	Ph: (509) 927-5748 (W)
	       (509) 891-1711 (H)
	       (800) 516-3901 (Pager)
	sudarsan.varadan at wang.com
	svaradan at hotmail.com




	------------------------------

	End of SAMBA Digest 1778
	************************


More information about the samba mailing list