Active Dirctory 2008r2 user account was deleted by accident but Exchange 2007 information store still exists. Is there a way to rebuild and reassociated account to email
We have a Windows 2008r2 domain and use Exchange 2007. A user account was accidently deleted but no one has touched the Exchange server yet. I see an entry for the account on exchange but with no AD account associated with it, I just get errors if I click it on. I already spoke with our backup provider and apparently there is no way to restore a single AD account. Is there a way to rebuild a new AD account and associate it with the email store that exists from the old AD account?? Or any other way out of this?
I am going with option 1 and trying to recover using LDP. I keep getting the following error and DELETED OBJECTS is empty. Am I doing something obviously wrong??
= ldap_set_option(ld, LDAP_OPT_ENCRYPT, 1)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3
{NtAuthIdentity: User='NULL'; Pwd=<unavailable>; domain = 'NULL'}
Authenticated as: 'xxx\jxxk'.
-----------
Expanding base 'CN=Deleted Objects'...
ldap_get_next_page_s failed: 1
Server error: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0
Error 0x20D6 No superior reference has been configured for the directory service. The directory service is therefore unable to issue referrals to objects outside this forest.
Result <1>: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0
Getting 0 entries:
-----------
Thor2923
ASKER
something is definitely not right. I created and deleted an object just to see if I Could get it to display with LDP and no luck. Any ideas? I am a domain admin, BTW
Thor2923
ASKER
I had to use a combo of both solutions. Once I brought back the AD account it had to reconnect it with the exchange account
= ldap_set_option(ld, LDAP_OPT_ENCRYPT, 1)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3
{NtAuthIdentity: User='NULL'; Pwd=<unavailable>; domain = 'NULL'}
Authenticated as: 'xxx\jxxk'.
-----------
Expanding base 'CN=Deleted Objects'...
ldap_get_next_page_s failed: 1
Server error: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0
Error 0x20D6 No superior reference has been configured for the directory service. The directory service is therefore unable to issue referrals to objects outside this forest.
Result <1>: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0
Getting 0 entries:
-----------