Bug 1910 - uNCName filled with hostname instead of netbiosname
uNCName filled with hostname instead of netbiosname
Product: Samba 3.0
Classification: Unclassified
Component: Printing
x86 Windows XP
: P3 major
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
: 1918 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-10-11 08:28 UTC by Michael Arlt
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Arlt 2004-10-11 08:28:35 UTC
We included the printing-patch from #1519.

hostname: vmdb07t # joined active directory 2003

relevant part of smb.conf (test for a clustered system with a floating ip&name):
        interfaces =
        bind interfaces only = Yes
        socket address =
        netbios name = sambatest

when we connect to a configured printers via point and print we get an registry 
entry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Print\Providers\LanMan Print 

The value for "uNCName" is "\\VMDB07T\lanp099" but should 
be "\\sambatest\lanp099". We assume problems when switching our productive 
samba-application to the other host.

Another problem is: If you don't set "netbios name" the value of "uNCName" is 
set to \\fqdn\printer for example: \\vmdb07t.universa.de\lanp099.
Comment 1 Gerald (Jerry) Carter 2004-10-12 03:50:33 UTC
*** Bug 1918 has been marked as a duplicate of this bug. ***
Comment 2 Gerald (Jerry) Carter 2005-02-03 07:25:49 UTC
fixed in 3.0.11 by forcing the long name to NETBIOSNAME.domain 
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:21:54 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.