Re. : Re: [Samba] SPNEGO nego problem (REPOST)

stephane.purnelle at corman.be stephane.purnelle at corman.be
Mon Feb 23 10:54:15 GMT 2004





I have the problem with smbclient -L ...
This is a level 50 debug message

[2004/02/23 10:45:00, 5] lib/debug.c:debug_dump_status(359)
  INFO: Current debug levels:
    all: True/50
    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
[2004/02/23 10:45:00, 3] param/loadparm.c:lp_load(3918)
  lp_load: refreshing parameters
[2004/02/23 10:45:00, 3] param/loadparm.c:init_globals(1304)
  Initialising global parameters
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS-2LE
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS-2LE
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UTF8
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UTF8
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ASCII
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ASCII
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset 646
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset 646
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset ISO-8859-1
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset ISO-8859-1
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(95)
  Attempting to register new charset UCS2-HEX
[2004/02/23 10:45:00, 5] lib/iconv.c:smb_register_charset(103)
  Registered charset UCS2-HEX
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
[2004/02/23 10:45:00, 3] param/loadparm.c:do_section(3421)
  Processing section "[global]"
  doing parameter netbios name = ADMIN01
[2004/02/23 10:45:00, 4] param/loadparm.c:handle_netbios_name(2709)
  handle_netbios_name: set global_myname to: ADMIN01
  doing parameter workgroup = CORMAN
  doing parameter server string = Serveur administratif
  doing parameter security = user
  doing parameter passwd chat debug = yes
  doing parameter passwd chat = *new*password* %n\n *new*password* %n\n
successfully*
  doing parameter passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
  doing parameter password level = 2
  doing parameter unix password sync = no
  doing parameter admin users = @administrateurs
  doing parameter os level = 75
  doing parameter unix charset = ISO-8859-15
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
[2004/02/23 10:45:00, 5] lib/charcnv.c:charset_name(74)
  Substituting charset 'ANSI_X3.4-1968' for LOCALE
  doing parameter display charset = ISO-8859-15
  doing parameter dos charset = ISO-8859-15
  doing parameter veto files = /msblast.exe/
  doing parameter time server = Yes
  doing parameter domain master = Yes
  doing parameter domain logons = Yes
  doing parameter local master = yes
  doing parameter logon home = \\ADMIN01\%U\.profiles
  doing parameter lpq command = lpq -P %p
  doing parameter lpq cache time = 60
  doing parameter lprm command = lpr -P %p %j
  doing parameter lppause command = lp -i %p-%j -H hold
  doing parameter lpresume command = lp -i %p-%j -H resume
  doing parameter print command = lpr -r -P%p %s
  doing parameter printing = lprng
  doing parameter printer admin = @administrateurs
  doing parameter use client driver = yes
  doing parameter add user script = /usr/local/sbin/smbldap-useradd.pl -a
-m -g 221 %u
  doing parameter add machine script = /usr/local/sbin/smbldap-useradd.pl
-w %u
  doing parameter add user to group script =
/usr/local/sbin/smbldap-groupmod.pl -m %u %g
  doing parameter delete user script = /usr/local/sbin/smbldap-userdel.pl
-r %u
  doing parameter delete user from group script =
/usr/local/sbin/smbldap-groupmod.pl -x %u %g
  doing parameter lock directory = /var/lock/samba
  doing parameter pid directory = /var/run/samba
  doing parameter interfaces = 10.217.7.3, 127.0.0.1
  doing parameter socket address = 10.217.7.3
  doing parameter socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
  doing parameter deadtime = 480
  doing parameter wins server = 10.217.7.11
  doing parameter passdb backend = ldapsam:ldap://127.0.0.1
  doing parameter ldap admin dn = cn=samba,ou=system,dc=corman,dc=be
  doing parameter ldap filter = "(&(uid=%u)(objectclass=sambaSamAccount))"
  doing parameter ldap user suffix = ou=users
  doing parameter ldap group suffix = ou=groupes
  doing parameter ldap machine suffix = ou=machines
  doing parameter ldap suffix = dc=corman,dc=be
  doing parameter ldap ssl = no
  doing parameter max log size = 5000
  doing parameter log level = 10
  doing parameter log file = /var/log/samba/%m.log
  doing parameter guest account = quser
  doing parameter create mask = 0770
  doing parameter browseable = yes
  doing parameter client signing = auto
  doing parameter panic action = /rlcl/bin/panic.sh %U %m
[2004/02/23 10:45:00, 4] param/loadparm.c:lp_load(3950)
  pm_process() returned Yes
[2004/02/23 10:45:00, 7] param/loadparm.c:lp_servicenumber(4060)
  lp_servicenumber: couldn't find homes
[2004/02/23 10:45:00, 10] param/loadparm.c:set_server_role(3868)
  set_server_role: role = ROLE_DOMAIN_PDC
[2004/02/23 10:45:00, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
  ms_fnmatch(10.217.7.3,eth0) -> -1
[2004/02/23 10:45:00, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
  ms_fnmatch(10.217.7.3,lo) -> -1
[2004/02/23 10:45:00, 2] lib/interface.c:add_interface(79)
  added interface ip=10.217.7.3 bcast=10.217.7.255 nmask=255.255.252.0
[2004/02/23 10:45:00, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
  ms_fnmatch(127.0.0.1,eth0) -> -1
[2004/02/23 10:45:00, 10] lib/ms_fnmatch.c:ms_fnmatch(240)
  ms_fnmatch(127.0.0.1,lo) -> -1
[2004/02/23 10:45:00, 2] lib/interface.c:add_interface(79)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2004/02/23 10:45:00, 5] lib/util.c:init_names(270)
  Netbios name list:-
  my_netbios_names[0]="ADMIN01"
[2004/02/23 10:45:00, 3] client/client.c:main(2953)
  Client started (version 3.0.1).
[2004/02/23 10:45:00, 10] libsmb/namequery.c:internal_resolve_name(989)
  internal_resolve_name: looking up corfin01#20
[2004/02/23 10:45:00, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /var/lock/samba/gencache.tdb
[2004/02/23 10:45:00, 10] lib/gencache.c:gencache_get(264)
  Returning expired cache entry: key = NBT/CORFIN01#20, value =
10.217.7.27:0, timeout = Mon Feb 23 10:41:00 2004

[2004/02/23 10:45:00, 5] libsmb/namecache.c:namecache_fetch(195)
  no entry for corfin01#20 found.
[2004/02/23 10:45:00, 10] lib/gencache.c:gencache_del(214)
  Deleting cache entry (key = NBT/CORFIN01#20)
[2004/02/23 10:45:00, 3] libsmb/namequery.c:resolve_lmhosts(850)
  resolve_lmhosts: Attempting lmhosts lookup for name corfin01<0x20>
[2004/02/23 10:45:00, 4] libsmb/namequery.c:getlmhostsent(598)
  getlmhostsent: lmhost entry: 10.217.7.8 sarto2
[2004/02/23 10:45:00, 4] libsmb/namequery.c:getlmhostsent(598)
  getlmhostsent: lmhost entry: 10.217.7.27 corfin01
[2004/02/23 10:45:00, 10] libsmb/namequery.c:remove_duplicate_addrs2(312)
  remove_duplicate_addrs2: looking for duplicate address/port pairs
[2004/02/23 10:45:00, 5] libsmb/namecache.c:namecache_store(131)
  namecache_store: storing 1 address for corfin01#20: 10.217.7.27:0
[2004/02/23 10:45:00, 10] lib/gencache.c:gencache_set(127)
  Adding cache entry with key = NBT/CORFIN01#20; value = 10.217.7.27:0 and
timeout = Mon Feb 23 10:56:00 2004
   (660 seconds ahead)
[2004/02/23 10:45:00, 10] libsmb/namequery.c:internal_resolve_name(1099)
  internal_resolve_name: returning 1 addresses: 10.217.7.27:0
[2004/02/23 10:45:00, 3] lib/util_sock.c:open_socket_out(706)
  Connecting to 10.217.7.27 at port 445
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_KEEPALIVE = 1
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_REUSEADDR = 0
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_BROADCAST = 0
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option TCP_NODELAY = 1
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_LOWDELAY = 0
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_THROUGHPUT = 0
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDBUF = 16384
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVBUF = 16384
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDLOWAT = 1
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVLOWAT = 1
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDTIMEO = 0
[2004/02/23 10:45:00, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVTIMEO = 0
[2004/02/23 10:45:00, 4] client/client.c:do_connect(2562)
   session request ok
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(407)
  write_socket(4,183)
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(410)
  write_socket(4,183) wrote 183
[2004/02/23 10:45:00, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 85
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(466)
  size=85
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=0
  smb_mid=1
  smt_wct=17
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=65283 (0xFF03)
  smb_vwv[ 2]=  257 (0x101)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  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]=  243 (0xF3)
  smb_vwv[11]=24704 (0x6080)
  smb_vwv[12]=11807 (0x2E1F)
  smb_vwv[13]=61927 (0xF1E7)
  smb_vwv[14]=50169 (0xC3F9)
  smb_vwv[15]=50177 (0xC401)
  smb_vwv[16]=  255 (0xFF)
  smb_bcc=16
[2004/02/23 10:45:00, 10] lib/util.c:dump_data(1830)
  [000] 34 C7 44 02 6A AB 67 47  93 AC B8 1A 63 CC 56 45  4.D.j.gG ....c.VE
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(466)
  size=85
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=0
  smb_mid=1
  smt_wct=17
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=65283 (0xFF03)
  smb_vwv[ 2]=  257 (0x101)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=   65 (0x41)
  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]=  243 (0xF3)
  smb_vwv[11]=24704 (0x6080)
  smb_vwv[12]=11807 (0x2E1F)
  smb_vwv[13]=61927 (0xF1E7)
  smb_vwv[14]=50169 (0xC3F9)
  smb_vwv[15]=50177 (0xC401)
  smb_vwv[16]=  255 (0xFF)
  smb_bcc=16
[2004/02/23 10:45:00, 10] lib/util.c:dump_data(1830)
  [000] 34 C7 44 02 6A AB 67 47  93 AC B8 1A 63 CC 56 45  4.D.j.gG ....c.VE
[2004/02/23 10:45:00, 4] lib/time.c:get_serverzone(122)
  Serverzone is -3600
[2004/02/23 10:45:00, 2] libsmb/cliconnect.c:cli_session_setup_spnego(665)
  Doing spnego session setup (blob length=16)
[2004/02/23 10:45:00, 3] libsmb/cliconnect.c:cli_session_setup_spnego(669)
  server didn't supply a full spnego negprot
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(407)
  write_socket(4,164)
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(410)
  write_socket(4,164) wrote 164
[2004/02/23 10:45:00, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 436
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(466)
  size=436
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=4097
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=  436 (0x1B4)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  319 (0x13F)
  smb_bcc=393
[2004/02/23 10:45:00, 10] lib/util.c:dump_data(1830)
  [000] A1 82 01 3B 30 82 01 37  A0 03 0A 01 01 A1 0C 06  ...;0..7 ........
  [010] 0A 2B 06 01 04 01 82 37  02 02 0A A2 81 8F 04 81  .+.....7 ........
  [020] 8C 4E 54 4C 4D 53 53 50  00 02 00 00 00 0C 00 0C  .NTLMSSP ........
  [030] 00 30 00 00 00 15 02 89  60 8E D6 6A EB 10 9B 8C  .0...... `..j....
  [040] 96 00 00 00 00 00 00 00  00 50 00 50 00 3C 00 00  ........ .P.P.<..
  [050] 00 43 00 4F 00 52 00 4D  00 41 00 4E 00 02 00 0C  .C.O.R.M .A.N....
  [060] 00 43 00 4F 00 52 00 4D  00 41 00 4E 00 01 00 10  .C.O.R.M .A.N....
  [070] 00 43 00 4F 00 52 00 46  00 49 00 4E 00 30 00 31  .C.O.R.F .I.N.0.1
  [080] 00 03 00 24 00 43 00 4F  00 52 00 46 00 49 00 4E  ...$.C.O .R.F.I.N
  [090] 00 30 00 31 00 2E 00 63  00 6F 00 72 00 6D 00 61  .0.1...c .o.r.m.a
  [0A0] 00 6E 00 2E 00 62 00 65  00 00 00 00 00 A3 81 8F  .n...b.e ........
  [0B0] 04 81 8C 4E 54 4C 4D 53  53 50 00 02 00 00 00 0C  ...NTLMS SP......
  [0C0] 00 0C 00 30 00 00 00 15  02 89 60 8E D6 6A EB 10  ...0.... ..`..j..
  [0D0] 9B 8C 96 00 00 00 00 00  00 00 00 50 00 50 00 3C  ........ ...P.P.<
  [0E0] 00 00 00 43 00 4F 00 52  00 4D 00 41 00 4E 00 02  ...C.O.R .M.A.N..
  [0F0] 00 0C 00 43 00 4F 00 52  00 4D 00 41 00 4E 00 01  ...C.O.R .M.A.N..
  [100] 00 10 00 43 00 4F 00 52  00 46 00 49 00 4E 00 30  ...C.O.R .F.I.N.0
  [110] 00 31 00 03 00 24 00 43  00 4F 00 52 00 46 00 49  .1...$.C .O.R.F.I
  [120] 00 4E 00 30 00 31 00 2E  00 63 00 6F 00 72 00 6D  .N.0.1.. .c.o.r.m
  [130] 00 61 00 6E 00 2E 00 62  00 65 00 00 00 00 00 57  .a.n...b .e.....W
  [140] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
  [150] 00 2E 00 30 00 00 00 57  00 69 00 6E 00 64 00 6F  ...0...W .i.n.d.o
  [160] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0.
  [170] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
  [180] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:00, 5] lib/util.c:show_msg(466)
  size=436
  smb_com=0x73
  smb_rcls=22
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=4097
  smb_mid=2
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=  436 (0x1B4)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  319 (0x13F)
  smb_bcc=393
[2004/02/23 10:45:00, 10] lib/util.c:dump_data(1830)
  [000] A1 82 01 3B 30 82 01 37  A0 03 0A 01 01 A1 0C 06  ...;0..7 ........
  [010] 0A 2B 06 01 04 01 82 37  02 02 0A A2 81 8F 04 81  .+.....7 ........
  [020] 8C 4E 54 4C 4D 53 53 50  00 02 00 00 00 0C 00 0C  .NTLMSSP ........
  [030] 00 30 00 00 00 15 02 89  60 8E D6 6A EB 10 9B 8C  .0...... `..j....
  [040] 96 00 00 00 00 00 00 00  00 50 00 50 00 3C 00 00  ........ .P.P.<..
  [050] 00 43 00 4F 00 52 00 4D  00 41 00 4E 00 02 00 0C  .C.O.R.M .A.N....
  [060] 00 43 00 4F 00 52 00 4D  00 41 00 4E 00 01 00 10  .C.O.R.M .A.N....
  [070] 00 43 00 4F 00 52 00 46  00 49 00 4E 00 30 00 31  .C.O.R.F .I.N.0.1
  [080] 00 03 00 24 00 43 00 4F  00 52 00 46 00 49 00 4E  ...$.C.O .R.F.I.N
  [090] 00 30 00 31 00 2E 00 63  00 6F 00 72 00 6D 00 61  .0.1...c .o.r.m.a
  [0A0] 00 6E 00 2E 00 62 00 65  00 00 00 00 00 A3 81 8F  .n...b.e ........
  [0B0] 04 81 8C 4E 54 4C 4D 53  53 50 00 02 00 00 00 0C  ...NTLMS SP......
  [0C0] 00 0C 00 30 00 00 00 15  02 89 60 8E D6 6A EB 10  ...0.... ..`..j..
  [0D0] 9B 8C 96 00 00 00 00 00  00 00 00 50 00 50 00 3C  ........ ...P.P.<
  [0E0] 00 00 00 43 00 4F 00 52  00 4D 00 41 00 4E 00 02  ...C.O.R .M.A.N..
  [0F0] 00 0C 00 43 00 4F 00 52  00 4D 00 41 00 4E 00 01  ...C.O.R .M.A.N..
  [100] 00 10 00 43 00 4F 00 52  00 46 00 49 00 4E 00 30  ...C.O.R .F.I.N.0
  [110] 00 31 00 03 00 24 00 43  00 4F 00 52 00 46 00 49  .1...$.C .O.R.F.I
  [120] 00 4E 00 30 00 31 00 2E  00 63 00 6F 00 72 00 6D  .N.0.1.. .c.o.r.m
  [130] 00 61 00 6E 00 2E 00 62  00 65 00 00 00 00 00 57  .a.n...b .e.....W
  [140] 00 69 00 6E 00 64 00 6F  00 77 00 73 00 20 00 35  .i.n.d.o .w.s. .5
  [150] 00 2E 00 30 00 00 00 57  00 69 00 6E 00 64 00 6F  ...0...W .i.n.d.o
  [160] 00 77 00 73 00 20 00 32  00 30 00 30 00 30 00 20  .w.s. .2 .0.0.0.
  [170] 00 4C 00 41 00 4E 00 20  00 4D 00 61 00 6E 00 61  .L.A.N.  .M.a.n.a
  [180] 00 67 00 65 00 72 00 00  00                       .g.e.r.. .
[2004/02/23 10:45:00, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(837)
  Got challenge flags:
[2004/02/23 10:45:00, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60890215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_CHAL_TARGET_INFO
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
[2004/02/23 10:45:00, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(859)
  NTLMSSP: Set final flags:
[2004/02/23 10:45:00, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60080215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
[2004/02/23 10:45:00, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(926)
  NTLMSSP challenge set by NTLM2
[2004/02/23 10:45:00, 5] libsmb/ntlmssp.c:ntlmssp_client_challenge(927)
  challenge is:
[2004/02/23 10:45:00, 5] lib/util.c:dump_data(1830)
  [000] 42 EB CE AC 16 F4 F3 B1                           B.......
[2004/02/23 10:45:00, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(295)
  NTLMSSP Sign/Seal - Initialising with flags:
[2004/02/23 10:45:00, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60080215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(407)
  write_socket(4,260)
[2004/02/23 10:45:00, 6] lib/util_sock.c:write_socket(410)
  write_socket(4,260) wrote 260
[2004/02/23 10:45:01, 10]
lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 35
[2004/02/23 10:45:01, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:01, 5] lib/util.c:show_msg(466)
  size=35
  smb_com=0x73
  smb_rcls=217
  smb_reh=192
  smb_err=39201
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=4097
  smb_mid=3
  smt_wct=0
  smb_bcc=0
[2004/02/23 10:45:01, 5] lib/util.c:show_msg(456)
[2004/02/23 10:45:01, 5] lib/util.c:show_msg(466)
  size=35
  smb_com=0x73
  smb_rcls=217
  smb_reh=192
  smb_err=39201
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6206
  smb_uid=4097
  smb_mid=3
  smt_wct=0
  smb_bcc=0
[2004/02/23 10:45:01, 3] libsmb/cliconnect.c:cli_session_setup(809)
  SPENGO login failed: NT code 0x9921c0d9



-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


|---------+--------------------------------------------------------->
|         |           Andrew Bartlett <abartlet at samba.org>          |
|         |           Envoyé par :                                  |
|         |           samba-bounces+stephane.purnelle=corman.be at list|
|         |           s.samba.org                                   |
|         |                                                         |
|         |                                                         |
|         |           21/02/2004 22:52                              |
|         |                                                         |
|---------+--------------------------------------------------------->
  >-----------------------------------------------------------------------------------------------|
  |                                                                                               |
  |        Pour :   Stéphane Purnelle <stephane.purnelle at tiscali.be>                              |
  |        cc :     samba at lists.samba.org                                                         |
  |        Objet :  Re: [Samba] SPNEGO nego problem (REPOST)                                      |
  >-----------------------------------------------------------------------------------------------|




On Fri, 2004-02-20 at 01:38, Stéphane Purnelle wrote:
> Hi!
>
> I ask you to answer about  question on my network :
> Samba PDC 3.0.1 with ACL and LDAP (NIMDA01).
>
> We have on the network the samba server (nimda01) and some win2k server,
> all of win2k server are domain member of my Samba PDC.
> On a win2k server, we have a DCOM application that have sometimes a
> problem.
> The problem is : the server don't answer, no shared directory and no
> DCOM service are available.
> But five minutes later, all services is available.
>
> In samba.log, we can see a SPNEGO connexion problem (SMB_err = 49152).

I'm going to need *much* more detail than that.  Samba logfiles (level
10), and  ethereal snifs at the very least.

Andrew Bartlett

--
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list