vista + samba 3.023pre1+ smb client

ahmed.feroz at wipro.com ahmed.feroz at wipro.com
Tue May 30 05:42:56 GMT 2006



Hi 
We need your help in this issue...

We are using samba 3.0.23 pre1.
When I try to connect "windows vista version 6, build 5308, beta 2"
machine I was getting an error ...

Doing spnego session setup (blob length=80)
SPNEGO login failed: Unexpected information received
lang_tdb_init: /usr/local/samba3023pre1/lib/en_US.UTF-8.msg: No such
file or directory
session setup failed: SUCCESS - 0


Now I have changed "if(cli->secblob.length <= 16)" to "if
(cli->secblob.length <= 46)"  in  "source\libsmb\cliconnect.c"  will it
have any impact on other features of samba??? Ethereal trace and logs
are attached with this mail...





The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba_vista.eth
Type: application/octet-stream
Size: 1102 bytes
Desc: samba_vista.eth
Url : http://lists.samba.org/archive/samba-technical/attachments/20060530/74cec6e9/samba_vista.obj
-------------- next part --------------
[root at linuz bin]# pwd

/usr/local/samba3023pre1/bin

[root at linuz bin]# ./smbclient -L Windows_Vista  -U wipro -d 10

INFO: Current debug levels:

  all: True/10

  tdb: False/0

  printdrivers: False/0

  lanman: False/0

  smb: False/0

  rpc_parse: False/0

  rpc_srv: False/0

  rpc_cli: False/0

  passdb: False/0

  sam: False/0

  auth: False/0

  winbind: False/0

  vfs: False/0

  idmap: False/0

  quota: False/0

  acls: False/0

  locking: False/0

  msdfs: False/0

  dmapi: False/0

lp_load: refreshing parameters

Initialising global parameters

params.c:pm_process() - Processing configuration file
"/usr/local/samba3023pre1/lib/smb.conf"

Processing section "[global]"

doing parameter workgroup = workgroup

doing parameter netbios name = smba_3_0_23_pre1

handle_netbios_name: set global_myname to: SMBA_3_0_23_PRE1

doing parameter encrypt passwords = yes

doing parameter server string = Samba 3...

doing parameter security = user

doing parameter username map = /etc/samba/smbusers

doing parameter smb passwd file = /etc/samba/smbpasswd

doing parameter log level = 10

doing parameter syslog = 0

doing parameter log file = /var/log/samba/%m

doing parameter max log size = 50

doing parameter Printcap name = CUPS

doing parameter printing = cups

doing parameter map to guest = Bad User

doing parameter server signing = Auto

doing parameter client signing = Auto

pm_process() returned Yes

lp_servicenumber: couldn't find homes

set_server_role: role = ROLE_STANDALONE

Attempting to register new charset UCS-2LE

Registered charset UCS-2LE

Attempting to register new charset UTF-16LE

Registered charset UTF-16LE

Attempting to register new charset UCS-2BE

Registered charset UCS-2BE

Attempting to register new charset UTF-16BE

Registered charset UTF-16BE

Attempting to register new charset UTF8

Registered charset UTF8

Attempting to register new charset UTF-8

Registered charset UTF-8

Attempting to register new charset ASCII

Registered charset ASCII

Attempting to register new charset 646

Registered charset 646

Attempting to register new charset ISO-8859-1

Registered charset ISO-8859-1

Attempting to register new charset UCS2-HEX

Registered charset UCS2-HEX

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

Substituting charset 'UTF-8' for LOCALE

added interface ip=10.101.65.156 bcast=10.101.65.255 nmask=255.255.255.0

Netbios name list:-

my_netbios_names[0]="SMBA_3_0_23_PRE1"

Client started (version 3.0.23pre1).

internal_resolve_name: looking up Windows_Vista#20

Opening cache file at /usr/local/samba3023pre1/var/locks/gencache.tdb

Returning valid cache entry: key = NBT/WINDOWS_VISTA#20, value =
10.101.65.65:0, timeout = Tue May  9 15:24:55 2006

name Windows_Vista#20 found.

Connecting to 10.101.65.65 at port 445

socket option SO_KEEPALIVE = 0

socket option SO_REUSEADDR = 0

socket option SO_BROADCAST = 0

socket option TCP_NODELAY = 1

socket option TCP_KEEPCNT = 9

socket option TCP_KEEPIDLE = 7200

socket option TCP_KEEPINTVL = 75

socket option IPTOS_LOWDELAY = 0

socket option IPTOS_THROUGHPUT = 0

socket option SO_SNDBUF = 16384

socket option SO_RCVBUF = 87380

socket option SO_SNDLOWAT = 1

socket option SO_RCVLOWAT = 1

socket option SO_SNDTIMEO = 0

socket option SO_RCVTIMEO = 0

 session request ok

write_socket(4,183)

write_socket(4,183) wrote 183

got smb length of 149

size=149

smb_com=0x72

smb_rcls=0

smb_reh=0

smb_err=0

smb_flg=136

smb_flg2=55297

smb_tid=0

smb_pid=27521

smb_uid=0

smb_mid=1

smt_wct=17

smb_vwv[ 0]=    8 (0x8)

smb_vwv[ 1]= 2563 (0xA03)

smb_vwv[ 2]=  256 (0x100)

smb_vwv[ 3]= 1024 (0x400)

smb_vwv[ 4]=   17 (0x11)

smb_vwv[ 5]=    0 (0x0)

smb_vwv[ 6]=  256 (0x100)

smb_vwv[ 7]=    0 (0x0)

smb_vwv[ 8]=    0 (0x0)

smb_vwv[ 9]=64768 (0xFD00)

smb_vwv[10]=  995 (0x3E3)

smb_vwv[11]=26240 (0x6680)

smb_vwv[12]=57727 (0xE17F)

smb_vwv[13]=19871 (0x4D9F)

smb_vwv[14]=50803 (0xC673)

smb_vwv[15]=41985 (0xA401)

smb_vwv[16]=    1 (0x1)

smb_bcc=80

[000] 62 40 54 E4 CF 35 D4 4E  BA F9 90 01 9E 32 38 EF  b at T..5.N .....28.

[010] 60 3E 06 06 2B 06 01 05  05 02 A0 34 30 32 A0 30  `>..+... ...402.0

[020] 30 2E 06 09 2A 86 48 82  F7 12 01 02 02 06 09 2A  0...*.H. .......*

[030] 86 48 86 F7 12 01 02 02  06 0A 2A 86 48 86 F7 12  .H...... ..*.H...

[040] 01 02 02 03 06 0A 2B 06  01 04 01 82 37 02 02 0A  ......+. ....7...

size=149

smb_com=0x72

smb_rcls=0

smb_reh=0

smb_err=0

smb_flg=136

smb_flg2=55297

smb_tid=0

smb_pid=27521

smb_uid=0

smb_mid=1

smt_wct=17

smb_vwv[ 0]=    8 (0x8)

smb_vwv[ 1]= 2563 (0xA03)

smb_vwv[ 2]=  256 (0x100)

smb_vwv[ 3]= 1024 (0x400)

smb_vwv[ 4]=   17 (0x11)

smb_vwv[ 5]=    0 (0x0)

smb_vwv[ 6]=  256 (0x100)

smb_vwv[ 7]=    0 (0x0)

smb_vwv[ 8]=    0 (0x0)

smb_vwv[ 9]=64768 (0xFD00)

smb_vwv[10]=  995 (0x3E3)

smb_vwv[11]=26240 (0x6680)

smb_vwv[12]=57727 (0xE17F)

smb_vwv[13]=19871 (0x4D9F)

smb_vwv[14]=50803 (0xC673)

smb_vwv[15]=41985 (0xA401)

smb_vwv[16]=    1 (0x1)

smb_bcc=80

[000] 62 40 54 E4 CF 35 D4 4E  BA F9 90 01 9E 32 38 EF  b at T..5.N .....28.

[010] 60 3E 06 06 2B 06 01 05  05 02 A0 34 30 32 A0 30  `>..+... ...402.0

[020] 30 2E 06 09 2A 86 48 82  F7 12 01 02 02 06 09 2A  0...*.H. .......*

[030] 86 48 86 F7 12 01 02 02  06 0A 2A 86 48 86 F7 12  .H...... ..*.H...

[040] 01 02 02 03 06 0A 2B 06  01 04 01 82 37 02 02 0A  ......+. ....7...

Password:

Doing spnego session setup (blob length=80)

SPNEGO login failed: Unexpected information received

lang_tdb_init: /usr/local/samba3023pre1/lib/en_US.UTF-8.msg: No such file
or directory

session setup failed: SUCCESS - 0

[root at linuz bin]#



More information about the samba-technical mailing list