# Monday, 28 July 2008
I spent quite a while working with ADAM (Active Directory Application Mode) in Windows 2003 Server / XP on a previous project.  It's a great way to incorporate an LDAP directory into your application without requiring a full-blown AD installation, or domain memberships.  The Windows 2008 Server version has been renamed AD LDS (Lightweight Directory Services), which is a much better name.  LDS incorporates several improvements that make it even more attractive, including some very nice performance increases.   Bart De Smet has a very nice guide to installing LDS on 2008 Server and setting up a useful configuration.  Check it out if you've used ADAM and/or have any interested in LDAP. 

Wednesday, 27 August 2008 07:56:42 (Pacific Daylight Time, UTC-07:00)
Hi,

I have ADAM install at my Production PC and an instance created that is connected to AD (Active Directory) and synchronize periodically. I need to create the same instance at my local PC that is disconnected from the Network can unable to see the AD.

I have created a same Unique Instance name as created at production at my machine and restore ADAM instance from backup media files through following process, but after too much time the restore process is finished and i am unable to connect the ADAM instance after restoring Objects and data:

Error Message: "Active Directory could not connect to port 389 on localhost. Verify that the server name and port are correct, and try again."

Restore Process:

Restore ADAM data on an ADAM instance that belongs to a configuration set

To authoritatively restore ADAM data on an ADAM instance that belongs to a configuration set

If it is running, stop the ADAM instance for which data will be restored.
Open Backup.
The Backup or Restore Wizard starts by default, unless it is disabled. You can use this wizard, or click the Advanced Mode link to work in advanced mode.

Click the Restore and Manage Media tab.
In the details pane, select the ADAM instance that you want to restore by selecting the check box to the left of the folder that represents the ADAM instance that you want to restore.
In Restore files to, click Original location.
On the Tools menu, click Options, click the Restore tab, click Always replace the file on my computer, and then click OK.
Click Start Restore.
After the restore is complete, close Backup.
Open an ADAM tools command prompt.
At the command prompt, type:
dsdbutil

At the dsdbutil: prompt, type:
activate instance instancename

where instancename represents the service name of the ADAM instance on which you want to restore data.

At the dsdbutil: prompt, type:
authoritative restore

At the authoritative restore: prompt, type one of the commands in the following table.


Command
Meaning

restore database
Performs authoritative restore of the entire directory database

restore object dn
Performs authoritative restore of the directory object whose distinguished name is represented by dn

restore subtree dn
Performs authoritative restore of the directory subtree whose distinguished name is represented by dn




After restoring the DIT file a text file and some other LDF files created at C:\Windows\ADAM\ar_20080821-121804_objects.txt

Can anyone please guide me what i did wrong?

Eagerly Waiting for your response.

Adeel
Adeel
Comments are closed.