At 01:02 PM 8/28/98 +1000, you wrote:> SAMBA Digest 1794
>
>For information on unsubscribing see http://samba.anu.edu.au/listproc
>Topics covered in this issue include:
>
> 1) Re: Printing NT to Linux w\Cannon bjc-4000
> by "Steven T. Hatton" <hattons@cpkwebser5.ncr.disa.mil>
> 2) Slow performance..
> by Michael Anthon <anthonm@tams.com.au>
> 3) Create mode, create mask etc...
> by Milivoj Ivkovic <mi@alma.ch>
> 4) Re:precompiled SCO binaries u
> by Tekno Soft Snc <teknosoft@mclink.it>
> 5) Re: /etc/printcap for samba-shared printer...
> by Stewart Morgan <stewart@visint.co.uk>
> 6) Interesting Printing Issue
> by "Cary T. Conrad" <conrad@osystems.com>
> 7) problem with smbclient access to NT4.0 WS share
> by "Chris Evans" <C.Evans@sghms.ac.uk>
> 8) Problem with samba 1.9.18p7 and hpux 11.00
> by Thomas.Hansen.tmh./Copenhagen@manbw.dk
> 9) any good way to mount NT on UNIX?
> by David Manning <manning@boxborough.com>
> 10) Re: Printing NT to Linux w\Cannon bjc-4000
> by Patrick Bauer <bauerp@niagara.com>
>
>----------------------------------------------------------------------
>
>Date: Wed, 26 Aug 1998 23:37:07 -0400
>From: "Steven T. Hatton" <hattons@cpkwebser5.ncr.disa.mil>
>To: "samba@samba.anu.edu.au" <samba@samba.anu.edu.au>
>Subject: Re: Printing NT to Linux w\Cannon bjc-4000
>Message-ID: <35E4D463.12E5A478@cpkwebser5.ncr.disa.mil>
>
>Ambrose,
>
>Thank you. The raw gave exactly the same output as the lp2, but the QMS
>ColorScript 1000 Level 2 printed an NT test page just fine. It would be
>too
>easy for Bill to include a dirver that simply said PostScript, wouldn't
>it?
>
>Steve
>
>acli@mingpaoxpress.com wrote:
>
>> In article <35E3832A.259D8EBC@cpkwebser5.ncr.disa.mil> you write:
>> >I am able to see my printer as a share. Well better put, I see
four
>> >representations of my printer: ascii, lp2, lp-mono, and raw. I
tried
>> >the naive thing and just selected lp2 and added the cannon bjc
4000
>> >driver for NT. This didn't work. I get an error report:
>> >%%[ Error: undefined; offending Command: K ]%% . . . a bunch of
strings
>> >that I don't understand. This does not look like the typical
ps code
>> >dump that I have seen before. Is there an easy answer? I'm
using
>> >S.u.S.E. Linux 5.2 with the PS filter gadget that is provided with
the
>> >distribution.
>>
>> This looks like lp2 is a PostScript RIP and you are passing
non-PostScript
>> data through it (Canon BJC4000 is ESCP/2 IIRC). Try the "raw"
queue
instead.>>
>> You can, of course, also try some colour (or non-colour) PostScript
device
>> driver. The QMS colour printer drivers probably will work.
>>
>> --
>> Ambrose C. Li <acli@mingpaoxpress.com> +1-416-321-0088
>> Programmer-analyst/ system administrator/ PC user support
>> Ming Pao Newspapers (Canada) Ltd. EDP department
>> 1355 Huntingwood Dr., Scarborough (Ont.), Canada M1S 3J1
>
>
>
>--
>The linux counter: http://counter.li.org -Registered Linux User #
>79059
>S.u.S.E. Linux: http://www.suse.com
>KDE: http://www.kde.org
>SaMBa: http://samba.anu.edu.au
>
>I think.
>I think I am,
>Therefore I am.
>I think? - Graeme Edge of the Moody Blues
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 17:09:45 +1000
>From: Michael Anthon <anthonm@tams.com.au>
>To: "Samba (E-mail)" <samba@samba.anu.edu.au>
>Subject: Slow performance..
>Message-ID: <E7072987A51FD21183B900A0C98304BB02F514@FRODO>
>
>Here is my situation...
>
>Server
>----------
>P133, 64M RAM, Advansys SCSI card
>2 x 3.2 G and 2 x 6.4G drives
>Kingston 10/100 Ethernet card (running at 10M)
>RedHat Linux 5.1
>samba 1.9.18p10
>
>Client
>------
>P233/MMX, 64M RAM
>6.4G IDE Drive
>RTL8029 Network card (10M UTP)
>Windows 98
>
>Here is my problem.... accessing the samba server is a lot slower that I
>would expect. I am currently getting about 230k/s writing to the server
>and about 550k/s reading from to the server. The client and the server
>as well as an NT server are all on the one 10M hub. Writing to and
>reading from the NT server hoots along at about 900k/s. Admittedly, the
>NT server is a better machine (PII/333, 512M RAM), but the figures given
>in the speed.txt file indicates that a DX2/66 is getting better speed
>than my P133.
>
>I have read through the various howto and other files available but
>can't find anything that seems to make any difference to this
>performance.
>
>Any ideas on what I can try ?
>
>Regards
>Michael Anthon
>
>TAMS Systems
>
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 09:43:52 +0200
>From: Milivoj Ivkovic <mi@alma.ch>
>To: samba@samba.anu.edu.au
>Subject: Create mode, create mask etc...
>Message-ID: <19980827074408Z12668840-7510+2979@samba.anu.edu.au>
>
>I had no luck with my previous post, so I try again:
>
>Would someone please help me with the "create mode/mask" settings
and/or
>others if needed, or point me to some docs. In the following 2 examples, I
>cannot find the correct settings:
>
>I use the [netlogon] share, and edit logon scripts there from my Windows
>machine. The group gets set to my user name's group (mi), execute by
others
>is not set, and I'm the only one for whom logon scripts are executed.
>
>What are the correct settings for this?
>
>A different case, probably also very classical, is the web server's
share:
>
>It should be readable and executable by everybody, and writable by the
>@webmasters only.
>
>How do I control the owner and group of a changed/created file, so it is
>not the individual user?
>
>Thanks for any help.
>
>M.
>
>------------------------------
>
>Date: Thu, 27 Aug 98 12:06:13 CEST
>From: Tekno Soft Snc <teknosoft@mclink.it>
>To: samba@samba.anu.edu.au
>Subject: Re:precompiled SCO binaries u
>Message-ID: <9808271206.aa26514@ax433.mclink.it>
>
>to> A short time ago I recieved a reply to a query
>to> about compiling samba with the freeware gcc under
>to> sco unix. Im sorry, Ive misplaced your Email
>to> address and WEB address (which was in italian).
>to> Sorry to use this forum as a contact point, but
>to> can you contact me again? Thanks.
>to>
>to> Tony Nichols
>
>The WEB page is at
>http://www.oronline.net/utenti/teknosoft/Docs/Samba.htm.
>In this page you can download a 1.9.18p8 version and shortly 1.9.18p10 for
>SCO5. I've added some compiler options for Pentium optimizations and
I'm
>thinking to compile a version with a pgcc. The compiler is gcc 2.7.2.1.
>Here is a snip of Makefile.
>
># Add any optimisation or debugging flags here
># add -DSYSLOG for syslog support
># FLAGS1 = -O3 -K pentium,noframe
>FLAGS1 = -melf -m486 -O2 -malign-loops=4 -malign-jumps=4
>-malign-functions=4
>LIBS1 =
>
># Use this for SCO OpenServer 5 with TCB passwords (default) and GCC
># contributed by Scott Michel <scottm@intime.intime.com>
># you may also like to add the -dy switch (recommended by Marnus van
># Niekerk, mvn@pixie.co.za)
>CC = gcc
>FLAGSM = -DSCO -DSecureWare -DEVEREST -DUSE_MMAP -DALLOW_CHANGE_PASSWORD
>LIBSM = -lprot -lcurses -lcrypt -lsocket -lPW -lm -lx -lc_s -lc
>
>
>Bye!
>
>Roberto Fichera
>TeknoSOFT S.n.c.
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 11:06:48 +0100 (BST)
>From: Stewart Morgan <stewart@visint.co.uk>
>To: The Hermit Hacker <scrappy@hub.org>
>Subject: Re: /etc/printcap for samba-shared printer...
>Message-ID:
<Pine.BSF.3.96.980827105946.6386B-100000@dylan.visint.co.uk>
>
>On Tue, 25 Aug 1998, The Hermit Hacker wrote:
>
>>
>> Morning...
>>
>> Just spent this evening getting printing setup off my FreeBSD
>> machine (oh, how I love Solaris at these times *groan*)...got it now so
>> that I can print directly from Netscape, color and graphics and all.
>>
>> The printer is an HP 560c.
>>
>> Now, I want to be able to print from my Windoze95 machine, and
>> have samba setup for that, as well as file sharing. If I setup my
Windoze
>> machine such that my printer is \\thelab\deskjet, which is the same
>> printer (in /etc/printcap) that I use for Netscape under Unix, the test
>> page gets sent across, but it isn't correct (graphic is all
skewed).
>
> If it's any help this is the setup we've got -- basically, it'
>all from the Samba documentation (docs/Printing.txt I think?). Woody's
>printer is an HP LaserJet 4 non-ps printer.
>
>/etc/printcap
>-----8<------
>woody|Woody's Printer:\
> :sh:\
> :sd=/var/spool/output/woody:\
> :lp=/dev/null:\
> :if=/usr/scripts/PrintToWoody:
>----->8------
>
>/usr/scripts/PrintToWoody
>-----8<------
>#!/bin/sh -x
>
># This script is an input filter for printcap printing on a unix machine. It
># uses the smbclient program to print the file to the specified smb-based
># server and service.
># For example you could have a printcap entry like this
>#
># smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint
>
>(
># NOTE You may wish to add the line `echo translate' if you want
automatic
># CR/LF translation when printing.
># echo translate
> echo "print -"
> cat
>) | /usr/local/bin/smbclient "\\\\woody\\HP\ LJ" "" -U
woody -N -P
>----->8------
>
>Simply change the relevent details (man smbclient(1) also helps).
>
>
>Stewart Morgan
>--------------
->Systems Administrator
>
>Vision Interactive Ltd
>18 Whiteladies Road, Clifton, Bristol, BS8 2LG.
>
>E-Mail : stewart@visint.co.uk
>Tel : +44 (0)117 973 0597
>Fax : +44 (0)117 923 8522
>WWW : http://www.visint.co.uk/
>
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 09:31:58 +0600
>From: "Cary T. Conrad" <conrad@osystems.com>
>To: samba <samba@samba.anu.edu.au>
>Subject: Interesting Printing Issue
>Message-ID: <3.0.3.32.19980827093158.030e400c@192.9.200.5>
>
>At one of our sites we have a Solaris 2.51 box running 1.9.17.
>
>All of the clients are win95B.
>
>When these users print(printing is spooled on the Solaris machine) all
>applications on the PC are frozen until the printing is finished. Pretty
>cool, but not for the users.
>
>My suspicion is that there is some information that samba is sending to the
>PC's that is confusing them.
>
>Any experience out there with this type of issue?
>
>CC
>***************************************************************
>* *
>* Message Secure Corporation *
>* 30 Westech Drive *
>* Tyngsboro, MA 01879 *
>* 978-649-5432 Voice *
>* *
>* Best Way: conrad@messagesecure.com *
>***************************************************************
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 14:32:49 +0100
>From: "Chris Evans" <C.Evans@sghms.ac.uk>
>To: samba@samba.anu.edu.au
>Subject: problem with smbclient access to NT4.0 WS share
>Message-ID: <13325012500003@sghms.ac.uk>
>
>Thanks to all for a wonderful package. It's sharing fine from my
>Debian box but smbclient isn't working the other way round. Here's
>the detail:
>
>I have three machines together: an NT4 Workstation (sp3), a
>Win95 machine and a Debian (Hamm = latest stable release). The
>NT 4 machine has a shared drive I want to access from my Debian
>machine. I can access that share from the win95 machine. I can
>also access a shared directory on the Debian machine fine from
>the NT machine (but not the Win95 but that doesn't bother me
>unless it's a diagnostic clue). I have been able to change
>passwords on the NT machine from the Debian box using
>smbpasswd and "smbclient -L //ntbox" works fine showing the
>share there. However, "smbclient //ntbox/share/" prompts for a
>password and everything seems fine but if I give the correct
>password I get "SMBtconX failed. ERRDOS - ERRnosuchname
>(You specified ... "
>I've tried all uppercase for the password and the sharename (-L
>shows it as lowercase) but no difference. It looks as if the
>password is not case sensitive since using all uppercase gives the
>same response but deliberately giving an incorrect password gets a
>different complaint correctly noting that access has been denied.
>
>I've got the permissions for the Debian user account set correctly
>on the NT box and testparm and the successful samba sharing to
>the NT box seem to suggest things should work.
>
>Anyone recognise this one? Any suggestions?
>
>TIA,
>
>
>Chris
>
>
>
>------------------------------
>
>Date: Thu, 27 Aug 98 16:49:33 +0200
>From: Thomas.Hansen.tmh./Copenhagen@manbw.dk
>Subject: Problem with samba 1.9.18p7 and hpux 11.00
>Message-ID: <H00005df00f25191@MHS>
>
> Hi Samba users.
>
> SAMBA Ver: 1.9.18p7
> HPUX: 11.00
>
> I have a problem with my samba server, after I have upgraded the hpux
> from 10.20 --> 11.00. I use exactly the same binary's and
smb.conf,
> since I have just moved /usr/local from my 10.20 machine to the new
> 11.00 machine. IP numbers are also moved and I have/use a Microsoft
> wins server to netbios lookup.
>
> My windows NT 3.51 and windows 95 can connect to the server as it used
> to fine, but nt 4.0 cannot connect if I don't have a lmhosts file
with
> the server entry:
>
> 10.20.20.26 hphs2 #PRE
>
> hphs2 is registered on the wins server.
>
> the wins entries in the smb.conf:
> smb.conf: max wins ttl = 259200
> smb.conf: min wins ttl = 21600
> smb.conf: wins support = No
> smb.conf: wins proxy = No
> smb.conf: wins server = 172.16.37.18
> smb.conf: name resolve order = lmhosts hosts wins
>
>
> Anybody got any ideas?
>
>
> Best regards
> Thomas Hansen
> please reply either to the sambalist or to tmh@manbw.dk
>
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 16:00:35 -0400 (EDT)
>From: David Manning <manning@boxborough.com>
>To: samba@samba.anu.edu.au
>Subject: any good way to mount NT on UNIX?
>Message-ID: <199808272000.QAA06942@boxborough.com>
>
>My understanding is that smbclient can be used to grab certain files
>from an NT Fileserver.
>
>Is there a way to mount a disk for UNIX use with Samba, or should I use
>an NT NFS package? If this is the best bet - any recommendations on one?
>
>Thanks!
>
>--Dave
>
>David Manning
>Senior Systems Engineer
>Legato Systems, Inc.
>(978) 458-2200, Ext. 13
>work: dmanning@legato.com http://www.legato.com
>home: manning@boxborough.com http://www.boxborough.com
>
>
>------------------------------
>
>Date: Thu, 27 Aug 1998 16:26:29 -0400 (EDT)
>From: Patrick Bauer <bauerp@niagara.com>
>To: "Steven T. Hatton" <hattons@cpkwebser5.ncr.disa.mil>
>Subject: Re: Printing NT to Linux w\Cannon bjc-4000
>Message-ID: <Pine.LNX.3.96.980827162323.3447A-100000@peachy.fruit>
>
>Try the new Ghostscript... at..
>
> http://www.users.dircon.co.uk/~typhoon/
>
>Use the Unified Printer Driver
>
>Pat.
>
>On Thu, 27 Aug 1998, Steven T. Hatton wrote:
>
>> Ambrose,
>>
>> Thank you. The raw gave exactly the same output as the lp2, but the QMS
>> ColorScript 1000 Level 2 printed an NT test page just fine. It would
be
>> too
>> easy for Bill to include a dirver that simply said PostScript,
wouldn't
>> it?
>>
>> Steve
>>
>> acli@mingpaoxpress.com wrote:
>>
>> > In article <35E3832A.259D8EBC@cpkwebser5.ncr.disa.mil> you
write:
>> > >I am able to see my printer as a share. Well better put, I
see four
>> > >representations of my printer: ascii, lp2, lp-mono, and raw.
I tried
>> > >the naive thing and just selected lp2 and added the cannon
bjc 4000
>> > >driver for NT. This didn't work. I get an error report:
>> > >%%[ Error: undefined; offending Command: K ]%% . . . a bunch
of strings
>> > >that I don't understand. This does not look like the
typical ps code
>> > >dump that I have seen before. Is there an easy answer?
I'm using
>> > >S.u.S.E. Linux 5.2 with the PS filter gadget that is provided
with the
>> > >distribution.
>> >
>> > This looks like lp2 is a PostScript RIP and you are passing
non-PostScript>> > data through it (Canon BJC4000 is ESCP/2 IIRC). Try the
"raw" queue
instead.>> >
>> > You can, of course, also try some colour (or non-colour)
PostScript
device>> > driver. The QMS colour printer drivers probably will work.
>> >
>> > --
>> > Ambrose C. Li <acli@mingpaoxpress.com> +1-416-321-0088
>> > Programmer-analyst/ system administrator/ PC user support
>> > Ming Pao Newspapers (Canada) Ltd. EDP department
>> > 1355 Huntingwood Dr., Scarborough (Ont.), Canada M1S 3J1
>>
>>
>>
>> --
>> The linux counter: http://counter.li.org -Registered Linux User #
>> 79059
>> S.u.S.E. Linux: http://www.suse.com
>> KDE: http://www.kde.org
>> SaMBa: http://samba.anu.edu.au
>>
>> I think.
>> I think I am,
>> Therefore I am.
>> I think? - Graeme Edge of the Moody Blues
>>
>
>
>------------------------------
>
>End of SAMBA Digest 1794
>************************
>
>