Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
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*success fully*
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
I have that kind of problem, too. I believe they changed some SMB perms specs a little when they released XP and that is why it won't work. You will probably have to wait until a version of Samba is released that supports it.
I don't know for sure, though. Try and get a second opinion.
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe