Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Cannot Print to Samba Server

    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:

    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

    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
    ; 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
    comment = All Printers
    printable = yes
    guest ok = yes
    browseable = yes
    public = yes
    create mode = 0700

    comment = Common Folder for all Common Files
    path = /common

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts