[Samba] RE: vampire account migration (3.026)

James D. Parra Jamesp at MusicReports.com
Wed Nov 26 21:53:57 GMT 2008



Hello,

Using vampire to migrate accounts from an NT box and found that machine
names were not created.

Creating account: IT-NT$
Could not create posix account info for 'IT-NT$'
Creating account: PDC$
Could not create posix account info for 'PDC$'
<snip>

And seemingly random user accounts were also not created.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hello,

Solved the problem for the missing user accounts, however I am still not
sure why the machine names didn't migrate over.

Now trying to connect a Linux workstation to authenticate against the
domain, smb & nmb are running, but I am not able to join the domain

[2008/11/26 09:26:58, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461)
  _net_auth2: failed to get machine password for account SQL-TEST2$:
NT_STATUS_ACCESS_DENIED
[2008/11/26 09:27:25, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
  get_md4pw: Workstation SQL-TEST2$: no account in domain
[2008/11/26 09:27:25, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461)
  _net_auth2: failed to get machine password for account SQL-TEST2$:
NT_STATUS_ACCESS_DENIED
[2008/11/26 09:27:25, 1] auth/auth_util.c:make_server_info_sam(566)
  User Administrator in passdb, but getpwnam() fails!
[2008/11/26 09:27:25, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
[2008/11/26 09:28:01, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
  get_md4pw: Workstation SQL-TEST2$: no account in domain
[2008/11/26 09:28:01, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461)
  _net_auth2: failed to get machine password for account SQL-TEST2$:
NT_STATUS_ACCESS_DENIED
[2008/11/26 09:28:01, 1] auth/auth_util.c:make_server_info_sam(566)
  User Administrator in passdb, but getpwnam() fails!
[2008/11/26 09:28:01, 0] auth/auth_sam.c:check_sam_security(352)
  check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
<snip>

The logs show that although the Administrator account exists, the 'getpwnam'
fails. Using tbdsam on the backend.

Any clues on how I ca nfix this?

Thank you,

James


More information about the samba mailing list