SAMBA digest 1867

Lennart Nilhov lennart at nilkom.se
Sat Nov 7 17:47:17 GMT 1998


OK, med 19:00
sv tid
/Lennart
At 13:05 1998-11-07 +1100, you wrote:
>			    SAMBA Digest 1867
>
>For information on unsubscribing see http://samba.anu.edu.au/listproc
>Topics covered in this issue include:
>
>  1) Re: nis homedir troubles
>	by Jeremy Allison <jallison at cthulhu.engr.sgi.com>
>  2) calling all Samba vendors!
>	by Andrew Tridgell <tridge at samba.anu.edu.au>
>  3) Win98 and CHAP
>	by Dave Horsfall <dave at fgh.geac.com.au>
>  4) NT; Samba logs user on as 'nobody' on reboot?
>	by E Kovarski <edwardk at openetix.com>
>  5) Netlogon problems
>	by Miquel Bonastre <miquel at fib.upc.es>
>  6) new web pages
>	by Andrew Tridgell <tridge at samba.anu.edu.au>
>  7) RE: change Unix file permissions from a NT Box
>	by "Emrich Michael (QI/LBS3-Rt) *" <Michael.Emrich at de.bosch.com>
>  8) ? How do I install samba ?
>	by "Charles E. Gelm" <gelmce at erinet.com>
>  9) Getting my samba server to show up in browse lists
>	by Chris Knox <cknox at hypercom.com>
> 10) Logging file request
>	by sandro at ermit.ermit.it
> 11) Re: change Unix file permissions from a NT Box
>	by David Collier-Brown <davecb at Canada.Sun.COM>
> 12) samba as WINS server
>	by "Bo Zhang" <bzhang at clearone.com>
> 13) RE: The credentials supplied conflict with .....
>	by "Provencher, Marc" <mprovenc at foxboro.ca>
> 14) Problems with MS Word 97 and Samba 1.9.18p10
>	by "Whiffen, Richard" <whiffen at ici.org>
> 15) TCP_NODELAY problem
>	by "David L. Aldridge" <dlac at aldridge.com>
> 16) Re: Need help with 'Cannot find setup.exe Windows needs this file
>	by Wayne_Johnson at candle.com
> 17) samba server does not show up on PC!
>	by Steven Zhu <steven at dragon-street.com>
>
>----------------------------------------------------------------------
>
>Date: Thu, 05 Nov 1998 18:27:36 -0800
>From: Jeremy Allison <jallison at cthulhu.engr.sgi.com>
>To: Paul Allen <paul.allen at redwood.rt.cs.boeing.com>,
"samba at samba.anu.edu.au" <samba at samba.anu.edu.au>, Paul Ostro
<paulo at medphys.ucl.ac.uk>
>Subject: Re: nis homedir troubles
>Message-ID: <36425E98.77AB5F8C at engr.sgi.com>
>
>Paul Ostro wrote:
>
>> Could anyone on the Samba team confirm what is meant to happen with nis
>> homedir, please? Is it a feature used a lot (and hence I am being daft in
>> not being able to get it working), or has it got known problems? Maybe a
>> docs/homedir.txt file would be useful?
>
>Paul Allen <paul.allen at redwood.rt.cs.boeing.com> wrote :
>
>> I have four pure NFS fileservers.  By "pure", I mean that they are
>> absolutely not NFS clients.  I do not automount /home on my fileservers.
>> I have Samba 2.0.0-alpha13) running on all four servers with these
>> lines in each smb.conf file:
>> 
>>   nis homedir = True
>>   homedir map = auto_home
>> 
>
>This all looks good - but the critical part of this is - is one of 
>these servers acting as a Windows 95/98 logon server ?
>
>It's been a while since I looked at the homedir map code
>but my understanding of this is that you only need these
>lines in the Samba server that is acting as the logon 
>server.
>
>The way it's supposed to work is that the Win95/98 client
>does a broadcast on port UDP 138 to find the logon server,
>nmbd responds and then the client attaches to the IPC$ 
>share on the server as the logging on user and does a 
>NetUserGetInfo rap call down the IPC$ pipe to get the
>info about the user.
>
>Part of this info (handled in ipc.c in the Samba code)
>is the "home server" and "home path" (the names are
>kind of sketchy without trawling through the code).
>
>It's at this point (getting this info) that the
>substitutions from the NIS automount maps are
>done.
>
>Once the client receives this info back it then goes
>off and mounts the given share from the given home
>server as the home directory for the logging on user,
>ie. contacting the Samba server holding the users
>home directory directly, not doing anything more
>with the Samba server that is the logon server.
>
>Does this clarification help ?
>
>Cheers,
>
>	Jeremy Allison,
>	Samba Team.
>
>
>-- 
>--------------------------------------------------------
>Buying an operating system without source is like buying
>a self-assembly Space Shuttle with no instructions.
>--------------------------------------------------------
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 16:33:31 +1100
>From: Andrew Tridgell <tridge at samba.anu.edu.au>
>To: samba at samba.anu.edu.au
>Subject: calling all Samba vendors!
>Message-ID: <19981106053336Z12583155-20477+1988 at samba.anu.edu.au>
>
>If you sell a product that includes Samba, for example as an embedded
>server, then please contact me. I am starting a "Samba vendors web
>page" as part of the new Samba web pages and want to get as many of
>the current vendors listed as possible.
>
>The page will allow you to show off a logo and say why you chose
>Samba. Apart from giving you an advertising opportunity I hope that
>the pages will tempt more vendors to choose Samba.
>
>See http://samba2.anu.edu.au/samba/samba.html for a look at the style
>of web pages we will be using.
>
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 16:40:33 +1100 (EST)
>From: Dave Horsfall <dave at fgh.geac.com.au>
>To: Samba Mailing List <samba at samba.anu.edu.au>
>Subject: Win98 and CHAP
>Message-ID: <Pine.GSO.4.03.9811061636410.7139-100000 at fgh>
>
>Solaris 2.5.1, Samba 1.9.18p10, trying in vain to talk to a Win98 box.
>Apparently, the passwords need to be encrypted.
>
>I found something that said I need to configure CHAP for this to work, but
>cannot find any further references.  Yes, I know what CHAP is, I just need
>to know how to teach Samba...
>
>Unless I was looking in the wrong place, I couldn't see anything in the
>FAQ...
>
>-- 
>Dave Horsfall VK2KFU  dave at geac.com.au  Ph: +61 2 9978-7493 Fx: +61 2
9978-7422
>Geac Computers P/L (FGH Division) 2/57 Christie St, St Leonards 2065,
Australia
>
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 01:06:50 -0500
>From: E Kovarski <edwardk at openetix.com>
>To: samba at samba.anu.edu.au
>Subject: NT; Samba logs user on as 'nobody' on reboot?
>Message-ID: <4076311521.910314410 at blackbird.skunkworks.ml.org>
>
>Hi,
>Excuse me if this problem has been flogged to death before on this list.
>
>I'm running SAMBA 1.9.18p10 on a FreeBSD 2.2.6 box with a mix of Win9x and
>NT clients. Now, the Win9x boxes have no problems in mounting their drives
>but the NT machines all experience problems on their first initial
>connection.
>
>My particular question is, are there known problerms with logging into
>SAMBA when an NT box is configured for auto-logon? 
>
>It would appear as though SAMBA (or NT?) logs the box in as 'nobody' on a
>reboot. This creates a few problems for various applications as permissions
>are no longer valid for 'nobody.' In order to get things back to normal,
>one has to disconnect the drives and then remount them.
>
>I'd appreciate any ideas on how to solve this problem.
>
>Regards,
>Edward
>
>
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 09:05:47 +0100
>From: Miquel Bonastre <miquel at fib.upc.es>
>To: "samba at samba.anu.edu.au" <samba at samba.anu.edu.au>, pcnix at fib.upc.es
>Subject: Netlogon problems
>Message-ID: <3642ADDB.6114C72D at fib.upc.es>
>
>This is a multi-part message in MIME format.
>--------------6966519300AE8EAA336BEEB3
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>
>
>Hi,
>
>  We use Samba 1.9.18p10 on a Digital Unix alpha workstation
>  as file server for our users. In rush hour there are 80-100
>  clients connected to the server. It works fine almost all
>  the time but sometimes we have problems with the login
>  from Windows 95.
>
>  When the problem appears the user enters username, password
>  and domain and it displays the message
>
>  - Cannot found the shared resource. Be sure it's correctly
>    specified 
>
>  or
>
>  - The specified password is incorrect or the access is denied.
>
>  (This are translations from the spanish messages)
>
>  sometimes the user only needs to press enter again on the 
>  authentication window (so the password was correct), 
>  sometimes he needs to try a lot (5-6 times) and sometimes 
>  it never works.
>
>  This problems never appears with the same operation from
>  a dos client (using Lanman client), so we thing is a Windows
>  95 problem, but there should be something in the server 
>  that forces it.
>
>  It doesn't seem to be related to the number of clients connected
>  because we have had 110 clients at the same time without 
>  any problem and it has appeared with only 50 clients.
>
>  Now we are trying to monitors the net and disk activity to 
>  try to see if the server load is the cause but when the problem
>  appears an interactive session with the server works fine.
>
>  Has someone any idea about why this problem could appear?
>
>  Please, bring me ideas about where to search the causes,
>  parameters that I should review, windows 95 configuration, ...
>
>  Where can I found information about timing parameters 
>  on the makefile? 
>
>  Which is the daemon that serves the netlogon? nmbd, smbd or both?
>
>  Thank you very much.
>     
>-- 
>                            Miquel Bonastre (miquel at fib.upc.es)
>                            Area de Sistemes Unix (LCFIB)
>                            Facultat d'Informatica de Barcelona
>                            Universitat Politecnica de Catalunya
>--------------6966519300AE8EAA336BEEB3
>Content-Type: text/plain; charset=us-ascii;
> name="params.conf"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline;
> filename="params.conf"
>
>Load smb config files from /usr/local/samba/lib/smb.conf
>NOTE: Service ic6_lpt2 is flagged unavailable.
>Loaded services file OK.
>Press enter to see a dump of your service definitions
># Global parameters
>	debuglevel = 1
>	syslog = 3
>	syslog only = Yes
>	protocol = NT1
>	security = USER
>	max disk size = 0
>	lpq cache time = 10
>	announce as = NT
>	encrypt passwords = Yes
>	update encrypted = No
>	getwd cache = Yes
>	read prediction = No
>	read bmpx = Yes
>	read raw = Yes
>	write raw = Yes
>	use rhosts = No
>	load printers = No
>	null passwords = No
>	strip dot = No
>	interfaces = 
>	bind interfaces only = No
>	networkstation user login = No
>	password server = 
>	socket options = SO_KEEPALIVE
>	netbios name = FUSIO
>	netbios aliases = 
>	smbrun = /usr/local/samba/bin/smbrun
>	log file = 
>	config file = 
>	smb passwd file = /usr/local/samba/private/smbpasswd
>	hosts equiv = 
>	preload = 
>	server string = Servidor FUSIO de l'LCFIB
>	printcap name = /etc/printcap
>	lock dir = /usr/local/samba/var/locks
>	root directory = /
>	default service = 
>	message command = 
>	dfree command = /usr/local/samba/scripts/dfree
>	passwd program = /usr/local/samba/bin/smbpasswd
>	passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n
*changed*
>	passwd chat debug = No
>	valid chars = 
>	workgroup = SMBFIB
>	username map = /usr/local/samba/lib/users.map
>	character set = 
>	logon script = logon.bat
>	logon path = \\%N\%U\profile
>	logon drive = 
>	logon home = \\%N\%U
>	remote announce = 
>	remote browse sync = 
>	socket address = 0.0.0.0
>	homedir map = 
>	announce version = 4.2
>	max log size = 5000
>	mangled stack = 50
>	max mux = 50
>	max xmit = 65535
>	max packet = 65535
>	name resolve order = wins lmhosts host bcast
>	packet size = 65535
>	password level = 0
>	username level = 0
>	keepalive = 0
>	deadtime = 15
>	time offset = 0
>	read size = 16384
>	shared mem size = 102400
>	coding system = 
>	client code page = 850
>	os level = 255
>	max ttl = 14400
>	max wins ttl = 259200
>	min wins ttl = 21600
>	lm announce = Auto
>	lm interval = 60
>	dns proxy = Yes
>	wins support = Yes
>	wins proxy = No
>	wins server = 
>	preferred master = Yes
>	local master = Yes
>	domain master = Yes
>	domain logons = Yes
>	browse list = Yes
>	unix realname = Yes
>	NIS homedir = No
>	unix password sync = No
>	time server = No
>	ole locking compatibility = Yes
>	printer driver file = /usr/local/samba/lib/printers.def
>
>
># Default service parameters
>	comment = 
>	copy = 
>	include = /usr/local/samba/lib/shares.conf
>	exec = 
>	postexec = 
>	root preexec = 
>	root postexec = 
>	alternate permissions = No
>	revalidate = No
>	default case = lower
>	case sensitive = No
>	preserve case = Yes
>	short preserve case = Yes
>	mangle case = No
>	mangling char = ~
>	browseable = Yes
>	available = Yes
>	path = 
>	username = 
>	guest account = nobody
>	invalid users = @disuser
>	valid users = 
>	admin users = 
>	read list = 
>	write list = 
>	volume = 
>	force user = 
>	force group = 
>	read only = Yes
>	max connections = 0
>	min print space = 0
>	create mask = 0744
>	force create mode = 00
>	directory mask = 0755
>	force directory mode = 00
>	set directory = No
>	status = Yes
>	hide dot files = Yes
>	delete veto files = No
>	veto files = 
>	hide files = 
>	veto oplock files = 
>	guest only = No
>	guest ok = No
>	print ok = No
>	postscript = No
>	map system = No
>	map hidden = No
>	map archive = Yes
>	locking = Yes
>	strict locking = No
>	share modes = Yes
>	oplocks = Yes
>	only user = No
>	wide links = Yes
>	follow symlinks = Yes
>	sync always = No
>	strict sync = No
>	mangled names = Yes
>	fake oplocks = No
>	printing = bsd
>	print command = lpr -r -P%p -J%m %s
>	lpq command = lpq -P%p
>	lprm command = lprm -P%p %j
>	lppause command = 
>	lpresume command = 
>	queuepause command = 
>	queueresume command = 
>	printer = 
>	printer driver = NULL
>	printer driver location = 
>	hosts allow =
>	hosts deny = 
>	dont descend = 
>	magic script = 
>	magic output = 
>	mangled map = 
>	delete readonly = No
>	dos filetimes = No
>	dos filetime resolution = No
>	fake directory create times = No
>
>[homes]
>	comment = Directori Home d'en %U
>	browseable = No
>	read only = No
>	create mask = 0700
>	wide links = No
>
>[scratch]
>	comment = Directori temporal a %h
>	path = /usr/local/samba/shares/scratch
>	read only = No
>	create mask = 0755
>	wide links = No
>
>[netlogon]
>	comment = Scripts d'inicialitzacio de la xarxa
>	path = /usr/local/samba/shares/netlogon
>	write list = @admsamba
>	force group = admsamba
>	create mask = 0775
>	directory mask = 0775
>	oplocks = No
>
>[software]
>	comment = Software docent
>	path = /usr/local/samba/shares/software
>	write list = @admsamba
>	force group = admsamba
>	create mask = 0775
>	directory mask = 0775
>	oplocks = No
>
>.. other services ...
>
>[IPC$]
>	comment = IPC Service (Servidor FUSIO de l'LCFIB)
>	path = /tmp
>	status = No
>	guest ok = Yes
>
>--------------6966519300AE8EAA336BEEB3--
>
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 20:00:53 +1100
>From: Andrew Tridgell <tridge at samba.anu.edu.au>
>To: samba at samba.anu.edu.au
>Subject: new web pages
>Message-ID: <19981106090105Z12583155-19564+2038 at samba.anu.edu.au>
>
>The new Samba web pages are now up and should be propogated to the
>mirror sites over the next day. See http://samba.anu.edu.au/samba/ for
>a list of mirrors.
>
>The design of the new pages was done by Paul Blackman, with
>some modifications by me. Hopefully they will serve us well for a long
>time.
>
>I've also added some photos of Samba Team members at the CIFS98
>conference so now everyone can see what a ugly bunch of hackers we
>are. 
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 10:08:59 +0100 
>From: "Emrich Michael (QI/LBS3-Rt) *" <Michael.Emrich at de.bosch.com>
>To: Multiple recipients of list <samba at samba.anu.edu.au>
>Cc: "'David Collier-Brown'" <davecb at Canada.Sun.COM>, "'Florian G. Pflug'"
<fgp at fgp.priv.at>
>Subject: RE: change Unix file permissions from a NT Box
>Message-ID: <C9DB0669A294D111BF8700005A40EA320115B7B5 at rtmail2.rt.bosch.de>
>
>
>
>	>> I outlined a possible approach for the short term in a recent
>	>> message or posting (I forget which): use a basic program to write
>
>	>> a chmod command to a Samba ``magic file''.  The server will run
>	>> it for you as soon as it's closed.  See the smb.conf(5) man page.
>
>	In smb.conf(5) I found a parameter "magic script", but no
>description about "magic file". May you deliver me more details about your
>idea? Thanks
>	-- M.Emrich
>
>> --dave
>> -- 
>> David Collier-Brown,  | Always do right. This will gratify some people
>> 185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
>> Willowdale, Ontario   | davecb at hobbes.ss.org, canada.sun.com
>> N2M 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 07:36:17 -0800
>From: "Charles E. Gelm" <gelmce at erinet.com>
>To: samba at samba.anu.edu.au
>Subject: ? How do I install samba ?
>Message-ID: <36431771.57C9 at erinet.com>
>
>I am a linux-newbie and (naturally) a samba wannabe.
>
>Please send me the URL of a samba HOWTO-INSTALL.
>
> I downloaded 'samba.this.is.the.lastest.(tar/tgz/gz/?)
>but don't recall the real name and don't know how to find it.
>
>How do I find it?
>
> find / -iname what_is_the_name_of_what_I_am_looking_for-?
>
>How do I install it ?
>
> cd /?
>
> tar -xzvvf /path/to/What_is_the_name_of_what_I_am_looking_for-?
>
>-- 
>Researching GELM
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 09:26:33 -0700 (MST)
>From: Chris Knox <cknox at hypercom.com>
>To: samba at anu.edu.au (samba)
>Subject: Getting my samba server to show up in browse lists
>Message-ID: <199811061626.JAA23236 at citadel.hypercom.com>
>
>I've succeeded in making my samba server visible around the net, however
>I can't convince the thing to appear in the browse lists on remote 
>subnets.  I've read John Terpstra's article on configuring a browser at 
>
>	http://samba.anu.edu.au/samba/ftp/docs/BROWSING-Config.txt 
>
>however my (admittedly willful) ignorance of Microsoft networking is
>making this article seem rather opaque.  I can read it that I must have
>a list of subnets at "remote browse sync" and the same list at "remote
>announce" or I understand that it's not necessary since I have a single
>WINS server.  
>
>I've stripped the comments out of my smb.conf file and appended it
>below.  I have a sneaking suspicion that I may be very close, just need 
>the right combination.
>
>Chris
>
>
>
>
>
>[global]
>workgroup = INTRANET
>   server string = Samba Server
>hosts allow = [a dozen subnets in a.b.c. format -- could long lines cause
a prob
>lem?]
>   load printers = yes
>   log file = /usr/local/samba/var/log.%m
>   max log size = 50
>   security = share
>encrypt passwords = yes
>   socket options = TCP_NODELAY
>remote browse sync = [same dozen subnets as above]
>remote announce = [same dozen subnets as above]
>domain master = no
>domain controller = AZPHXNT01
>domain logons = no
>wins server = a.a.c.d
>   dns proxy = yes
>[tmp]
>   comment = Temp Directory
>   browseable = yes
>   writable = yes
>[homes]
>   comment = Your Home Directory
>   browseable = yes
>   writable = yes
>guest ok = no
>read only  = no
>[printers]
>   comment = All Printers
>   path = /usr/spool/samba
>   browseable = no
>   guest ok = no
>   writable = no
>   printable = yes
>[cadeng]
>        comment = CAD Engineering
>        path = /cadeng
>        public = yes
>        writable = yes
>        printable = no
>        write list = @cad
>
>-- 
>Chris Knox                                               cknox at hypercom.com
>Hypercom, Inc.                                               (602) 504-5888
>Unix Systems Support                              Speaking only for myself.
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 18:04:28 +0100 (MET)
>From: sandro at ermit.ermit.it
>To: samba at samba.anu.edu.au
>Subject: Logging file request
>Message-ID: <199811061704.SAA18359 at ermit.ermit.it>
>
>Hi,
>
>  I have been asked to keep a trace file requests to our file server (samba
>box). Is it any possible? I couldn't recognize any option to do that.
>
>Tanks for answers or possible alternatives solutions.
>
>sandro
>*:-)
>
>-- 
>Sandro Dentella *:-)
>sandro at ermit.it  sandro at pcco2.mi.infn.it
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 12:04:07 -0500
>From: David Collier-Brown <davecb at Canada.Sun.COM>
>To: "Emrich Michael (QI/LBS3-Rt) *" <Michael.Emrich at de.bosch.com>
>Subject: Re: change Unix file permissions from a NT Box
>Message-ID: <36432C07.6FD0CA20 at canada.sun.com>
>
>This is a multi-part message in MIME format.
>--------------792E77D70C866F53984EE358
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Emrich Michael (QI/LBS3-Rt) * wrote:
>>         In smb.conf(5) I found a parameter "magic script", but no
>> description about "magic file". May you deliver me more details about your
>> idea? 
>
>Sure: origional proposal attached. --dave
>--------------792E77D70C866F53984EE358
>Content-Type: message/rfc822
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>
>Path: walters.East.Sun.COM!usenet
>From: David Collier-Brown <davecb at canada.sun.com>
>Newsgroups: comp.protocols.smb
>Subject: Re: chmod tool
>Date: Mon, 02 Nov 1998 12:15:46 -0500
>Organization: Private Person
>Message-ID: <363DE8C2.A7E0D0E8 at canada.sun.com>
>References: <363ADD74.5B7D9815 at bigfoot.com> <71f69t$ou8$2 at news00.btx.dtag.de>
>NNTP-Posting-Host: elsbeth.canada.sun.com
>Mime-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>X-Mailer: Mozilla 4.05 [en] (X11; U; SunOS 5.7 sun4u)
>To: Peter.Wirdemo at bigfoot.com
>
>Peter Wirdemo <Peter.Wirdemo at bigfoot.com> wrote 
>| Is there any tools out there, that lets samba users on NT/WIN95,
>change
>| the unix permissions. (i.e. chmod their files/directories) Currently
>we
>| tell them to log in to the UNIX server where the files are and chmod
>| them there. 
>
>	There are two different approaches from Samba proper:
>	1) preset create mode AND create mask to the right defaults,
>	   so that the files stay at the desired settings.
>	2) use the ``magic script'' capability of Samba and
>	   a simple pc program to do the changes.
>
>	The latter uses an experimental capability of Samba:
>	to run a script as the appropriate user when it's
>	updated by the client machine. The output of the script
>	goes to another file, so you can see what happened.
>
>	The first is easy: just remember to set both create mode
>	and force create mode (which see!)
>
>	For the second, I envision something like this (off the top of
>	my pointy head):
>
>	Windows					Samba
>	=======					=====
>1	pc visual basic program asks user for
>	file and mode
>2	program writes "chmod xxx .../path"
>	to file on samba server, with \n
>	line termination, closes file.
>3						Samba notices it's
>						a magic file and was
>						just closed, so it
>						runs it.
>4	program starts reading log file,
>	simulating tail -f, shows a quit
>	button
>5						Samba serves log
>						file to client
>
>6						Script completes, 
>						log file stops changing	
>7	program says it's done, asks
>	user if he wants to exit
>
>--dave
>-- 
>David Collier-Brown,  | Always do right. This will gratify some people
>185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
>Willowdale, Ontario   | davecb at hobbes.ss.org, canada.sun.com
>N2M 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb
>
>--------------792E77D70C866F53984EE358--
>
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 12:59:39 -0500
>From: "Bo Zhang" <bzhang at clearone.com>
>To: <samba at samba.anu.edu.au>
>Subject: samba as WINS server
>Message-ID: <001901be09af$391a3c20$0bfea8c0 at bzhang.clearone.com>
>
>
>Hello, everyone,
>
>	I posted a request for help couple of days ago. 
>I haven't got any reply yet. Maybe I should rephrase
>my question: is it possible to configure Samba server
>to be WINS server for multiple netgroups? How?
>
>	Thanks.
>
>Bo
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 13:54:54 -0500
>From: "Provencher, Marc" <mprovenc at foxboro.ca>
>To: "Samba (E-mail)" <samba at samba.anu.edu.au>
>Subject: RE: The credentials supplied conflict with .....
>Message-ID: <DD575986C70AD211ACEC00805FA6151E3D815A at ddo.foxboro.ca>
>
>Hi,
>
>I recently tried to connect to a samba share as my user name, and then
>disconnected the share to try and reconnect as root.  I got the message
>"The credentials supplied conflict with an existing set of credentials".
>
>Someone recently mentionned that this was a security feature on the NT
>side.  Well, seems Microsoft is claiming this is actually a bug.  Found
>the following article in their knowledge base.  I tried it, it works for
>NT Workstations.  Maybe someone can follow up and verify if it works
>with Win95, although I seem to remember that Win 95 doesn't accept IP
>addresses for server name.
>
>SYMPTOMS
>Windows NT allows users to connect to multiple resources using multiple
>user credentials but only allows a single user to use a connection. 
>If you attempt to connect to the same resource with different
>credentials, you will get an error message stating that the credentials
>supplied conflict with an existing set of credentials. If you attempt
>this operation from an MS-DOS command line, you receive the following
>error: 
>   System error 1219 has occurred.
>CAUSE
>Windows NT will attempt to use the same virtual circuit even if a
>different set of credentials is supplied because the resource name is
>identical. 
>RESOLUTION
>Provide the TCP/IP address of the computer instead of the computer name.
>
>MORE INFORMATION
>It is possible to use multiple user credentials to connect to the same
>resource on Windows NT when TCP/IP is used as the protocol to establish
>the connection. 
>If you connect to the same resource but use the TCP/IP address of the
>host instead of the computer name, you will be able to connect to the
>same resource with a different set of credentials. 	
>
>Marc Provencher
>Foxboro Calgary, Systems Integration and IT
>(403) 777-4275
>mprovenc at foxboro.ca
>
>
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 14:50:58 -0500 
>From: "Whiffen, Richard" <whiffen at ici.org>
>To: "'samba at samba.anu.edu.au'" <samba at samba.anu.edu.au>
>Subject: Problems with MS Word 97 and Samba 1.9.18p10
>Message-ID: <2315A1936E0BD211A36400A0C9D18B01273C3B at mail-2.ici.org>
>
>
>Hello all,
>
>
>     I'm still having some odd problems with my samba setup.
>
>An NT 4.0 SP3 workstation running MS Word 97 SR-1, and a Solaris 2.6 machine
>running Samba 1.9.18p10 yields this problem:
>
>Any user creates a new document.  They save and close that document,
>everything works fine.  They re-open the document, and make some changes.
>They then click the close "X" on the title bar to close the document.  It
>prompts them to save the unsaved chagnes.  When they say yes, they get an
>error:
>
>There has been a network or file permissions error.  The Network connection
>my be lost (\\homesrv\homes\...\testing.doc)
>
>It has an OK button in the dialog box.  After clicking ok, it prompts them
>to retry the save.  That works successfully.  
>
>If they choose save from the file menu it works find, and if they use the
>save tool bar button, it also works fine, its just the save on close part
>that doesn't.  When it tries the save, it creates a 54 byte file named
>~$esting.doc (from testing.doc, I.E. replaces the first letter with ~$)
>
>Saving to an NT Share works just fine.
>
>I've turned the debugging up to level 2 to look at what its doing the only
>thing I see in the log is this:
>
>
>1998/11/06 15:30:22 whiffen opened file ~$esting.doc read=No write=Yes
>(numopen=2 fnum=55)
>Share violation on file (4,1,1,576,~$esting.doc,fcbopen = 0, flags = 0) = 0
>
>
>
>How can I get a sharing violation if I'm the only one attached to the
>server, and I only have MS Word open, working with this one file??
>
>There are a lot of opening and closings of the document also, but they're
>there when it works correctly too.
>
>There are also a lot of these:
>del_share_modes Deleting share mode entry dev=771 ino=24641
>del_share_modes num entries = 0, deleting share_mode dev=771 ino=24641
>
>
>I can replicate the problem on a Redhat 5.1 Samba 1.9.18p7
>
>
>So, anyone have any ideas?
>
>
>Rich Whiffen
>--
>Rich Whiffen
>Investment Company Institute
>1401 H street NW
>Washington, DC 20005
>PH:(202) 326 - 5992
>FX:(202) 218 - 3565
>whiffen at ici.org <mailto:whiffen at ici.org> 
>http://www.ici.org <http://www.ici.org> 
>
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 14:30:10 -0600
>From: "David L. Aldridge" <dlac at aldridge.com>
>To: samba at samba.anu.edu.au
>Subject: TCP_NODELAY problem
>Message-ID: <36435C52.58422C34 at aldridge.com>
>
>smbclient is broken if TCP_NODELAY is enabled.
>I am running FreeBSD 2.2.7 Stable.
>
>1. Enable socket options = TCP_NODELAY
>2. Run smbclient to access a share on a Win95 box
>3. Turn 'recurse' on
>4. cd to a directory that contains one directory and no files
>5. Do a dir
>6. The files which live in the directory below the default directory 
>   will not be seen.
>7. Eliminate TCP_NODELAY and they will be found as they should.  
>   However life slows to a craws without TCP_NODELAY.
>8. I found this because Amanda was consistently missing the same files 
>   on backup.
>
>9. Please see the debug data below.  You will note that the path 
>   being examined is:  (note the ' ' - not good!!!)
>   aol30\ne t\*
>   The correct path is:
>   aol30\net\*
>
>   smb_vwv[12]=93 (0x5D)
>   smb_vwv[13]=1 (0x1)
>   smb_vwv[14]=1 (0x1)
>   smb_bcc=28
>   [000] 00 44 20 16 00 00 02 0E  00 04 01 00 00 00 00 5C  .D ............\
>   [010] 61 6F 6C 33 30 5C 6E 65  74 5C 2A 00              aol30\ne t\*.
>   write_socket(3,97)
>   write_socket(3,97) wrote 97
>   got smb length of 356
>
>--
>David L. Aldridge
>The Aldridge Company 281.368.0166 (fax: 281.368.0381)
>http://www.aldridge.com/
>Powered by Pentium/FreeBSD/Apache - Because it works.
>
>------------------------------
>
>Date: Fri, 6 Nov 1998 16:31:00 -0600
>From: Wayne_Johnson at candle.com
>To: Samba-Digest <samba at samba.anu.edu.au>
>Subject: Re: Need help with 'Cannot find setup.exe Windows needs this file
>Message-ID: <882566B4.007BCB9E.00 at n-smtpmta.candle.com>
>
>
>
>
>OK. Maybe I was a little terse in the description.
>
>I have a CD we (Candle) created.  It installs one of our products by
>executing the setup.exe program.  I am able to execute the program off the
>CD with no problems.
>
>I then copied the contents of the CD to the Samba share.  I try and execute
>the setup.exe file and get this error.
>
>If I then copy the files from the Samba share to /temp, I can execute the
>program with no problem.
>
>Is it possible that the program is trying to open itself as read-write,
>finding that the file is read-only (because the same file has already been
>opened in order to load the executable image) and not being able to because
>of the file locking?
>
>
>
>------------------------------
>
>Date: Fri, 06 Nov 1998 17:13:31 +0000
>From: Steven Zhu <steven at dragon-street.com>
>To: samba at samba.anu.edu.au
>Subject: samba server does not show up on PC!
>Message-ID: <36432E3B.1A9685E6 at dragon-street.com>
>
>Hi,
>
>I don't know if this is a bug. I followed DIAGNOSIS.txt to test my samba
>server step by step. Everything is OK. But I can't test test10 because
>my samba server does not show
>up on PC. I don't know what's going on. Actually I used it and worked
>fine but now does
>not after upgrading to redhat 5.2. Any help? Thanks in advance....
>
>Steven.
>
>
>------------------------------
>
>End of SAMBA Digest 1867
>************************
>
>



More information about the samba mailing list