Kent Tong
2009-Sep-25 08:54 UTC
[Samba] invalid computer name when accessing a Samba server from a Samba client
Hi, I am trying to access a Samba server (a NAS, actually, a Level One FNS 7000B). However, it will only return an error NT_STATUS_INVALID_COMPUTER_NAME. Below is the output of some test commands. Thanks in advance for any help! root at hoadms004:/etc/network# smbclient -L //ho-nas01 Password: Anonymous login successful Domain=[CPTTM] OS=[Unix] Server=[Samba 3.0.20b] Sharename Type Comment --------- ---- ------- ... vm Disk IPC$ IPC IPC Service (HO-NAS01) ADMIN$ IPC IPC Service (HO-NAS01) Anonymous login successful Domain=[CPTTM] OS=[Unix] Server=[Samba 3.0.20b] Server Comment --------- ------- HO-NAS01 HO-NAS01 Workgroup Master --------- ------- CPTTM HO-NAS01 DOMAIN BACKUP01 WORKGROUP CPTTM root at hoadms004:/etc/network# smbclient //HO-NAS01/vm -W CPTTM -U vmadmin -d3 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface ip=172.18.19.53 bcast=172.18.19.255 nmask=255.255.255.0 Client started (version 3.0.28a). resolve_lmhosts: Attempting lmhosts lookup for name HO-NAS01<0x20> resolve_wins: Attempting wins lookup for name HO-NAS01<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name HO-NAS01<0x20> Connecting to 172.18.20.11 at port 445 Password: r_candy Disk Doing spnego session setup (blob length=102) got OID=1 2 840 113554 1 2 2 got OID=1 2 840 48018 1 2 2k got OID=1 3 6 1 4 1 311 2 2 10 got principal=cifs/ho-nas01 at CPTTM.ORG.MO Got challenge flags: Disk Got NTLMSSP neg_flags=0x60898215 NTLMSSP: Set final flags:isk Got NTLMSSP neg_flags=0x60088215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 SPNEGO login failed: Invalid computer name session setup failed: NT_STATUS_INVALID_COMPUTER_NAME ----- -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/invalid-computer-name-when-accessing-a-Samba-server-from-a-Samba-client-tp25608649p25608649.html Sent from the Samba - General mailing list archive at Nabble.com.
Andrew Masterson
2009-Sep-28 11:03 UTC
[Samba] invalid computer name when accessing a Samba server from a Samba client
> Domain=[CPTTM] OS=[Unix] Server=[Samba 3.0.20b]Does the NAS have a machine account in the domain? -=Andrew
Kent Tong
2009-Sep-29 01:33 UTC
[Samba] invalid computer name when accessing a Samba server from a Samba client
Andrew Masterson wrote:> > Does the NAS have a machine account in the domain? >Yes, I can see an account named ho-nas01 in the "Computers" folder in AD. ----- -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/invalid-computer-name-when-accessing-a-Samba-server-from-a-Samba-client-tp25608649p25655616.html Sent from the Samba - General mailing list archive at Nabble.com.