[Samba] Join fails with 'SPNEGO login failed: invalid parameter'

Remy Zandwijk remy.zandwijk at falw.vu.nl
Wed Nov 5 13:21:35 GMT 2008


Hi.

Any idea yet?

When a client connects to the member server, this is written in the log:

[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol 
[倀䌀 一䔀吀圀伀刀䬀 倀刀伀䜀刀䄀䴀 ㄀⸀ ]
[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol [䰀䄀一䴀䄀一㄀⸀ ]
[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol 
[圀椀渀搀漀眀猀 昀漀爀 圀漀爀欀最爀漀甀瀀猀 ㌀⸀㄀愀]
[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol [ä°€ä´€ã„€â¸€ãˆ€å €ã€€ã€€ãˆ€]
[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol [䰀䄀一䴀䄀一㈀⸀㄀]
[2008/11/05 14:18:34,  3] smbd/negprot.c:(568)
   Requested protocol [一吀 䰀䴀  ⸀㄀㈀]
[2008/11/05 14:18:34,  0] smbd/negprot.c:(675)
   No protocol supported !


That's weird, right?

-Remy




> Hi,
> 
> I am running Samba 3.2.4 on a Solaris 10 SPARC machine. The config is 
> pretty
> simple (see below). Security is set to 'domain'. The PDC and BDC are 
> running
> 3.0.30 without problems.
> 
> When joining the machine to the domain with 'net rpc join', it fails with:
> 
>     Could not connect to server 130.37.79.2
>     Connection failed: NT_STATUS_INVALID_PARAMETER
> 
> 
> when running the net command with -d10, messages appear like:
> 
> [2008/11/02 21:00:54,  1] libsmb/ntlmssp.c:(326)
>   Failed to parse NTLMSSP packet, could not extract NTLMSSP command
> [2008/11/02 21:00:54,  3] libsmb/cliconnect.c:(1036)
>   SPNEGO login failed: Invalid parameter
> [2008/11/02 21:00:54,  1] libsmb/cliconnect.c:(1737)
>   failed session setup with NT_STATUS_INVALID_PARAMETER
> 
> 
> What's keeping Samba from joining the domain correctly? I would have 
> added the -d10 output as well, but that'll exceed the 64KB size limit on 
> the list, so I left it out, except for the last lines.
> 
> 
> Regards,
> Remy Zandwijk
> 
> ----------
> 
> smb.conf [global]-section:
> 
> global]
>         netbios name                    = MEGAPTERAFALW
>         workgroup                       = ALW
>         server string                   = ALW %L
>         log file                        = /var/log/samba/%m.log
>         log level                       = 3
>         max log size                    = 10000
> 
>         security                        = domain
>         password server                 = 130.37.79.3 130.37.79.2
>         encrypt passwords               = yes
> 
>         wins server                     = 130.37.79.8
>         host msdfs                      = yes
>         disable spoolss                 = yes
>         load printers                   = no
>         printing                        = bsd
>         printcap name                   = /dev/null
> 
>         winbind separator               = +
>         winbind enum users              = no
>         winbind enum groups             = no
>         winbind nested groups           = yes
>         winbind use default domain      = yes
> 
>     idmap domains                   = ALW
>     idmap config ALW:backend        = nss
>     idmap config ALW:readonly       = yes
> 
> 
> net rcp join -d10 output:
> 
> [2008/11/02 21:08:07, 10] libsmb/credentials.c:(316)
>   creds_client_init: seed : A3C7F33910594013
>       netr_ServerAuthenticate2: struct netr_ServerAuthenticate2
>           in: struct netr_ServerAuthenticate2
>               server_name              : *
>                   server_name              : '\\130.37.79.2'
>               account_name             : 'MEGAPTERAFALW$'
>               secure_channel_type      : SEC_CHAN_WKSTA (2)
>               computer_name            : 'MEGAPTERAFALW'
>               credentials              : *
>                   credentials: struct netr_Credential
>                       data                     : a3c7f33910594013
>               negotiate_flags          : *
>                   negotiate_flags          : 0x00000000 (0)
>                          0: NETLOGON_NEG_ACCOUNT_LOCKOUT
>                          0: NETLOGON_NEG_PERSISTENT_SAMREPL
>                          0: NETLOGON_NEG_ARCFOUR
>                          0: NETLOGON_NEG_PROMOTION_COUNT
>                          0: NETLOGON_NEG_CHANGELOG_BDC
>                          0: NETLOGON_NEG_FULL_SYNC_REPL
>                          0: NETLOGON_NEG_MULTIPLE_SIDS
>                          0: NETLOGON_NEG_REDO
>                          0: NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL
>                          0: NETLOGON_NEG_SEND_PASSWORD_INFO_PDC
>                          0: NETLOGON_NEG_GENERIC_PASSTHROUGH
>                          0: NETLOGON_NEG_CONCURRENT_RPC
>                          0: NETLOGON_NEG_AVOID_ACCOUNT_DB_REPL
>                          0: NETLOGON_NEG_AVOID_SECURITYAUTH_DB_REPL
>                          0: NETLOGON_NEG_128BIT
>                          0: NETLOGON_NEG_TRANSITIVE_TRUSTS
>                          0: NETLOGON_NEG_DNS_DOMAIN_TRUSTS
>                          0: NETLOGON_NEG_PASSWORD_SET2
>                          0: NETLOGON_NEG_GETDOMAININFO
>                          0: NETLOGON_NEG_CROSS_FOREST_TRUSTS
>                          0: NETLOGON_NEG_NEUTRALIZE_NT4_EMULATION
>                          0: NETLOGON_NEG_RODC_PASSTHROUGH
>                          0: NETLOGON_NEG_AUTHENTICATED_RPC_LSASS
>                          0: NETLOGON_NEG_SCHANNEL
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(88)
>   000000 smb_io_rpc_hdr hdr
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0000 major     : 05
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0001 minor     : 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0002 pkt_type  : 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0003 flags     : 03
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0004 pack_type0: 10
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0005 pack_type1: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0006 pack_type2: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0007 pack_type3: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       0008 frag_len  : 00a4
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       000a auth_len  : 0000
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(718)
>       000c call_id   : 00000009
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(88)
>   000010 smb_io_rpc_hdr_req hdr_req
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(718)
>       0010 alloc_hint: 0000008c
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       0014 context_id: 0000
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       0016 opnum     : 000f
> [2008/11/02 21:08:07,  5] rpc_client/cli_pipe.c:(769)
>   rpc_api_pipe: Remote machine 130.37.79.2 pipe \NETLOGON fnum 0x76d5
> [2008/11/02 21:08:07,  5] lib/util.c:(642)
> [2008/11/02 21:08:07,  5] lib/util.c:(652)
>   size=246
>   smb_com=0x25
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=8
>   smb_flg2=51201
>   smb_tid=1
>   smb_pid=892
>   smb_uid=100
>   smb_mid=15
>   smt_wct=16
>   smb_vwv[ 0]=    0 (0x0)
>   smb_vwv[ 1]=  164 (0xA4)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]= 4280 (0x10B8)
>   smb_vwv[ 4]=    0 (0x0)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=    0 (0x0)
>   smb_vwv[ 7]=    0 (0x0)
>   smb_vwv[ 8]=    0 (0x0)
>   smb_vwv[ 9]=    0 (0x0)
>   smb_vwv[10]=   82 (0x52)
>   smb_vwv[11]=  164 (0xA4)
>   smb_vwv[12]=   82 (0x52)
>   smb_vwv[13]=    2 (0x2)
>   smb_vwv[14]=   38 (0x26)
>   smb_vwv[15]=30421 (0x76D5)
>   smb_bcc=179
> [2008/11/02 21:08:07, 10] lib/util.c:(2223)
>   [000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
>   [010] 00 00 03 10 00 00 00 A4  00 00 00 09 00 00 00 8C  ........ ........
>   [020] 00 00 00 00 00 0F 00 00  00 02 00 0E 00 00 00 00  ........ ........
>   [030] 00 00 00 0E 00 00 00 5C  00 5C 00 31 00 33 00 30  .......\ .\.1.3.0
>   [040] 00 2E 00 33 00 37 00 2E  00 37 00 39 00 2E 00 32  ...3.7.. .7.9...2
>   [050] 00 00 00 0F 00 00 00 00  00 00 00 0F 00 00 00 4D  ........ .......M
>   [060] 00 45 00 47 00 41 00 50  00 54 00 45 00 52 00 41  .E.G.A.P .T.E.R.A
>   [070] 00 46 00 41 00 4C 00 57  00 24 00 00 00 02 00 0E  .F.A.L.W .$......
>   [080] 00 00 00 00 00 00 00 0E  00 00 00 4D 00 45 00 47  ........ ...M.E.G
>   [090] 00 41 00 50 00 54 00 45  00 52 00 41 00 46 00 41  .A.P.T.E .R.A.F.A
>   [0A0] 00 4C 00 57 00 00 00 A3  C7 F3 39 10 59 40 13 00  .L.W.... ..9.Y at ..
>   [0B0] 00 00 00                                          ...
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(236)
>   write_socket(3,250)
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(239)
>   write_socket(3,250) wrote 250
> [2008/11/02 21:08:07, 10] lib/util_sock.c:(1118)
>   got smb length of 96
> [2008/11/02 21:08:07,  5] lib/util.c:(642)
> [2008/11/02 21:08:07,  5] lib/util.c:(652)
>   size=96
>   smb_com=0x25
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=1
>   smb_pid=892
>   smb_uid=100
>   smb_mid=15
>   smt_wct=10
>   smb_vwv[ 0]=    0 (0x0)
>   smb_vwv[ 1]=   40 (0x28)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]=    0 (0x0)
>   smb_vwv[ 4]=   56 (0x38)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=   40 (0x28)
>   smb_vwv[ 7]=   56 (0x38)
>   smb_vwv[ 8]=    0 (0x0)
>   smb_vwv[ 9]=    0 (0x0)
>   smb_bcc=41
> [2008/11/02 21:08:07, 10] lib/util.c:(2223)
>   [000] 00 05 00 02 03 10 00 00  00 28 00 00 00 09 00 00  ........ .(......
>   [010] 00 10 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
>   [020] 00 00 00 00 00 22 00 00  C0                       .....".. .
> [2008/11/02 21:08:07,  5] lib/util.c:(642)
> [2008/11/02 21:08:07,  5] lib/util.c:(652)
>   size=96
>   smb_com=0x25
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=1
>   smb_pid=892
>   smb_uid=100
>   smb_mid=15
>   smt_wct=10
>   smb_vwv[ 0]=    0 (0x0)
>   smb_vwv[ 1]=   40 (0x28)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]=    0 (0x0)
>   smb_vwv[ 4]=   56 (0x38)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=   40 (0x28)
>   smb_vwv[ 7]=   56 (0x38)
>   smb_vwv[ 8]=    0 (0x0)
>   smb_vwv[ 9]=    0 (0x0)
>   smb_bcc=41
> [2008/11/02 21:08:07, 10] lib/util.c:(2223)
>   [000] 00 05 00 02 03 10 00 00  00 28 00 00 00 09 00 00  ........ .(......
>   [010] 00 10 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
>   [020] 00 00 00 00 00 22 00 00  C0                       .....".. .
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(88)
>   000000 smb_io_rpc_hdr rpc_hdr
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0000 major     : 05
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0001 minor     : 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0002 pkt_type  : 02
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0003 flags     : 03
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0004 pack_type0: 10
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0005 pack_type1: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0006 pack_type2: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0007 pack_type3: 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       0008 frag_len  : 0028
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       000a auth_len  : 0000
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(718)
>       000c call_id   : 00000009
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(88)
>   000010 smb_io_rpc_hdr_resp rpc_hdr_resp
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(718)
>       0010 alloc_hint: 00000010
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(689)
>       0014 context_id: 0000
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0016 cancel_ct : 00
> [2008/11/02 21:08:07,  5] rpc_parse/parse_prs.c:(624)
>       0017 reserved  : 00
> [2008/11/02 21:08:07, 10] rpc_client/cli_pipe.c:(576)
>   cli_pipe_validate_current_pdu: got pdu len 40, data_len 16, ss_len 0
> [2008/11/02 21:08:07, 10] rpc_client/cli_pipe.c:(842)
>   rpc_api_pipe: got PDU len of 40 at offset 0
> [2008/11/02 21:08:07, 10] rpc_client/cli_pipe.c:(893)
>   rpc_api_pipe: Remote machine 130.37.79.2 pipe \NETLOGON fnum 0x76d5
> returned 32 bytes.
>       netr_ServerAuthenticate2: struct netr_ServerAuthenticate2
>           out: struct netr_ServerAuthenticate2
>               return_credentials       : *
>                   return_credentials: struct netr_Credential
>                       data                     : 0000000000000000
>               negotiate_flags          : *
>                   negotiate_flags          : 0x00000000 (0)
>                          0: NETLOGON_NEG_ACCOUNT_LOCKOUT
>                          0: NETLOGON_NEG_PERSISTENT_SAMREPL
>                          0: NETLOGON_NEG_ARCFOUR
>                          0: NETLOGON_NEG_PROMOTION_COUNT
>                          0: NETLOGON_NEG_CHANGELOG_BDC
>                          0: NETLOGON_NEG_FULL_SYNC_REPL
>                          0: NETLOGON_NEG_MULTIPLE_SIDS
>                          0: NETLOGON_NEG_REDO
>                          0: NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL
>                          0: NETLOGON_NEG_SEND_PASSWORD_INFO_PDC
>                          0: NETLOGON_NEG_GENERIC_PASSTHROUGH
>                          0: NETLOGON_NEG_CONCURRENT_RPC
>                          0: NETLOGON_NEG_AVOID_ACCOUNT_DB_REPL
>                          0: NETLOGON_NEG_AVOID_SECURITYAUTH_DB_REPL
>                          0: NETLOGON_NEG_128BIT
>                          0: NETLOGON_NEG_TRANSITIVE_TRUSTS
>                          0: NETLOGON_NEG_DNS_DOMAIN_TRUSTS
>                          0: NETLOGON_NEG_PASSWORD_SET2
>                          0: NETLOGON_NEG_GETDOMAININFO
>                          0: NETLOGON_NEG_CROSS_FOREST_TRUSTS
>                          0: NETLOGON_NEG_NEUTRALIZE_NT4_EMULATION
>                          0: NETLOGON_NEG_RODC_PASSTHROUGH
>                          0: NETLOGON_NEG_AUTHENTICATED_RPC_LSASS
>                          0: NETLOGON_NEG_SCHANNEL
>               result                   : NT_STATUS_ACCESS_DENIED
> [2008/11/02 21:08:07,  3] libsmb/trusts_util.c:(52)
>   just_change_the_password: unable to setup creds 
> (NT_STATUS_ACCESS_DENIED)!
> [2008/11/02 21:08:07, 10] lib/dbwrap_tdb.c:(100)
>   Locking key 534543524554532F5349
> [2008/11/02 21:08:07, 10] lib/dbwrap_tdb.c:(129)
>   Allocated locked data 0x10066aaf0
> [2008/11/02 21:08:07, 10] lib/dbwrap_tdb.c:(42)
>   Unlocking key 534543524554532F5349
> [2008/11/02 21:08:07,  1] utils/net_rpc.c:(181)
>   rpc command function failed! (NT_STATUS_ACCESS_DENIED)
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(236)
>   write_socket(3,45)
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(239)
>   write_socket(3,45) wrote 45
> [2008/11/02 21:08:07, 10] lib/util_sock.c:(1118)
>   got smb length of 35
> [2008/11/02 21:08:07,  5] lib/util.c:(642)
> [2008/11/02 21:08:07,  5] lib/util.c:(652)
>   size=35
>   smb_com=0x4
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=1
>   smb_pid=892
>   smb_uid=100
>   smb_mid=16
>   smt_wct=0
>   smb_bcc=0
> [2008/11/02 21:08:07, 10] libsmb/clientgen.c:(567)
>   cli_rpc_pipe_close: closed pipe \NETLOGON to machine 130.37.79.2
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(236)
>   write_socket(3,39)
> [2008/11/02 21:08:07,  6] libsmb/clientgen.c:(239)
>   write_socket(3,39) wrote 39
> [2008/11/02 21:08:07, 10] lib/util_sock.c:(1118)
>   got smb length of 35
> [2008/11/02 21:08:07,  5] lib/util.c:(642)
> [2008/11/02 21:08:07,  5] lib/util.c:(652)
>   size=35
>   smb_com=0x71
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=1
>   smb_pid=892
>   smb_uid=100
>   smb_mid=17
>   smt_wct=0
>   smb_bcc=0
> Enter helpdesk's password:
> [2008/11/02 21:08:13,  3] libsmb/cliconnect.c:(1632)
>   Connecting to host=130.37.79.2
> [2008/11/02 21:08:13,  3] lib/util_sock.c:(1331)
>   Connecting to 130.37.79.2 at port 445
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option SO_KEEPALIVE = 0
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option SO_REUSEADDR = 0
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option SO_BROADCAST = 0
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option TCP_NODELAY = 1
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option IPTOS_LOWDELAY = 0
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option IPTOS_THROUGHPUT = 0
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option SO_SNDBUF = 49152
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(781)
>   socket option SO_RCVBUF = 49640
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(778)
>   Could not test socket option SO_SNDLOWAT.
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(778)
>   Could not test socket option SO_RCVLOWAT.
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(778)
>   Could not test socket option SO_SNDTIMEO.
> [2008/11/02 21:08:13,  5] lib/util_sock.c:(778)
>   Could not test socket option SO_RCVTIMEO.
> [2008/11/02 21:08:13,  6] libsmb/clientgen.c:(236)
>   write_socket(3,194)
> [2008/11/02 21:08:13,  6] libsmb/clientgen.c:(239)
>   write_socket(3,194) wrote 194
> [2008/11/02 21:08:13, 10] lib/util_sock.c:(1118)
>   got smb length of 127
> [2008/11/02 21:08:13,  5] lib/util.c:(642)
> [2008/11/02 21:08:13,  5] lib/util.c:(652)
>   size=127
>   smb_com=0x72
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=892
>   smb_uid=0
>   smb_mid=1
>   smt_wct=17
>   smb_vwv[ 0]=    8 (0x8)
>   smb_vwv[ 1]=12803 (0x3203)
>   smb_vwv[ 2]=  256 (0x100)
>   smb_vwv[ 3]= 1024 (0x400)
>   smb_vwv[ 4]=   65 (0x41)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=  256 (0x100)
>   smb_vwv[ 7]=32256 (0x7E00)
>   smb_vwv[ 8]=  110 (0x6E)
>   smb_vwv[ 9]=64768 (0xFD00)
>   smb_vwv[10]=33011 (0x80F3)
>   smb_vwv[11]=32896 (0x8080)
>   smb_vwv[12]=16737 (0x4161)
>   smb_vwv[13]= 9917 (0x26BD)
>   smb_vwv[14]=51517 (0xC93D)
>   smb_vwv[15]=50177 (0xC401)
>   smb_vwv[16]=  255 (0xFF)
>   smb_bcc=58
> [2008/11/02 21:08:13, 10] lib/util.c:(2223)
>   [000] 70 64 63 31 00 00 00 00  00 00 00 00 00 00 00 00  pdc1.... ........
>   [010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... ....0...
>   [020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7.....
>   [030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0.....NO NE
> [2008/11/02 21:08:13,  5] lib/util.c:(642)
> [2008/11/02 21:08:13,  5] lib/util.c:(652)
>   size=127
>   smb_com=0x72
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=892
>   smb_uid=0
>   smb_mid=1
>   smt_wct=17
>   smb_vwv[ 0]=    8 (0x8)
>   smb_vwv[ 1]=12803 (0x3203)
>   smb_vwv[ 2]=  256 (0x100)
>   smb_vwv[ 3]= 1024 (0x400)
>   smb_vwv[ 4]=   65 (0x41)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=  256 (0x100)
>   smb_vwv[ 7]=32256 (0x7E00)
>   smb_vwv[ 8]=  110 (0x6E)
>   smb_vwv[ 9]=64768 (0xFD00)
>   smb_vwv[10]=33011 (0x80F3)
>   smb_vwv[11]=32896 (0x8080)
>   smb_vwv[12]=16737 (0x4161)
>   smb_vwv[13]= 9917 (0x26BD)
>   smb_vwv[14]=51517 (0xC93D)
>   smb_vwv[15]=50177 (0xC401)
>   smb_vwv[16]=  255 (0xFF)
>   smb_bcc=58
> [2008/11/02 21:08:13, 10] lib/util.c:(2223)
>   [000] 70 64 63 31 00 00 00 00  00 00 00 00 00 00 00 00  pdc1.... ........
>   [010] 60 28 06 06 2B 06 01 05  05 02 A0 1E 30 1C A0 0E  `(..+... ....0...
>   [020] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A3 0A  0...+... ..7.....
>   [030] 30 08 A0 06 1B 04 4E 4F  4E 45                    0.....NO NE
> [2008/11/02 21:08:13,  3] libsmb/cliconnect.c:(804)
>   Doing spnego session setup (blob length=58)
> [2008/11/02 21:08:13,  3] libsmb/cliconnect.c:(831)
>   got OID=1 3 6 1 4 1 311 2 2 10
> [2008/11/02 21:08:13,  3] libsmb/cliconnect.c:(839)
>   got principal=NONE
> [2008/11/02 21:08:13,  6] libsmb/clientgen.c:(236)
>   write_socket(3,168)
> [2008/11/02 21:08:13,  6] libsmb/clientgen.c:(239)
>   write_socket(3,168) wrote 168
> [2008/11/02 21:08:13, 10] lib/util_sock.c:(1118)
>   got smb length of 254
> [2008/11/02 21:08:13,  5] lib/util.c:(642)
> [2008/11/02 21:08:13,  5] lib/util.c:(652)
>   size=254
>   smb_com=0x73
>   smb_rcls=22
>   smb_reh=0
>   smb_err=49152
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=892
>   smb_uid=100
>   smb_mid=2
>   smt_wct=4
>   smb_vwv[ 0]=  255 (0xFF)
>   smb_vwv[ 1]=    0 (0x0)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]=  167 (0xA7)
>   smb_bcc=211
> [2008/11/02 21:08:13, 10] lib/util.c:(2223)
>   [000] A1 81 A4 30 81 A1 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
>   [010] 06 01 04 01 82 37 02 02  0A A2 81 8B 04 81 88 4E  .....7.. .......N
>   [020] 54 4C 4D 53 53 50 00 02  00 00 00 06 00 06 00 30  TLMSSP.. .......0
>   [030] 00 00 00 15 82 89 60 1C  5E 71 91 3E E9 92 E3 00  ......`. ^q.>....
>   [040] 00 00 00 00 00 00 00 52  00 52 00 36 00 00 00 41  .......R .R.6...A
>   [050] 00 4C 00 57 00 02 00 06  00 41 00 4C 00 57 00 01  .L.W.... .A.L.W..
>   [060] 00 08 00 50 00 44 00 43  00 31 00 04 00 14 00 66  ...P.D.C .1.....f
>   [070] 00 61 00 6C 00 77 00 2E  00 76 00 75 00 2E 00 6E  .a.l.w.. .v.u...n
>   [080] 00 6C 00 03 00 1C 00 6E  00 73 00 31 00 2E 00 66  .l.....n .s.1...f
>   [090] 00 61 00 6C 00 77 00 2E  00 76 00 75 00 2E 00 6E  .a.l.w.. .v.u...n
>   [0A0] 00 6C 00 00 00 00 00 55  00 6E 00 69 00 78 00 00  .l.....U .n.i.x..
>   [0B0] 00 53 00 61 00 6D 00 62  00 61 00 20 00 33 00 2E  .S.a.m.b .a. .3..
>   [0C0] 00 30 00 2E 00 33 00 30  00 00 00 41 00 4C 00 57  .0...3.0 ...A.L.W
>   [0D0] 00 00 00                                          ...
> [2008/11/02 21:08:13,  5] lib/util.c:(642)
> [2008/11/02 21:08:13,  5] lib/util.c:(652)
>   size=254
>   smb_com=0x73
>   smb_rcls=22
>   smb_reh=0
>   smb_err=49152
>   smb_flg=136
>   smb_flg2=51201
>   smb_tid=0
>   smb_pid=892
>   smb_uid=100
>   smb_mid=2
>   smt_wct=4
>   smb_vwv[ 0]=  255 (0xFF)
>   smb_vwv[ 1]=    0 (0x0)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]=  167 (0xA7)
>   smb_bcc=211
> [2008/11/02 21:08:13, 10] lib/util.c:(2223)
>   [000] A1 81 A4 30 81 A1 A0 03  0A 01 01 A1 0C 06 0A 2B  ...0.... .......+
>   [010] 06 01 04 01 82 37 02 02  0A A2 81 8B 04 81 88 4E  .....7.. .......N
>   [020] 54 4C 4D 53 53 50 00 02  00 00 00 06 00 06 00 30  TLMSSP.. .......0
>   [030] 00 00 00 15 82 89 60 1C  5E 71 91 3E E9 92 E3 00  ......`. ^q.>....
>   [040] 00 00 00 00 00 00 00 52  00 52 00 36 00 00 00 41  .......R .R.6...A
>   [050] 00 4C 00 57 00 02 00 06  00 41 00 4C 00 57 00 01  .L.W.... .A.L.W..
>   [060] 00 08 00 50 00 44 00 43  00 31 00 04 00 14 00 66  ...P.D.C .1.....f
>   [070] 00 61 00 6C 00 77 00 2E  00 76 00 75 00 2E 00 6E  .a.l.w.. .v.u...n
>   [080] 00 6C 00 03 00 1C 00 6E  00 73 00 31 00 2E 00 66  .l.....n .s.1...f
>   [090] 00 61 00 6C 00 77 00 2E  00 76 00 75 00 2E 00 6E  .a.l.w.. .v.u...n
>   [0A0] 00 6C 00 00 00 00 00 55  00 6E 00 69 00 78 00 00  .l.....U .n.i.x..
>   [0B0] 00 53 00 61 00 6D 00 62  00 61 00 20 00 33 00 2E  .S.a.m.b .a. .3..
>   [0C0] 00 30 00 2E 00 33 00 30  00 00 00 41 00 4C 00 57  .0...3.0 ...A.L.W
>   [0D0] 00 00 00                                          ...
> [2008/11/02 21:08:13,  1] libsmb/ntlmssp.c:(326)
>   Failed to parse NTLMSSP packet, could not extract NTLMSSP command
> [2008/11/02 21:08:13,  2] lib/util.c:(2223)
>   [000] 4E 54 4C 4D 53 53 50 00  02 00 00 00 06 00 06 00  NTLMSSP. ........
>   [010] 30 00 00 00 15 82 89 60  1C 5E 71 91 3E E9 92 E3  0......` .^q.>...
>   [020] 00 00 00 00 00 00 00 00  52 00 52 00 36 00 00 00  ........ R.R.6...
>   [030] 41 00 4C 00 57 00 02 00  06 00 41 00 4C 00 57 00  A.L.W... ..A.L.W.
>   [040] 01 00 08 00 50 00 44 00  43 00 31 00 04 00 14 00  ....P.D. C.1.....
>   [050] 66 00 61 00 6C 00 77 00  2E 00 76 00 75 00 2E 00  f.a.l.w. ..v.u...
>   [060] 6E 00 6C 00 03 00 1C 00  6E 00 73 00 31 00 2E 00  n.l..... n.s.1...
>   [070] 66 00 61 00 6C 00 77 00  2E 00 76 00 75 00 2E 00  f.a.l.w. ..v.u...
>   [080] 6E 00 6C 00 00 00 00 00                           n.l.....
> [2008/11/02 21:08:13,  3] libsmb/cliconnect.c:(1036)
>   SPNEGO login failed: Invalid parameter
> [2008/11/02 21:08:13,  1] libsmb/cliconnect.c:(1737)
>   failed session setup with NT_STATUS_INVALID_PARAMETER
> Could not connect to server 130.37.79.2
> Connection failed: NT_STATUS_INVALID_PARAMETER
> [2008/11/02 21:08:13,  2] utils/net.c:(1172)
>   return code = 1
> 
> 
> 




More information about the samba mailing list