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

    Strange Network Browse Issue in Samba

    I'm a newbie...sorry, just learning this but I really need some help!

    I have Fedora Core 4 running and have a printer configured in Samba. I have Windows XP machines connecting to this printer via a share set up in Samba. The printer works fine....absolutely no issues.

    However, when I add the printer when I look at Printer Properties in the Windows XP "Printers and Faxes" window, the SERVER name is listed as an IP Address and NOT the Servername. It's a minor issue overall, but users complain about not seeing the printer they want. So, for example, if a user adds a printer via Start > Run


    The "Printers and Faxes" will list the printer as:


    I can browse to it fine in "My Network Places." I can see the Servername listed in WINS, DNS. Is something in Samba changing this when I attach to the Printer? Please help me if you can and it would make my year.

    Here is a copy of my smb.conf file:

    workgroup = APLAW
    server string = Linux ePDF Server
    map to guest = Bad User
    passdb backend = smbpasswd, guest
    guest account = pcguest
    log file = /var/log/samba/%m.log
    max log size = 50
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    printcap name = /etc/printcap
    addprinter command = /usr/bin/ --addprinter
    local master = No
    dns proxy = No
    wins server =
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    printing = lprng
    cups options = raw
    print command = lpr -r -P'%p' %s
    lpq command = lpq -P'%p'
    lprm command = lprm -P'%p' %j
    lppause command = lpc hold '%p' %j
    lpresume command = lpc release '%p' %j
    queuepause command = lpc stop '%p'
    queueresume command = lpc start '%p'

    comment = Home Directories
    read only = No
    browseable = No

    comment = All Printers
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    printer name = raw
    browseable = No

    comment = Temporary file space
    path = /tmp
    read only = No
    guest ok = Yes

    comment = Print Drivers
    path = /etc/samba/drivers
    write list = root
    guest ok = Yes

    comment = ePDF Printer
    path = /var/spool/ePDF/ePDF
    force create mode = 0777
    force directory mode = 0777
    guest ok = Yes
    printable = Yes
    print command = /usr/bin/ --jobname '%J' --user %U %s
    lpq command = /usr/bin/ --qstat --workdir '[%S]' --user %U
    queuepause command = /usr/bin/ --startbatch --user %U
    queueresume command = /usr/bin/ --endbatch --user %U

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    The server probably cant resolve that IP address into a name properly, you could try adding the machine name and IP address to /etc/hosts, or you could declare it with a "netbios name = " directive in the [global] bit of your /etc/samba/smb.conf file.
    Linux user #126863 - see

Posting Permissions

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