Bug 1910 - uNCName filled with hostname instead of netbiosname
Summary: uNCName filled with hostname instead of netbiosname
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.7
Hardware: x86 Windows XP
: P3 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
: 1918 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-11 08:28 UTC by Michael Arlt
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Attachments

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 = 10.96.70.26
        bind interfaces only = Yes
        socket address = 10.96.70.26
        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 
Services\Servers\sambatest\Printers\lanp099\DsSpooler"

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 (dead mail address) 2004-10-12 03:50:33 UTC
*** Bug 1918 has been marked as a duplicate of this bug. ***
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-03 07:25:49 UTC
fixed in 3.0.11 by forcing the long name to NETBIOSNAME.domain 
name.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:21:54 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.