[Samba] Error: "Access Denied, unable to connect" when viewing print queue

halljay at socket.net halljay at socket.net
Sun Apr 14 18:06:02 GMT 2002


I'm assuming you are using a Windows 2000 client and receiving this message.  
When using a Windows 2000 client you must either install the drivers on ther 
server, or add use client drivers=yes to smb.conf.



Jay

> (Sorry for the double post, forgot to add a subject last time).
> 
> Hi, I'm setting up a test box with a newer version of samba (2.2.1a) than 
> we were running previously.
> 
> The problem I'm having is when I try to view the queue from a Windows 
> client, I get the message "Access Denied, unable to connect".
> 
> I've checked the permissions on the queue, and the logs aren't showing 
> anything. Can anyone shed any light on this issue?
> 
> Here is my smb.conf:
> 
> =======================================
> 
> [global]
>    workgroup = dis_css
>    server string = Samba Test Server
>    hosts allow = 131.181.124.
>    printcap name = /etc/printcap
>    load printers = no
>    printing = bsd
>    path = /var/spool/lpd/distributed
>    guest account = pcprint
>    log file = /usr/local/samba/var/log.%m
>    max log size = 50
>    security = share
>    encrypt passwords = yes
>    smb passwd file = /etc/smbpasswd
> ; socket options = TCP_NODELAY
>    interfaces = 131.181.124.63/24 131.181.124.47/24
>    local master = no
>    os level = 0
>    domain master = no
>    preferred master = no
>    wins support = no
>    wins server = 131.181.254.115
>    dns proxy = yes
>    include = /usr/local/samba/lib/smb_printers_import.
> ; include = /usr/local/samba/lib/shares.smb.conf
> 
> [public]
>    path = /tmp
>    public = yes
>    only guest = no
>    writable = yes
>    printable = no
> =======================================
> 
> And here is a section of my printers import file:
> 
> =======================================
> 
> [itsgp_css1]
>      printer = itsgp_css1
>      path = /qut_spool/samba/distributed/itsgp_css1
>      force user = pcprint
>      force group = pcprint
>      browseable = yes
>      printable = yes
>      public =yes
>      writable =yes
>      create mode = 0700
>      lprm command =
>      lpq command = /usr/bin/lpq -P%p
>      print command = /usr/bin/umask 077;/usr/bin/echo 
> %T:%L:%s:%p:%a:%m:%U:%M:%I: %u >> /usr/local/samba/DIRS/logs/smb.current; 
> /usr/bin/lpr -r -v -J"%U" -P%p %s
> ;
> =======================================
> 
> Thanks in advance,
> 
> Daniel Frencham
> Systems Administrator Trainee
> Central Systems Services, ITS, QUT
> d.frencham at qut.edu.au
> ph: 3864 9494
> 
> 
> -- 
> 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