[Samba] join domain error

mitrohin a.s. swp at swp.pp.ru
Tue Sep 12 08:21:03 GMT 2006


hello.

unable join w2k workstation "a325s02" in samba domain "freedom" 
with error (translated from russian) - "procedure number out of 
range". only one host a325s02 have this trouble. why?

$ ldapsearch -ZZ uid=a325s02$
...

# a325s02$, people, bspu
dn: uid=a325s02$,ou=people,o=bspu
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: sambaSamAccount
uid: a325s02$
cn: a325s02$
loginShell: /sbin/nologin
uidNumber: 50042
gidNumber: 515
homeDirectory: /nonexistent
sambaSID: S-1-5-21-1736377067-2638575246-975308661-101084
sambaPwdCanChange: 1158046057
sambaPwdMustChange: 2147483647
sambaLMPassword: 3B42A3223428A6CCAAD3B435B51404EE
sambaNTPassword: 7B4A88D24BDA6BC69D325C8829D66A3F
sambaPwdLastSet: 1158046057
sambaAcctFlags: [W          ]

...

log.a325s02

[2006/09/12 13:33:19, 0, pid=79194, effective(0, 0), real(0, 0)] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.4.2.11. Error = Connection reset by peer
[2006/09/12 13:33:20, 0, pid=79195, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_mem_get(559)
  prs_mem_get: reading data of size 2 would overrun buffer by 1 bytes.
[2006/09/12 13:33:20, 0, pid=79195, effective(1001, 0), real(1001, 0)] rpc_server/srv_samr.c:api_samr_set_userinfo(848)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2006/09/12 13:33:20, 0, pid=79195, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe.c:api_rpcTNP(2287)
  api_rpcTNP: samr: SAMR_SET_USERINFO failed.


with log level = 10 (fragment)

...
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:unmarshall_rpc_header(511)
  unmarshall_rpc_header: type = 0, flags = 3
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(963)
  write_to_pipe: data_used = 0
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(959)
  write_to_pipe: data_left = 549
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:process_incoming_data(852)
  process_incoming_data: Start: pdu_received_len = 16, pdu_needed_len = 549, incoming data = 549
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:process_complete_pdu(719)
  process_complete_pdu: processing packet type 0
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_debug(84)
  000000 smb_io_rpc_hdr_req req
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint32(704)
      0000 alloc_hint: 0000021d
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
      0004 context_id: 0000
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
      0006 opnum     : 003a
[2006/09/12 14:36:48, 3, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:free_pipe_context(529)
  free_pipe_context: destroying talloc pool of size 0
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe.c:api_pipe_request(2223)
  Requested \PIPE\samr
[2006/09/12 14:36:48, 4, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe.c:api_rpcTNP(2258)
  api_rpcTNP: samr op 0x3a - api_rpcTNP: rpc command: SAMR_SET_USERINFO
[2006/09/12 14:36:48, 6, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe.c:api_rpcTNP(2284)
  api_rpc_cmds[22].fn == 0x8184cc0
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_debug(84)
  000000 samr_io_q_set_userinfo 
[2006/09/12 14:36:48, 6, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_debug(84)
      000000 smb_io_pol_hnd pol
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint32(704)
          0000 data1: 00000000
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint32(704)
          0004 data2: 00000008
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
          0008 data3: 0000
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
          000a data4: 0000
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint8s(851)
          000c data5: 90 63 06 45 d3 3a 01 00 
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
      0014 switch_value: 0018
[2006/09/12 14:36:48, 6, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_debug(84)
      000016 samr_io_userinfo_ctr ctr
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint16(675)
          0016 switch_value: 0018
[2006/09/12 14:36:48, 7, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_debug(84)
          000018 sam_io_user_info24 
[2006/09/12 14:36:48, 5, pid=80595, effective(1001, 0), real(1001, 0)] rpc_parse/parse_prs.c:prs_uint8s(851)
              0018 password: a2 e1 f7 7a 71 cf 75 71 5f 53 b8 1d 2f 2e 8e 9e 4d 0a 4d 06 71 50 b4 22 82 16 fe 9f 1a 12 7a f1 5a 10 3d 6e 03 
  e af 5c 77 27 50 f8 f5 38 9f 84 aa ba ba 8d 71 37 72 5f 2c c7 80 f3 1e 5c a8 5a ba 17 9d 0e d3 30 74 87 c5 f2 3e 44 52 36 36 c7 28 8d 1b 5
[2006/09/12 14:36:48, 0, pid=80595, effective(1001, 0), real(1001, 0)] rc_parse/parse_prs.c:prs_mem_get(559)
  prs_mem_get: reading data of size 2 would overrun buffer by 1 bytes.
[2006/09/12 14:36:48, 0, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_samr.c:api_samr_set_userinfo(848)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2006/09/12 14:36:48, 3, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:free_pipe_context(529)
  free_pipe_context: destroying talloc pool of size 526
[2006/09/12 14:36:48, 3, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:process_complete_pdu(827)
  process_complete_pdu: DCE/RPC fault sent on pipe lsass
[2006/09/12 14:36:48, 10, pid=80595, effective(1001, 0), real(1001, 0)] rpc_server/srv_pipe_hnd.c:set_incoming_fault(382)
  set_incoming_fault: Setting fault state on pipe samr : vuid = 0x65
...


full log.a325s02 with log level = 10 here:
	http://bspu.secna.ru/~swp/samba/log.a325s02

/swp



More information about the samba mailing list