William Enestvedt
2003-Dec-19 21:20 UTC
[Samba] Printing OK on 98, "Access denied" on XP Pro
I have a very simple setup on a Solaris 8 server, running Samba 3.0.1 (see smb.conf below). A desktop PC running Windows 98 (SE?) happily connects to and prints to my one shared printer, but an XP Pro laptop takes a loooong time to install the local driver and then just says "Access denied, unable to connect". I already told it to use a client driver and disabled spoolss. Here's my smb.cnf file: ----------Start of smb.conf------------ [global] workgroup = jwu netbiosname = pvd-dat-60 security = share dns proxy = No wins server = <IP redacted> # printcap name = /etc/printcap printing = sysv disable spoolss = Yes #[temp] # path = /tmp # read only = Yes # guest ok = Yes [pvdpar03lz02] comment = HP 9000hns path = /var/spool/samba printable = Yes browseable = Yes guest ok = Yes # read only = Yes use client driver = yes -----------End of smb.conf--------------- (The temp section was to test whether things worked before. I will actually delte those lines when I solve this problem. I commented out the printcap line because I don't want to share all the printers: I have a lot configured on this Sun but use a Windows print server to publishing them to desktop PC users.) Any suggestions? Thanks in advance for everyone's time. -wde -- Will Enestvedt UNIX System Administrator Johnson & Wales University -- Providence, RI
John H Terpstra
2003-Dec-19 22:43 UTC
[Samba] Printing OK on 98, "Access denied" on XP Pro
Bill, Try adding to [global]: guest only = Yes - John T. On Fri, 19 Dec 2003, William Enestvedt wrote:> I have a very simple setup on a Solaris 8 server, running Samba 3.0.1 (see smb.conf below). A desktop PC running Windows 98 (SE?) happily connects to and prints to my one shared printer, but an XP Pro laptop takes a loooong time to install the local driver and then just says "Access denied, unable to connect". > I already told it to use a client driver and disabled spoolss. Here's my smb.cnf file: > ----------Start of smb.conf------------ > [global] > workgroup = jwu > netbiosname = pvd-dat-60 > security = share > dns proxy = No > wins server = <IP redacted> > # printcap name = /etc/printcap > printing = sysv > disable spoolss = Yes > #[temp] > # path = /tmp > # read only = Yes > # guest ok = Yes > [pvdpar03lz02] > comment = HP 9000hns > path = /var/spool/samba > printable = Yes > browseable = Yes > guest ok = Yes > # read only = Yes > use client driver = yes > -----------End of smb.conf--------------- > (The temp section was to test whether things worked before. I will actually delte those lines when I solve this problem. I commented out the printcap line because I don't want to share all the printers: I have a lot configured on this Sun but use a Windows print server to publishing them to desktop PC users.) > Any suggestions? Thanks in advance for everyone's time. > -wde > -- > Will Enestvedt > UNIX System Administrator > Johnson & Wales University -- Providence, RI > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- John H Terpstra Email: jht@samba.org
William Enestvedt
2003-Dec-22 16:22 UTC
[Samba] Printing OK on 98, "Access denied" on XP Pro
John H Terpstra wrote:> > Try adding to [global]: > guest only = Yes >Hrm, it works now. Happy! I've got to give it to you, Mister Terpstra, you seem to have a lot of the answers up your sleeve (lucky foir the rest of us). Thanks again. -wde -- Will Enestvedt UNIX System Administrator Johnson & Wales University -- Providence, RI