Bug 1324 - Smbclient fails to connect to server (netbios) alias
Smbclient fails to connect to server (netbios) alias
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.3
All Linux
: P5 minor
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
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 2004-05-06 14:03:18 UTC
it's connecting to port 445 by default.  run 
'smbclient .... -p 139'.
Comment 2 Gerald (Jerry) Carter 2005-11-14 09:26:36 UTC
database cleanup