Hi Folks,

I'm fairly new to both Minneapolis and Linux.  I figured I'd introduce
myself to the list with a shameless request for help.

I'm fruitlessly trying to print via CUPS and Samba to printer connected
to a Win 2K box named agrippa.  I think have traced the problem (or
maybe *a* problem) to anonymous Samba connections.

I'm not even sure if this is the sort of thing that requires changes to
Windows or Linux, but I suspect Linux, because I can print from a Win2K
laptop to agrippa just fine.

General information:

I can access Linux samba shares from agrippa.
I can mount agrippa's fileshares from Linux.
I can use smbclient to connect to agrippa as a user as follows:

istoner at goodmanbrown:~$ smbclient -L agrippa -U istoner
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Password: 
Domain=[ENNUI] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

	Sharename      Type      Comment
	---------      ----      -------
	public         Disk      
	E$             Disk      Default share
	c drive        Disk      
	IPC$           IPC       Remote IPC
	D$             Disk      Default share
	print$         Disk      Printer Drivers
	grad school    Disk      
	download       Disk      
	Save           Disk      
	Downloads      Disk      
	d drive        Disk      
	ADMIN$         Disk      Remote Admin
	C$             Disk      Default share
	printer        Printer   Samsung ML-1430 Series

	Server               Comment
	---------            -------

	Workgroup            Master
	---------            -------

I have configured CUPS to print via samba to the windows printer at
smb://agrippa/printer, but it doesn't work, thanks to the following
error:

istoner at goodmanbrown:~$ tail /var/log/cups/error_log 

E [10/Jun/2003:19:45:21 -0500] Unable to connect to SAMBA host, will
retry in 60 seconds...: Success 
E [10/Jun/2003:19:46:21 -0500] SMB tree connect failed:
NT_STATUS_ACCESS_DENIED 
E [10/Jun/2003:19:46:21 -0500] Unable to connect to SAMBA host, will
retry in 60 seconds...: Success 
E [10/Jun/2003:19:47:21 -0500] SMB tree connect failed:
NT_STATUS_ACCESS_DENIED 
E [10/Jun/2003:19:47:21 -0500] Unable to connect to SAMBA host, will
retry in 60 seconds...: Success

And, what I suspect is a different symptom of the same problem, I cannot
connect to agrippa anonymously, as follows:

istoner at goodmanbrown:~$ smbclient -L agrippa -N
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Anonymous login successful
Domain=[ENNUI] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

	Sharename      Type      Comment
	---------      ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

	Server               Comment
	---------            -------

	Workgroup            Master
	---------            -------

What do I need to do to allow CUPS print jobs to get through to the
Windows 2000 printer?  If anyone has had a similar problem, and can
point me to some helpful documentation, or recount your troubleshooting
experiences, I would much appreciate it.  If there is more helpful
diagnostic information I can provide, just let me know what it is.

Thanks in advance,
Ian

-- 
Ian Stoner
Philosophy Department
University of New Mexico
http://www.unm.edu/~istoner/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030610/ad7e5398/attachment.pgp