Running v3.0.2a-SUSE, joined to AD, all clients are XP.SP2 When smb.conf has "smb ports = 139", then %L is populated with the appropriate netbios alias name as selected by the end user, and everything works as expected. When "smb ports = 445" or is not specified, then %L is populated with the host name instead of the alias name. Is there a code patch for %L or an undocumented %parm to use instead to get the alias name as selected by the client (not the hosting server name)?? The reason I ask is because Netbios is still responding to the alias name, and an Ethereal sniff of simple traffic "Net View \\samba-alias" (after an NBTstat - R) when "smb ports = 445" seems to show the alias name still being used back & forth to the Samba box, and Samba itself is resolving the alias name (I don't have Disable Netbios=yes). Therefore, isn't there some way for Samba to internally pick this up and populate %L correctly? Thx in advance.
On Thu, 2005-01-20 at 20:03 -0800, David Loudon wrote:> Running v3.0.2a-SUSE, joined to AD, all clients are XP.SP2 > > When smb.conf has "smb ports = 139", then %L is populated with the > appropriate netbios alias name as selected by the end user, and > everything works as expected. > > When "smb ports = 445" or is not specified, then %L is populated with > the host name instead of the alias name. Is there a code patch for %L > or an undocumented %parm to use instead to get the alias name as > selected by the client (not the hosting server name)??If there was, we would use it. This information is simply no longer supplied by the client, when it talks to port 445. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20050121/52c61073/attachment.bin
| |Andrew Bartlett wrote: | || If there was, we would use it. This information is || simply no longer supplied by the client, when it talks to || port 445. | | |Andrew's right. | |The only alternative is to use a multi-homed samba host |(even virtual IPs) and the %i variable. If my memory serves |me correctly. | | |cheers, jerry | What's the downside to 'disabling' port 445 with "smb ports =" ?