use pam_winbind for password change

Lin Li linl at xandros.com
Thu Aug 21 21:02:20 GMT 2003


Lin Li wrote:

> Hi,
>
> Attached is the log for the failure of changing password using 
> pam_winbind (winbindd_pam_chauthtok). Can anyone help have a look?
>
> Thanks,
> Lin
>
>------------------------------------------------------------------------
>
>[2003/08/18 11:34:26, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth(152)
>  Plain-text authentication for user NATIVE1DOMAIN+tester1 returned NT_STATUS_PASSWORD_MUST_CHANGE (PAM: 12)
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(495)
>  client_write: wrote 1300 bytes.
>[2003/08/18 11:34:26, 6] nsswitch/winbindd.c:new_connection(333)
>  accepted socket 27
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 0 bytes. Need 1312 more for a full request.
>[2003/08/18 11:34:26, 5] nsswitch/winbindd.c:winbind_client_read(455)
>  read failed on sock 29, pid 3446: EOF
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 1312 bytes. Need 0 more for a full request.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:process_request(298)
>  process_request: request fn INTERFACE_VERSION
>[2003/08/18 11:34:26, 3] nsswitch/winbindd_misc.c:winbindd_interface_version(206)
>  [ 3446]: request interface version
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(495)
>  client_write: wrote 1300 bytes.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 1312 bytes. Need 0 more for a full request.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:process_request(298)
>  process_request: request fn WINBINDD_PRIV_PIPE_DIR
>[2003/08/18 11:34:26, 3] nsswitch/winbindd_misc.c:winbindd_priv_pipe_dir(242)
>  [ 3446]: request location of privilaged pipe
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(495)
>  client_write: wrote 1300 bytes.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(540)
>  client_write: need to write 35 extra data bytes.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(495)
>  client_write: wrote 35 bytes.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(529)
>  client_write: client_write: complete response written.
>[2003/08/18 11:34:26, 6] nsswitch/winbindd.c:new_connection(333)
>  accepted socket 29
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 0 bytes. Need 1312 more for a full request.
>[2003/08/18 11:34:26, 5] nsswitch/winbindd.c:winbind_client_read(455)
>  read failed on sock 27, pid 3446: EOF
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 1312 bytes. Need 0 more for a full request.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:process_request(298)
>  process_request: request fn CHAUTHTOK
>[2003/08/18 11:34:26, 3] nsswitch/winbindd_pam.c:winbindd_pam_chauthtok(319)
>  [ 3446]: pam chauthtok NATIVE1DOMAIN+tester1
>[2003/08/18 11:34:26, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(156)
>  get_dc_name_cache entry expired for NATIVE1DOMAIN
>[2003/08/18 11:34:26, 10] nsswitch/winbindd_cm.c:cm_get_dc_name(178)
>  Creating get_dc_name_cache entry for NATIVE1DOMAIN
>[2003/08/18 11:34:26, 4] nsswitch/winbindd_cm.c:cm_ads_find_dc(112)
>  cm_ads_find_dc: domain=NATIVE1DOMAIN
>[2003/08/18 11:34:26, 5] libads/ldap.c:ads_try_connect(53)
>  ads_try_connect: trying ldap server 'NATIVE1MASTER' port 389
>[2003/08/18 11:34:26, 3] libads/ldap.c:ads_connect(267)
>  Connected to LDAP server 172.16.3.5
>[2003/08/18 11:34:26, 3] libads/ldap.c:ads_server_info(1917)
>  got ldap server name native1master at NATIVE1DOMAIN.COM, using bind path: dc=NATIVE1DOMAIN,dc=COM
>[2003/08/18 11:34:26, 4] libads/ldap.c:ads_server_info(1923)
>  time offset is -7 seconds
>[2003/08/18 11:34:26, 4] nsswitch/winbindd_cm.c:cm_ads_find_dc(130)
>  cm_ads_find_dc: using server='NATIVE1MASTER' IP=172.16.3.5
>[2003/08/18 11:34:26, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(209)
>  cm_get_dc_name: Returning DC NATIVE1MASTER (172.16.3.5) for domain NATIVE1DOMAIN
>[2003/08/18 11:34:26, 3] nsswitch/winbindd_cm.c:cm_get_ipc_userpass(242)
>  IPC$ connections done anonymously
>[2003/08/18 11:34:26, 5] nsswitch/winbindd_cm.c:cm_open_connection(365)
>  connecting to NATIVE1MASTER from LINL4 with username []\[]
>[2003/08/18 11:34:26, 10] passdb/secrets.c:secrets_named_mutex(599)
>  secrets_named_mutex: got mutex for NATIVE1MASTER
>[2003/08/18 11:34:26, 3] libsmb/cliconnect.c:cli_full_connection(1211)
>  Connecting to host=NATIVE1MASTER share=IPC$
>[2003/08/18 11:34:26, 3] lib/util_sock.c:open_socket_out(672)
>  Connecting to 172.16.3.5 at port 445
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_KEEPALIVE = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_REUSEADDR = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_BROADCAST = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option TCP_NODELAY = 1
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option IPTOS_LOWDELAY = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option IPTOS_THROUGHPUT = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_SNDBUF = 16384
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_RCVBUF = 87380
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_SNDLOWAT = 1
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_RCVLOWAT = 1
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_SNDTIMEO = 0
>[2003/08/18 11:34:26, 5] lib/util_sock.c:print_socket_options(102)
>  socket option SO_RCVTIMEO = 0
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,183)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,183) wrote 183
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 189
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=189
>  smb_com=0x72
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=0
>  smb_pid=2874
>  smb_uid=0
>  smb_mid=1
>  smt_wct=17
>  smb_vwv[ 0]=    8 (0x8)
>  smb_vwv[ 1]=12807 (0x3207)
>  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]=    0 (0x0)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=64768 (0xFD00)
>  smb_vwv[10]=  243 (0xF3)
>  smb_vwv[11]=16512 (0x4080)
>  smb_vwv[12]=57777 (0xE1B1)
>  smb_vwv[13]=40496 (0x9E30)
>  smb_vwv[14]=50021 (0xC365)
>  smb_vwv[15]=61441 (0xF001)
>  smb_vwv[16]=    0 (0x0)
>  smb_bcc=120
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 19 76 31 4A B0 B3 BD 44  BD E6 A3 D5 CF F2 93 DF  .v1J...D ........
>  [010] 60 66 06 06 2B 06 01 05  05 02 A0 5C 30 5A A0 30  `f..+... ...\0Z.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...
>  [050] A3 26 30 24 A0 22 1B 20  6E 61 74 69 76 65 31 6D  .&0$.".  native1m
>  [060] 61 73 74 65 72 24 40 4E  41 54 49 56 45 31 44 4F  aster$@N ATIVE1DO
>  [070] 4D 41 49 4E 2E 43 4F 4D                           MAIN.COM 
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=189
>  smb_com=0x72
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=0
>  smb_pid=2874
>  smb_uid=0
>  smb_mid=1
>  smt_wct=17
>  smb_vwv[ 0]=    8 (0x8)
>  smb_vwv[ 1]=12807 (0x3207)
>  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]=    0 (0x0)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=64768 (0xFD00)
>  smb_vwv[10]=  243 (0xF3)
>  smb_vwv[11]=16512 (0x4080)
>  smb_vwv[12]=57777 (0xE1B1)
>  smb_vwv[13]=40496 (0x9E30)
>  smb_vwv[14]=50021 (0xC365)
>  smb_vwv[15]=61441 (0xF001)
>  smb_vwv[16]=    0 (0x0)
>  smb_bcc=120
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 19 76 31 4A B0 B3 BD 44  BD E6 A3 D5 CF F2 93 DF  .v1J...D ........
>  [010] 60 66 06 06 2B 06 01 05  05 02 A0 5C 30 5A A0 30  `f..+... ...\0Z.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...
>  [050] A3 26 30 24 A0 22 1B 20  6E 61 74 69 76 65 31 6D  .&0$.".  native1m
>  [060] 61 73 74 65 72 24 40 4E  41 54 49 56 45 31 44 4F  aster$@N ATIVE1DO
>  [070] 4D 41 49 4E 2E 43 4F 4D                           MAIN.COM 
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,92)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,92) wrote 92
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 143
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=143
>  smb_com=0x73
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=0
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=3
>  smb_vwv[ 0]=  255 (0xFF)
>  smb_vwv[ 1]=  143 (0x8F)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_bcc=102
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 57 00 69 00 6E 00 64  00 6F 00 77 00 73 00 20  .W.i.n.d .o.w.s. 
>  [010] 00 35 00 2E 00 30 00 00  00 57 00 69 00 6E 00 64  .5...0.. .W.i.n.d
>  [020] 00 6F 00 77 00 73 00 20  00 32 00 30 00 30 00 30  .o.w.s.  .2.0.0.0
>  [030] 00 20 00 4C 00 41 00 4E  00 20 00 4D 00 61 00 6E  . .L.A.N . .M.a.n
>  [040] 00 61 00 67 00 65 00 72  00 00 00 4E 00 41 00 54  .a.g.e.r ...N.A.T
>  [050] 00 49 00 56 00 45 00 31  00 44 00 4F 00 4D 00 41  .I.V.E.1 .D.O.M.A
>  [060] 00 49 00 4E 00 00                                 .I.N.. 
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=143
>  smb_com=0x73
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=0
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=3
>  smb_vwv[ 0]=  255 (0xFF)
>  smb_vwv[ 1]=  143 (0x8F)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_bcc=102
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 57 00 69 00 6E 00 64  00 6F 00 77 00 73 00 20  .W.i.n.d .o.w.s. 
>  [010] 00 35 00 2E 00 30 00 00  00 57 00 69 00 6E 00 64  .5...0.. .W.i.n.d
>  [020] 00 6F 00 77 00 73 00 20  00 32 00 30 00 30 00 30  .o.w.s.  .2.0.0.0
>  [030] 00 20 00 4C 00 41 00 4E  00 20 00 4D 00 61 00 6E  . .L.A.N . .M.a.n
>  [040] 00 61 00 67 00 65 00 72  00 00 00 4E 00 41 00 54  .a.g.e.r ...N.A.T
>  [050] 00 49 00 56 00 45 00 31  00 44 00 4F 00 4D 00 41  .I.V.E.1 .D.O.M.A
>  [060] 00 49 00 4E 00 00                                 .I.N.. 
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,94)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,94) wrote 94
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 48
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=48
>  smb_com=0x75
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=3
>  smb_vwv[ 0]=  255 (0xFF)
>  smb_vwv[ 1]=   48 (0x30)
>  smb_vwv[ 2]=    1 (0x1)
>  smb_bcc=7
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 49 50 43 00 00 00 00                              IPC.... 
>[2003/08/18 11:34:26, 10] libsmb/clientgen.c:cli_init_creds(208)
>  cli_init_creds: user  domain  flgs: 0
>  ntlmssp_cli_flgs:0
>[2003/08/18 11:34:26, 10] passdb/secrets.c:secrets_named_mutex_release(611)
>  secrets_named_mutex: released mutex for NATIVE1MASTER
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,100)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,100) wrote 100
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 103
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=103
>  smb_com=0xa2
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=34
>  smb_vwv[ 0]=  255 (0xFF)
>  smb_vwv[ 1]=  103 (0x67)
>  smb_vwv[ 2]= 2048 (0x800)
>  smb_vwv[ 3]=  448 (0x1C0)
>  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]=    0 (0x0)
>  smb_vwv[11]=    0 (0x0)
>  smb_vwv[12]=    0 (0x0)
>  smb_vwv[13]=    0 (0x0)
>  smb_vwv[14]=    0 (0x0)
>  smb_vwv[15]=    0 (0x0)
>  smb_vwv[16]=    0 (0x0)
>  smb_vwv[17]=    0 (0x0)
>  smb_vwv[18]=    0 (0x0)
>  smb_vwv[19]=    0 (0x0)
>  smb_vwv[20]=    0 (0x0)
>  smb_vwv[21]=32768 (0x8000)
>  smb_vwv[22]=    0 (0x0)
>  smb_vwv[23]=    0 (0x0)
>  smb_vwv[24]=   16 (0x10)
>  smb_vwv[25]=    0 (0x0)
>  smb_vwv[26]=    0 (0x0)
>  smb_vwv[27]=    0 (0x0)
>  smb_vwv[28]=    0 (0x0)
>  smb_vwv[29]=    0 (0x0)
>  smb_vwv[30]=    0 (0x0)
>  smb_vwv[31]=  512 (0x200)
>  smb_vwv[32]=65280 (0xFF00)
>  smb_vwv[33]=    5 (0x5)
>  smb_bcc=0
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_pipe_bind(1207)
>  Bind RPC Pipe[c008]: \PIPE\samr
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:valid_pipe_name(1046)
>  Bind Abstract Syntax: [000] 78 57 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AC  xW4.4... ...#Eg..
>  [010] 01 00 00 00                                       .... 
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:valid_pipe_name(1049)
>  Bind Transfer Syntax: [000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
>  [010] 02 00 00 00                                       .... 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000000 smb_io_rpc_hdr hdr
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0000 major     : 05
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0001 minor     : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0002 pkt_type  : 0b
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0003 flags     : 03
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0004 pack_type0: 10
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0005 pack_type1: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0006 pack_type2: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0007 pack_type3: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0008 frag_len  : 0048
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      000a auth_len  : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      000c call_id   : 00000019
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000010 smb_io_rpc_hdr_rb 
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000010 smb_io_rpc_hdr_bba 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0010 max_tsize: 1630
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0012 max_rsize: 1630
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0014 assoc_gid: 00000000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      0018 num_elements: 00000001
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      001c context_id  : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      001e num_syntaxes: 01
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      00001f smb_io_rpc_iface 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0020 data   : 12345778
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0024 data   : 1234
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0026 data   : abcd
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8s(721)
>          0028 data   : ef 00 01 23 45 67 89 ac 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0030 version: 00000001
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000034 smb_io_rpc_iface 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0034 data   : 8a885d04
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0038 data   : 1ceb
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          003a data   : 11c9
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8s(721)
>          003c data   : 9f e8 08 00 2b 10 48 60 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0044 version: 00000002
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_api_pipe(345)
>  rpc_api_pipe: fnum:c008
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=154
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=8
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=16
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   72 (0x48)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_vwv[ 3]= 1024 (0x400)
>  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]=   72 (0x48)
>  smb_vwv[12]=   82 (0x52)
>  smb_vwv[13]=    2 (0x2)
>  smb_vwv[14]=   38 (0x26)
>  smb_vwv[15]=49160 (0xC008)
>  smb_bcc=87
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
>  [010] 00 0B 03 10 00 00 00 48  00 00 00 19 00 00 00 30  .......H .......0
>  [020] 16 30 16 00 00 00 00 01  00 00 00 00 00 01 00 78  .0...... .......x
>  [030] 57 34 12 34 12 CD AB EF  00 01 23 45 67 89 AC 01  W4.4.... ..#Eg...
>  [040] 00 00 00 04 5D 88 8A EB  1C C9 11 9F E8 08 00 2B  ....]... .......+
>  [050] 10 48 60 02 00 00 00                              .H`.... 
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,158)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,158) wrote 158
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 124
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=124
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=10
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   68 (0x44)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_vwv[ 3]=    0 (0x0)
>  smb_vwv[ 4]=   56 (0x38)
>  smb_vwv[ 5]=    0 (0x0)
>  smb_vwv[ 6]=   68 (0x44)
>  smb_vwv[ 7]=   56 (0x38)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=    0 (0x0)
>  smb_bcc=69
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 19 00 00  ........ .D......
>  [010] 00 B8 10 B8 10 2C A2 00  00 0C 00 5C 50 49 50 45  .....,.. ...\PIPE
>  [020] 5C 6C 73 61 73 73 00 40  3F 01 00 00 00 00 00 00  \lsass.@ ?.......
>  [030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
>  [040] 60 02 00 00 00                                    `.... 
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=124
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=10
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   68 (0x44)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_vwv[ 3]=    0 (0x0)
>  smb_vwv[ 4]=   56 (0x38)
>  smb_vwv[ 5]=    0 (0x0)
>  smb_vwv[ 6]=   68 (0x44)
>  smb_vwv[ 7]=   56 (0x38)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=    0 (0x0)
>  smb_bcc=69
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 19 00 00  ........ .D......
>  [010] 00 B8 10 B8 10 2C A2 00  00 0C 00 5C 50 49 50 45  .....,.. ...\PIPE
>  [020] 5C 6C 73 61 73 73 00 40  3F 01 00 00 00 00 00 00  \lsass.@ ?.......
>  [030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
>  [040] 60 02 00 00 00                                    `.... 
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_check_hdr(114)
>  rpc_check_hdr: rdata->data_size = 68
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000000 smb_io_rpc_hdr rpc_hdr   
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0000 major     : 05
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0001 minor     : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0002 pkt_type  : 0c
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0003 flags     : 03
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0004 pack_type0: 10
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0005 pack_type1: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0006 pack_type2: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0007 pack_type3: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0008 frag_len  : 0044
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      000a auth_len  : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      000c call_id   : 00000019
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_api_pipe(406)
>  rpc_api_pipe: len left: 0 smbtrans read: 68
>[2003/08/18 11:34:26, 6] rpc_client/cli_pipe.c:rpc_api_pipe(444)
>  rpc_api_pipe: fragment first and last both set
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_pipe_bind(1234)
>  rpc_pipe_bind: rpc_api_pipe returned OK.
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000010 smb_io_rpc_hdr_ba 
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000010 smb_io_rpc_hdr_bba 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0010 max_tsize: 10b8
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0012 max_rsize: 10b8
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0014 assoc_gid: 0000a22c
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000018 smb_io_rpc_addr_str 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0018 len: 000c
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8s(721)
>          001a str: \PIPE\lsass.
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000026 smb_io_rpc_results 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>          0028 num_results: 01
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          002c result     : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          002e reason     : 0000
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000030 smb_io_rpc_iface 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0030 data   : 8a885d04
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0034 data   : 1ceb
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0036 data   : 11c9
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8s(721)
>          0038 data   : 9f e8 08 00 2b 10 48 60 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0040 version: 00000002
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:check_bind_response(1079)
>  bind_rpc_pipe: server pipe_name found: \PIPE\lsass
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:check_bind_response(1099)
>  bind_rpc_pipe: accepted!
>[2003/08/18 11:34:26, 5] rpc_parse/parse_samr.c:init_samr_q_connect(6720)
>  init_samr_q_connect
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000000 samr_io_q_connect 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      0000 ptr_srv_name: 00000001
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000004 smb_io_unistr2 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0004 uni_max_len: 0000000e
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0008 undoc      : 00000000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          000c uni_str_len: 0000000e
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:dbg_rw_punival(806)
>          0010 buffer     : N.A.T.I.V.E.1.M.A.S.T.E.R...
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      002c access_mask: 02000000
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:create_rpc_request(738)
>  create_rpc_request: opnum: 0x39 data_len: 0x48
>[2003/08/18 11:34:26, 10] rpc_client/cli_pipe.c:create_rpc_request(755)
>  create_rpc_request: data_len: 48 auth_len: 0 alloc_hint: 20
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000000 smb_io_rpc_hdr hdr    
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0000 major     : 05
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0001 minor     : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0002 pkt_type  : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0003 flags     : 03
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0004 pack_type0: 10
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0005 pack_type1: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0006 pack_type2: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0007 pack_type3: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0008 frag_len  : 0048
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      000a auth_len  : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      000c call_id   : 0000001a
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000010 smb_io_rpc_hdr_req hdr_req
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      0010 alloc_hint: 00000020
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0014 context_id: 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0016 opnum     : 0039
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_api_pipe(345)
>  rpc_api_pipe: fnum:c008
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=154
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=8
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=16
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   72 (0x48)
>  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]=   72 (0x48)
>  smb_vwv[12]=   82 (0x52)
>  smb_vwv[13]=    2 (0x2)
>  smb_vwv[14]=   38 (0x26)
>  smb_vwv[15]=49160 (0xC008)
>  smb_bcc=87
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [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 48  00 00 00 1A 00 00 00 20  .......H ....... 
>  [020] 00 00 00 00 00 39 00 01  00 00 00 0E 00 00 00 00  .....9.. ........
>  [030] 00 00 00 0E 00 00 00 4E  00 41 00 54 00 49 00 56  .......N .A.T.I.V
>  [040] 00 45 00 31 00 4D 00 41  00 53 00 54 00 45 00 52  .E.1.M.A .S.T.E.R
>  [050] 00 00 00 00 00 00 02                              ....... 
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(403)
>  write_socket(27,158)
>[2003/08/18 11:34:26, 6] lib/util_sock.c:write_socket(406)
>  write_socket(27,158) wrote 158
>[2003/08/18 11:34:26, 10] lib/util_sock.c:read_smb_length_return_keepalive(459)
>  got smb length of 104
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=104
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=10
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   48 (0x30)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_vwv[ 3]=    0 (0x0)
>  smb_vwv[ 4]=   56 (0x38)
>  smb_vwv[ 5]=    0 (0x0)
>  smb_vwv[ 6]=   48 (0x30)
>  smb_vwv[ 7]=   56 (0x38)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=    0 (0x0)
>  smb_bcc=49
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 05 00 02 03 10 00 00  00 30 00 00 00 1A 00 00  ........ .0......
>  [010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
>  [020] 00 00 00 00 00 00 00 00  00 00 00 00 00 22 00 00  ........ ....."..
>  [030] C0                                                . 
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(456)
>[2003/08/18 11:34:26, 5] lib/util.c:show_msg(466)
>  size=104
>  smb_com=0x25
>  smb_rcls=0
>  smb_reh=0
>  smb_err=0
>  smb_flg=136
>  smb_flg2=51201
>  smb_tid=6146
>  smb_pid=2874
>  smb_uid=43009
>  smb_mid=1
>  smt_wct=10
>  smb_vwv[ 0]=    0 (0x0)
>  smb_vwv[ 1]=   48 (0x30)
>  smb_vwv[ 2]=    0 (0x0)
>  smb_vwv[ 3]=    0 (0x0)
>  smb_vwv[ 4]=   56 (0x38)
>  smb_vwv[ 5]=    0 (0x0)
>  smb_vwv[ 6]=   48 (0x30)
>  smb_vwv[ 7]=   56 (0x38)
>  smb_vwv[ 8]=    0 (0x0)
>  smb_vwv[ 9]=    0 (0x0)
>  smb_bcc=49
>[2003/08/18 11:34:26, 10] lib/util.c:dump_data(1879)
>  [000] 00 05 00 02 03 10 00 00  00 30 00 00 00 1A 00 00  ........ .0......
>  [010] 00 18 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
>  [020] 00 00 00 00 00 00 00 00  00 00 00 00 00 22 00 00  ........ ....."..
>  [030] C0                                                . 
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_check_hdr(114)
>  rpc_check_hdr: rdata->data_size = 48
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000000 smb_io_rpc_hdr rpc_hdr   
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0000 major     : 05
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0001 minor     : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0002 pkt_type  : 02
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0003 flags     : 03
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0004 pack_type0: 10
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0005 pack_type1: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0006 pack_type2: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0007 pack_type3: 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0008 frag_len  : 0030
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      000a auth_len  : 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      000c call_id   : 0000001a
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000010 smb_io_rpc_hdr_resp rpc_hdr_resp
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>      0010 alloc_hint: 00000018
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>      0014 context_id: 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0016 cancel_ct : 00
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8(576)
>      0017 reserved  : 00
>[2003/08/18 11:34:26, 5] rpc_client/cli_pipe.c:rpc_api_pipe(406)
>  rpc_api_pipe: len left: 0 smbtrans read: 48
>[2003/08/18 11:34:26, 6] rpc_client/cli_pipe.c:rpc_api_pipe(444)
>  rpc_api_pipe: fragment first and last both set
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_debug(81)
>  000018 samr_io_r_connect 
>[2003/08/18 11:34:26, 6] rpc_parse/parse_prs.c:prs_debug(81)
>      000018 smb_io_pol_hnd connect_pol
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          0018 data1: 00000000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint32(634)
>          001c data2: 00000000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0020 data3: 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint16(605)
>          0022 data4: 0000
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_uint8s(721)
>          0024 data5: 00 00 00 00 00 00 00 00 
>[2003/08/18 11:34:26, 5] rpc_parse/parse_prs.c:prs_ntstatus(664)
>      002c status: NT_STATUS_ACCESS_DENIED
>[2003/08/18 11:34:26, 1] nsswitch/winbindd_pam.c:winbindd_pam_chauthtok(340)
>  could not get SAM handle on DC for NATIVE1DOMAIN
>[2003/08/18 11:34:26, 2] nsswitch/winbindd_pam.c:winbindd_pam_chauthtok(364)
>  Password change for user [NATIVE1DOMAIN]\[tester1] returned NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (PAM: 4)
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:client_write(495)
>  client_write: wrote 1300 bytes.
>[2003/08/18 11:34:26, 10] nsswitch/winbindd.c:winbind_client_read(448)
>  client_read: read 0 bytes. Need 1312 more for a full request.
>[2003/08/18 11:34:26, 5] nsswitch/winbindd.c:winbind_client_read(455)
>  read failed on sock 29, pid 3446: EOF
>  
>
I find a solution to this.  winbindd_pam_chauthtok() calls 
cm_get_sam_handle() which failed. cm_get_sam_handle() calls 
get_connection_from_cache(). The returned "struct winbindd_cm_conn 
*conn" has an invalid conn->pol. But what winbindd_pam_chauthtok() need 
is conn->cli. Just let winbindd_pam_chauthtok() use that conn->cli and 
it works.

Thanks,
Lin





More information about the samba-technical mailing list