Computing.Net > Forums > Linux > Cannot Print to Samba Server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Cannot Print to Samba Server

Reply to Message Icon

Name: Adam
Date: July 11, 2003 at 08:16:27 Pacific
OS: Redhat 8.0
CPU/Ram: 600 mhz
Comment:

I have a Redhat 8.0 server setup running Samba 2.2 I have shared a few directories and can read/write to those fine on my client WinXP machines. I have setup users and passwords for each WinXP client.

I can see the printer(Brother 1230) I have shared, but when I try to print a test page, nothing happens. In the bottom left corner on the client machine, it says "Access denied, unable to connect". Can anyone help? I can print locally on the Linux machine fine. Here is my smb.conf file:

[global]
log file = /var/log/samba/%m.log
load printers = yes
smb passwd file = /etc/samba/smbpasswd
guest account = abarnett
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
null passwords = yes
encrypt passwords = yes
public = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = AGJ_SERVER
server string = Samba Server
printing = cups
path = /var/spool/samba
unix password sync = yes
workgroup = AGJSYS
os level = 20
printcap name = lpstat
security = user
preferred master = no
max log size = 0
pam password change = yes

[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user


# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
printable = yes
guest ok = yes
browseable = yes
public = yes
create mode = 0700

[COMMON]
comment = Common Folder for all Common Files
path = /common



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


unable to find mod_ssl + mod_gzip +not c...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Cannot Print to Samba Server

Cannot print to Samba and CUPS www.computing.net/answers/linux/cannot-print-to-samba-and-cups/14905.html

Slow mapping to Samba Server www.computing.net/answers/linux/slow-mapping-to-samba-server/1944.html

Login to Samba server from win2k www.computing.net/answers/linux/login-to-samba-server-from-win2k/23552.html