[Samba] Samba and MS SMS 2003

Brian May bam at snoopy.apana.org.au
Fri Jun 30 06:22:56 GMT 2006


>>>>> "Дейтер" == Дейтер Александр Валериевич <tiamat at komi.mts.ru> writes:

    >> Administrator as well as a Administrator on the local Windows
    >> computer, but it still didn't help.

    Дейтер> see samba logs with log level 5.

At a quick glance I can't see anything significant.

I did notice two things though:

1. ethereal shows a WINREG QueryValue request for CurrentVersion two
times then CSDVersion (or something like that). Samba succeeds for the
first two calls and returns "Error: File not found (pathname error)"
the last. Could this be significant?

The corresponding log file has:

[...]
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0058 ptr_buflen: 0007ea0c
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      005c buflen: 00000100
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0060 ptr_buflen2: 0007e9f8
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0064 buflen2: 00000000
[2006/06/30 16:07:57, 4] rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(162)
  Found policy hnd[0] [000] 00 00 00 00 08 00 00 00  00 00 00 00 BD BF A4 44  ........ .......D
  [010] 8F 70 00 00                                       .p.. 
[2006/06/30 16:07:57, 5] rpc_server/srv_reg_nt.c:_reg_query_value(332)
  _reg_info: looking up value: [CSDVersion]
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_debug(84)
  000000 reg_io_r_query_value 
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0000 ptr: 00000000
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0004 ptr: 00000000
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      0008 ptr: 00000000
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint32(703)
      000c ptr: 00000000
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_werror(792)
      0010 status: WERR_BADFILE
[2006/06/30 16:07:57, 5] rpc_server/srv_pipe.c:api_rpcTNP(2277)
  api_rpcTNP: called winreg successfully
[2006/06/30 16:07:57, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(526)
  free_pipe_context: destroying talloc pool of size 538
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_debug(84)
  000000 smb_io_rpc_hdr hdr
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint8(614)
      0000 major     : 05
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint8(614)
      0001 minor     : 00
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint8(614)
      0002 pkt_type  : 02
[2006/06/30 16:07:57, 5] rpc_parse/parse_prs.c:prs_uint8(614)
      0003 flags     : 03
[...]

I am not sure if the  WERR_BADFILE has any significance.

2. I noticed that Windows XP isn't one of the listed required
   operating systems for Microsoft SMS 2003. So either what I am
   trying to do is not possible :-( or the Microsoft documentation is
   wrong (very possible IMHO).
-- 
Brian May <bam at snoopy.apana.org.au>


More information about the samba mailing list