[Samba] Where is this rid coming from?

Don Hayward don at mote.org
Thu Dec 5 18:58:01 GMT 2002


Repeat background from previous posts:

I'm using a Debian woody based system (partially upgraded to 'testing'
in order to use tls with ldap), with samba_2.2.7 source built by
debian/rules with LDAP turned on, using gcc 3.0.4,
libldap2-tls_2.0.23-14, and libldap2_2.0.23-14.

I'm setting up PDC service -- when I try to join a windows machine
(this is XP) to the domain, I get 'specified user does not
exist' on the windows system and the join fails.
------------

The admin username/password authenticates.  The machine username
lookup succeeds and the correct rid is returned.  Then the following
lines appear in log.smbd (with -d 10):

[2002/12/05 12:42:19, 3, pid=27738] rpc_server/srv_pipe.c:api_rpcTNP(1180)
  api_rpcTNP: pipe 29607 rpc command: SAMR_OPEN_USER
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_debug(60)
  000000 samr_io_q_open_user
[2002/12/05 12:42:19, 6, pid=27738] rpc_parse/parse_prs.c:prs_debug(60)
      000000 smb_io_pol_hnd domain_pol
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint32(588)
          0000 data1: 00000000
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint32(588)
          0004 data2: 00000007
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint16(559)
          0008 data3: 0000
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint16(559)
          000a data4: 0000
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint8s(675)
          000c data5: fb 8f ef 3d 5a 6c 00 00
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint32(588)
      0014 access_mask: 00000090
[2002/12/05 12:42:19, 5, pid=27738] rpc_parse/parse_prs.c:prs_uint32(588)
      0018 user_rid : 00001e22 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[2002/12/05 12:42:19, 4, pid=27738] rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(168)
  Found policy hnd[0] [000] 00 00 00 00 07 00 00 00  00 00 00 00 FB 8F EF 3D  ........ .......=
.
.
[2002/12/05 12:42:19, 0, pid=22667] passdb/pdb_ldap.c:pdb_getsampwrid(907)
  We don't find this rid [7714] count=0

Which user belongs to this rid?  Is this coming from an smbd database
or from the windows machine?  Similar lookups returning 00001e22 occur
three or so times.

Thanks for any help.

Don Hayward			don at mote.org
Mote Marine Laboratory		Office: 941.388.4441  Cell: 941.302.4982
1600 Ken Thompson Parkway	Fax: 941.388.4312
Sarasota, FL 34236		See: http://www.mote.org
Independent, non-profit, marine and estuarine research and education facility.
For PGP public key do: http://www.mote.org/~don/donpgp.asc
use "DISCLAIMER"; # We run Debian Linux
Taxes feed the starving and clothe the naked.





More information about the samba mailing list