[Bug 376359] Re: Truncating NetBIOS name don't work
Юрий Чудновский
fqc at mail.ru
Tue May 19 07:19:26 BST 2009
Here it is. Attach: screenshot, there is no "VSERVER-TERMINA" in list.
Even more,
frank at vserver-terminal:~$ smbtree -SN
session request to 192.168.1.45 failed (Called name not present)
session request to 192.168.1.45 failed (Called name not present)
GREENGROUP
session request to 192.168.1.45 failed (Called name not present)
\\VSERVER-SLAVE vserver-slave (secondary backup storage)
\\VSERVER-MASTER vserver-master (primary backup storage)
\\TRANSP
\\PTO1
\\PTO
\\PRIEMNAYA
\\PEV2
\\PEV1
\\OHRANATRUDA
\\NPTO
\\NPEV
\\MASTERA
\\KASSA
\\GBUGH
\\BUGH4
\\BUGH3
\\BUGH2
\\BUGH1
Here too.
Repeating smbclient query.
frank at vserver-terminal:~$ smbclient -d 4 -N -L //VSERVER-TERMINA
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = GREENGROUP
doing parameter server string = %h server (Samba, Ubuntu LTSP)
doing parameter dns proxy = no
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter usershare allow guests = yes
pm_process() returned Yes
added interface eth0 ip=fe80::20c:29ff:fe53:13b3%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.1.252 bcast=192.168.1.255 netmask=255.255.255.0
Client started (version 3.3.2).
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied
resolve_lmhosts: Attempting lmhosts lookup for name VSERVER-TERMINA<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name VSERVER-TERMINA<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name VSERVER-TERMINA<0x20>
resolve_hosts: getaddrinfo failed for name VSERVER-TERMINA [No address associated with hostname]
name_resolve_bcast: Attempting broadcast lookup for name VSERVER-TERMINA<0x20>
nmb packet from 192.168.1.252(137) header: id=31809 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=VSERVER-TERMINA<20> rr_type=32 rr_class=1 ttl=259200
answers 0 char ...... hex 0000C0A801FC
Got a positive name query response from 192.168.1.252 ( 192.168.1.252 )
Connecting to 192.168.1.252 at port 445
session request ok
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_CHAL_ACCEPT_RESPONSE
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_CHAL_TARGET_INFO
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
SPNEGO login failed: Logon failure
Anonymous login successful
Domain=[GREENGROUP] OS=[Unix] Server=[Samba 3.3.2]
session setup ok
tconx ok
dos_clean_name []
unix_clean_name []
Sharename Type Comment
--------- ---- -------
rpc_pipe_bind: host VSERVER-TERMINA, pipe \srvsvc, fnum 0x7270 bind request returned ok.
IPC$ IPC IPC Service (vserver-terminal server (Samba, Ubuntu LTSP))
общедоступная Disk
interpret_string_addr_internal: getaddrinfo failed for name VSERVER-TERMINA [No address associated with hostname]
resolve_lmhosts: Attempting lmhosts lookup for name VSERVER-TERMINA<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name VSERVER-TERMINA<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name VSERVER-TERMINA<0x20>
resolve_hosts: getaddrinfo failed for name VSERVER-TERMINA [No address associated with hostname]
name_resolve_bcast: Attempting broadcast lookup for name VSERVER-TERMINA<0x20>
nmb packet from 192.168.1.252(137) header: id=976 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=VSERVER-TERMINA<20> rr_type=32 rr_class=1 ttl=259200
answers 0 char ...... hex 0000C0A801FC
Got a positive name query response from 192.168.1.252 ( 192.168.1.252 )
Connecting to 192.168.1.252 at port 139
session request ok
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_CHAL_ACCEPT_RESPONSE
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_CHAL_TARGET_INFO
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
SPNEGO login failed: Logon failure
Anonymous login successful
Domain=[GREENGROUP] OS=[Unix] Server=[Samba 3.3.2]
session setup ok
tconx ok
dos_clean_name []
unix_clean_name []
Server Comment
--------- -------
BUGH1
VSERVER-TERMINAL vserver-terminal server (Samba, Ubuntu LTSP)
Workgroup Master
--------- -------
GREENGROUP BUGH1
So, where is The Bug, heh?
** Attachment added: "screenshot.png"
http://launchpadlibrarian.net/26922789/screenshot.png
--
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list