[Samba] progress :) still having trouble with win98 seeing shares on samba
Martin Thomas
mthomas at rhrk.uni-kl.de
Sun Feb 3 22:18:10 GMT 2002
----- Original Message -----
From: "Fuzzy" <fuzzy at pooh.asarian.org>
To: "Samba mailing list" <samba at lists.samba.org>
Sent: Monday, February 04, 2002 6:19 AM
Subject: [Samba] progress :) still having trouble with win98 seeing shares on samba
:
:
: we did manage an initial transfer with smbclient reading and writing
: to win98 and we did get part of a file printed with:
:
: smb \> open x
: smb \> print x
:
: it printed a few lines, but was stair-stepped. a couple of
: questions... is there a way to get smbclient to queue to
: the win98 printer queue without having to do it interactively?
Yes, have a look into the file "smbprint" that comes with
the samba souce. (.../examples/printing/)
There is a good description how to
configure what you want in this file. The file itself is
a filter that can be used within a unix print spooler.
: is there an easy way to deal with the stair-step problem?
You have to do a cr/lf translation of you print unix
text files to the print it correct. This can be done with the
"smbprint" which acts as a filter and can do this for you.
So - should be "easy" - ?
:
: ideally I'd like to be able to pipe a file into a script
: or program to have it print the content of stdin, via
: smbclient to win98 //eeyore/apollo (the printer's
: "share" name). its an apollo p2200 (HP "brain").
If you have installed our printing system with the
smbprint filter you just do a lpr and the printer daemon
will pass the file to the filter smbprint which will
start smbclient with the right parameters.
:
: I'm wondering if there is a way to create a printcap
: defining the printer to provide for the <lf> to <cr,nl>
: text conversion.
CR/LF translation is build in in the smbprint filter.
:
: the win98 client cannot see the samba shares (2 fat32
: disks and some directories on the unix system). I know
: there is a route to eeyore (win98) from pooh (freebsd 4.4
: with samba 2.2.2) because I was able to print to eeyore's
: local printer (//eeyore/apollo) and to manipulate files
: on its shares (c: //eeyore/c and d: //eeyore/d).
hmm, server and client seem to be in different subnets,
did you set the wins server in the Win9X box using
the IP-Adress of the Samba server? - Just a thought.
:
: output of smbclient connecting to eeyore (win98se) and
: pooh (freebsd 4.4 with samba 2.2.2), followed by /etc/smb.conf.
:
: a confuzzled,
: Fuzzy
:
: /usr/bin/smbclient -W ASARIAN -n POOH -N -I 66.57.14.168 -L eeyore
: added interface ip=66.57.250.124 bcast=66.57.251.255 nmask=255.255.252.0
: added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
:
: Sharename Type Comment
: --------- ---- -------
: PRINTER$ Disk
: APOLLO Printer
: D Disk
: C Disk
: IPC$ IPC Remote Inter Process Communication
:
: Server Comment
: --------- -------
: EEYORE
:
: Workgroup Master
: --------- -------
: ASARIAN EEYORE
:
: <->
:
: /usr/bin/smbclient -W ASARIAN -n POOH -N -L pooh
: added interface ip=66.57.250.124 bcast=66.57.251.255 nmask=255.255.252.0
: added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
: Domain=[ASARIAN] OS=[Unix] Server=[Samba 2.2.2]
:
: Sharename Type Comment
: --------- ---- -------
: homes Disk Home Directories
: tmp Disk Temporary file space
: c Disk Pooh's C: drive
: d Disk Pooh's D: drive
: pighome Disk home directories on piglet
: IPC$ IPC IPC Service (Samba Server)
: ADMIN$ Disk IPC Service (Samba Server)
: fuzzy Disk Home Directories
:
: Server Comment
: --------- -------
: POOH Samba Server
:
: Workgroup Master
: --------- -------
: ASARIAN
:
:
: <->
:
: file: /etc/smb.conf
:
: # Samba config file created using SWAT
: # from localhost (127.0.0.1)
: # Date: 2002/02/04 00:13:22
:
: # Global parameters
: [global]
: workgroup = ASARIAN
: netbios name = POOH
: server string = Samba Server
: interfaces = rl0 lo0
: bind interfaces only = Yes
: security = SHARE
: encrypt passwords = Yes
: password level = 2
: username level = 1
: log file = /var/log/log.%m
: max log size = 50
: name resolve order = lmhosts host wins
: time server = Yes
: domain admin group = fuzzy root
: os level = 65
: preferred master = True
: domain master = True
: dns proxy = No
: wins support = Yes
: utmp = Yes
: message command = csh -c
: valid users = qwillpen fuzzy child sarahemm
: admin users = fuzzy
: printer admin = fuzzy
: hosts allow = eeyore.asarian.org pooh.asarian.org 127.0.0.1
: mangle case = Yes
:
: [homes]
: comment = Home Directories
: read only = No
: dont descend = /proc, /dev
:
: [tmp]
: comment = Temporary file space
: path = /tmp
: read only = No
: dont descend = /proc, /dev
:
: [c]
: comment = Pooh's C: drive
: path = /win_c
: read only = No
:
: [d]
: comment = Pooh's D: drive
: path = /win_d
: read only = No
:
: [pighome]
: comment = home directories on piglet
: path = /pig-home
: read only = No
:
: <->
:
:
Good luck,
Martin
More information about the samba
mailing list