[Samba] Samba PDC - Adding machine to domain

Gabriel Maffia gmaffia at technisys.net
Thu May 29 16:39:39 GMT 2003


Hi:

I am using Samba 2.2.8 with LDAP integration in PDC mode. I succeeded in
adding a machine to my domain, but when I try to log in to the domain I get
the following error:

"The system cannot log you on to this domain because the system's computer
account in its primary domain is missing or the password on that account is
incorrect".

I've addded the machine by hand (not with an adduser script) so maybe I am
missing some attribute, or setting the password wrong (I am using a random
password made with mkntpwd -N randompwd, as I know there is no need for a
LANMAN passowrd in a computer account). I have the guest and root accts in
the LDAP directory, and root is in the Domain Administrators group.

Here is a snip of the log (where i think the operation fails to complete)

--------------snip---------------
[2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000060 smb_io_chal
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint8s(675)
          0060 data: 75 5f 7d b4 35 7b 4a b6
[2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000068 net_io_neg_flags
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint32(588)
          0068 neg_flags: 6007bfff
[2003/05/29 13:26:15, 4] libsmb/credentials.c:cred_create(91)
  cred_create
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(93)
        sess_key : 06D02A5E097618A1
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(94)
        stor_cred: 95279C21F48DB297
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(95)
        timestamp: 0
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(96)
        timecred : 95279C21F48DB297
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_create(97)
        calc_cred: 69763B2607E027C1
[2003/05/29 13:26:15, 4] libsmb/credentials.c:cred_assert(122)
  cred_assert
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(124)
        challenge : 755F7DB4357B4AB6
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(125)
        calculated: 69763B2607E027C1
[2003/05/29 13:26:15, 5] libsmb/credentials.c:cred_assert(134)
  credentials check wrong
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_debug(60)
  000000 net_io_r_auth_2
[2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000000 smb_io_chal
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint8s(675)
          0000 data: 40 c7 1f 40 00 00 00 00
[2003/05/29 13:26:15, 6] rpc_parse/parse_prs.c:prs_debug(60)
      000008 net_io_neg_flags
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_uint32(588)
          0008 neg_flags: 000001ff
[2003/05/29 13:26:15, 5] rpc_parse/parse_prs.c:prs_ntstatus(617)
      000c status: NT_STATUS_ACCESS_DENIED
--------------snip---------------

Thanks a lot in advance.

Gabriel.




More information about the samba mailing list