Bug 1324 - Smbclient fails to connect to server (netbios) alias
Summary: Smbclient fails to connect to server (netbios) alias
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.3
Hardware: All Linux
: P5 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 05:01 UTC by Sten Sletbak
Modified: 2005-11-14 09:26 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 Sten Sletbak 2004-05-06 05:01:47 UTC
# smbclient //realname/share -U user -I x.x.x.x
Password:
Domain=[DOM] OS=[Unix] Server=[Samba 3.0.2-6.3E]
smb: \>

As expected.

# smbclient //alias/share -U user -I x.x.x.x
Password:
Domain=[DOM] OS=[Unix] Server=[Samba 3.0.2-6.3E]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

The same command from a samba 2.x client works fine.

smb.conf

netbios aliases = alias
include = /etc/samba/smb.%L

file for the aliased server configuration: /etc/samba/smb.alias
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-05-06 14:03:18 UTC
it's connecting to port 445 by default.  run 
'smbclient .... -p 139'.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:26:36 UTC
database cleanup