[Samba] Point&print problem: printer names show the ip, not the server name.

pmsr at myrealbox.com pmsr at myrealbox.com
Wed Oct 6 22:17:48 GMT 2004


   i have this strange problem with printing and server naming after upgrading a server from 
RH9 (running Samba 3.0.3 ) to Fedora Core 1 (3.0.7-2.FC1). Everything was working before 
the upgrade, but i immediately started noticing some peculiarities after restoring the samba 
files (/etc/samba, /var/cache/samba) and starting samba. The problem manifests by the 

- when i double click on a workstation printer created using point&print, the header of the 
window shows the ip number of the server instead of the server name. The printer 
description on the local printers&faxes folder is right, though: ex: "laser on jimmy".

- creating a new printer using point&print, the new printer gets a description as "laser on" (using the ip number, not the server name).

- If i am not validated on the domain, but just login to the server, accessing the shared 
printers directly asks me again for the username and password, and if i use the net use 
command, i notice that i am mapped to both \\server\ipc$ and \\\ipc$ 

In all cases, point&print seems to be messed up to the point it can't install new printer drivers 
unless the drivers are already installed locally. Since i changed the dns domain name of the 
server, i first looked at the possibility of a dns configuration problem, but after looking 
everywhere i am stumped. 

Any ideas?

A portion of my smb.conf:

        workgroup = WORKGROUP
        server string = JIMMY File Server
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        logon script = netlogon.bat
        logon path = \\%L\%U\profile
        logon drive = u:
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        printer admin = @ntadmin
        hosts allow = 192.168.2., 1.0.0., 127.
        cups options = raw

        comment = All Printers
        path = /var/spool/samba
        create mask = 0600
        guest ok = Yes
        printable = Yes
        browseable = No

        comment = Printer Drivers
        path = /etc/samba/drivers
        write list = @ntadmin, root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
        guest ok = Yes

Thanks in advance,

More information about the samba mailing list