Koozali.org: home of the SME Server

DAR2 i-bay restore - cannot login

Offline eastend99

  • ***
  • 48
  • +0/-0
DAR2 i-bay restore - cannot login
« on: October 02, 2008, 09:29:50 PM »
Hello,

I restored a daily backup that contained only data from one ibay.
I accidentally enabled the dr_restore (disaster recovery option). The backup file I restored did not contain system files and databases, only data from one specific ibay.

It is not possible to login workstations. No logins are accepted any more.
The server is 7.3 up-to-date. Shell is accessible as well as the server manager. The database looks okay through the server manager panel (groups, ibays, users, workgroup panel).

The messages log:
Quote
smbd[5899]:   get_md4pw: Workstation *****$: no account in domain
Oct  2 21:32:35 smesrv-01 smbd[5899]: [2008/10/02 21:32:35, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461)
Oct  2 21:32:35 smesrv-01 smbd[5899]:   _net_auth2: failed to get machine password for account *****$: NT_STATUS_ACCESS_DENIED
Oct  2 21:32:35 smesrv-01 smbd[5899]: [2008/10/02 21:32:35, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
Oct  2 21:32:35 smesrv-01 smbd[5899]:   get_md4pw: Workstation *****$: no account in domain
Oct  2 21:32:35 smesrv-01 smbd[5899]: [2008/10/02 21:32:35, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461)
Oct  2 21:32:35 smesrv-01 smbd[5899]:   _net_auth2: failed to get machine password for account *****$: NT_STATUS_ACCESS_DENIED

Before I start restoring from last weeks backup I would like try to repair this issue.
Anyone ideas how to find out whats wrong and/or restore the original situation?

Marcel



« Last Edit: October 02, 2008, 09:54:45 PM by eastend99 »

Offline eastend99

  • ***
  • 48
  • +0/-0
Re: DAR2 i-bay restore - cannot login - SOLVED
« Reply #1 on: October 02, 2008, 11:24:03 PM »
If found the solution for the issue myself.
Made a full backup (just to be safe)
Did a full restore without the /home/e-smith folder (because this would overwrite already modified user data) and with Disaster Recovery enabled.
This is the folder list:
Quote
etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/group
etc/gshadow
etc/passwd
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/shadow
etc/smbpasswd
etc/ssh
etc/sudoers

I don't know what files are needed exactly, but after a reconfigure the system was restored.

Is this a bug in the backup script?
When DR has been enabled for a backup that does not include the (samba) config files, the restore removes the current (samba) config.

Marcel