[sclug] sclug Digest, Vol 94, Issue 2

Neil Haughton haughtonomous at googlemail.com
Mon Jul 4 19:17:13 UTC 2011


I managed to get it working - once. After getting XP to 'see' the printer. I
found I had to rt-click on it and select "Connect". That did the trick. Then
I turned everyhting off, and when I booted it all up again I was back to
square one. XP has the driver installed but reports that it cannot find the
printer on the network.

XP can see the shared folders on the debian box, so it is not a network
issue per se. I'm not sure which end the problem lies, but I suspect it's
the debian end.

This is my complete smb.conf on the debian box:

[global]
        workgroup = STARWOOD
        netbios name = STUDY
        security = SHARE
        auth methods = guest
        domain master = No
        wins support = Yes

#this section is only to share the printer
printcap name = cups
 disable spoolss = Yes
show add printer wizard = No
printing = cups
        load printers = yes

[MollyHome]
        comment = shares for molly
        path = /home/molly
        read only = No
        guest ok = Yes


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
 browseable = yes
read only = yes
guest ok = no

[printers]
comment = local printer
path = /var/spool/samba
 guest ok = Yes
printable = Yes
use client driver = Yes
 browseable = Yes

I've checked that /var/spool/samba is writeable (770), by the way.

Here is the relevant section from my cupsd.conf:

....
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Negotiate
<Location />
Order Deny,Allow
Deny From All
#allow local:
Allow From 127.0.0.1
#allow any machine on my network:
Allow From 192.168.0.*
</Location>
...
Can you see anything wrong or missing there?

>>see if explora can see the $PRINT share? jut put \\<debian IP>:$PRINT\
into the location bar

No, it can't.

Neil.

On 4 July 2011 13:00, <sclug-request at sclug.org.uk> wrote:

> Send sclug mailing list submissions to
>        sclug at sclug.org.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://sclug.org.uk/mailman/listinfo/sclug
> or, via email, send a message with subject or body 'help' to
>        sclug-request at sclug.org.uk
>
> You can reach the person managing the list at
>        sclug-owner at sclug.org.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sclug digest..."
>
> Today's Topics:
>
>   1. Fwd:  Fwd: Linking an XP box and Debian box via router
>      (Stuart Ward)
>
>
> ---------- Forwarded message ----------
> From: Stuart Ward <stuart.ward at bcs.org>
> To: sclug at sclug.org.uk
> Date: Sun, 3 Jul 2011 15:19:45 +0100
> Subject: [sclug] Fwd: Fwd: Linking an XP box and Debian box via router
> Neil
>
> I think your problem is probably to do with name resolution. Have you
> got wins running on the debian box?
>
> see if explora can see the $PRINT share? jut put \\<debian IP>:$PRINT\
> into the location bar
>
> try nbtstat on the XP machine to se if it is able to see the shares.
> http://ss64.com/nt/nbtstat.html
>
> -- Stuart Ward M +44 7782325143
>
>
> _______________________________________________
> sclug mailing list
> sclug at sclug.org.uk
> http://sclug.org.uk/mailman/listinfo/sclug
>



More information about the Sclug mailing list