Failed to marshall NET_R_SAM_LOGON w/Win2k & PAM

Gerald Carter gcarter at valinux.com
Mon Apr 23 17:27:53 GMT 2001


Jeremy,


Here an excerpt from a failed Win2k domain logon
(usin PAM)


  deal_with_creds: 187
  cred_create
        sess_key : 0000000000000000
        stor_cred: 0000000000000000
        timestamp: 3ae04fcc
        timecred : CC4FE03A00000000
        calc_cred: CC4FE03A00000000
  cred_assert
        challenge : 92E3386C38E3759E
        calculated: CC4FE03A00000000
  credentials check wrong
  ^^^^^^^^^^^^^^^^^^^^^^^
  000000 net_io_r_sam_logon
      0000 buffer_creds: 00000000
      000004 smb_io_cred
          000004 smb_io_chal
              0004 data: 00 00 00 00 00 00 00 00
          00000c smb_io_utime
              000c time: 00000000
      0010 switch_value: 0000
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.


Note that the username sent by Win2k is fine..

                  0000b0 smb_io_unistr2 unistr2
                      00b0 uni_max_len: 00000005
                      00b4 undoc      : 00000000
                      00b8 uni_str_len: 00000005
                      00bc buffer     : S.A.M.B.A.
                  0000c6 smb_io_unistr2 unistr2
                      00c8 uni_max_len: 00000008
                      00cc undoc      : 00000000
                      00d0 uni_str_len: 00000008
                      00d4 buffer     : j.a.e.n.i.c.k.e.
                  0000e4 smb_io_unistr2 unistr2
                      00e4 uni_max_len: 00000007
                      00e8 undoc      : 00000000
                      00ec uni_str_len: 00000006
                      00f0 buffer     : E.M.P.C.1.2.





Cheers, jerry

----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list