[Bug 376359] Re: Truncating NetBIOS name don't work

2009-06-09 Thread Thierry Carrez
So there seem to be an incompatibility between the way Windows (and
smbtree) browse the "Windows network" and a Samba server where the DNS
name and NetBIOS name differ.

Just to make sure, does adding "netbios name = VSERVER-TERM" to
/etc/samba/smb.conf (while keeping your hostname to vserver-terminal)
change anything ?

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-15 Thread Thierry Carrez
I think it's a hostname resolution issue on the client side, due to mismatch 
between DNS hostname and NetBIOS name. Could you run:
smbclient -d 4 -N -L //servername
on the client in both cases and post the corresponding output ?

** Changed in: samba (Ubuntu)
   Status: New => Incomplete

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский
Here You are.
First, I changed hostname to vserver-terminal, restart samba and puts output to 
file VSERVER-TERMINA.txt, then changed back to v-terminal, again restart samba 
and puts output to file V-TERMINAL.txt.
Attaching files.

** Attachment added: "VSERVER-TERMINA.txt"
   http://launchpadlibrarian.net/26886717/VSERVER-TERMINA.txt

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский

** Attachment added: "V-TERMINAL.txt"
   http://launchpadlibrarian.net/26886719/V-TERMINAL.txt

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский

** Attachment added: "remote-V-TERMINAL.txt"
   http://launchpadlibrarian.net/26887036/remote-V-TERMINAL.txt

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский
Attaching same files from remote client

** Attachment added: "remote-VSERVER-TERMINAL.txt"
   http://launchpadlibrarian.net/26887031/remote-VSERVER-TERMINAL.txt

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Thierry Carrez
The trace remote-VSERVER-TERMINAL.txt looks successful to me... What do
you mean by "but, VSERVER-TERMINA did not seen in network" ?

In all cases the problem would be in your host resolution. Your hostname
is VSERVER-TERMINAL and the NetBIOS name (limited to 16 char) is
VSERVER-TERMINA. If you don't setup hosts/lmhosts/WINS or DNS resolution
to resolve VSERVER-TERMINA[L] to IP, it will use SMB broadcast (and only
answer to the shortened NetBIOS name).

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский
I mean, VSERVER-TERMINA did not seen in Windows or Linux network
neighborhood windows. Tomorrow I'll boot computers with long terminal
name and get some look into problem (windows don't react immediately to
computer name change).

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 376359] Re: Truncating NetBIOS name don't work

2009-05-18 Thread Юрий Чудновский
Here it is. Attach: screenshot, there is no "VSERVER-TERMINA" in list.
Even more,
fr...@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-MASTERvserver-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.

fr...@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:::::%eth0 netmask=:::::
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 C0A801FC
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))

[Bug 376359] Re: Truncating NetBIOS name don't work

2009-08-17 Thread Thierry Carrez
*** This bug is a duplicate of bug 408948 ***
https://bugs.launchpad.net/bugs/408948

** This bug has been marked a duplicate of bug 408948
   winxp discovery fails when machine name truncated at 15 chars

-- 
Truncating NetBIOS name don't work
https://bugs.launchpad.net/bugs/376359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs