[Samba] progress :) still having trouble with win98 seeing shares on samba

Rashkae rashkae at wealthmap.ca
Mon Feb 4 01:27:04 GMT 2002


For a print filter that will take care of the stair steping, try
sed -e 's/$/'`echo -ne '\r'`'/g'



____________________________________________
Feb 4  4:18am
                       _
ASCII ribbon campaign ( )
 - against HTML email  X
             & vcards / \
On Mon, 4 Feb 2002, Fuzzy wrote:



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?
is there an easy way to deal with the stair-step problem?

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").

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.

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).

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

<->



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list