Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup and Restore Username, password, properties

Status
Not open for further replies.

atanoli

Technical User
Joined
Oct 28, 1999
Messages
156
Location
PK
I would like to move users from one server to the other server. I would like to keep all properties i.e. Passwords, Password Never Expire, user group each and every settings and so on. I tried following command:

MY server=MARVI
dc=TANOLI.ABC.CO

ldifde -f Exportuser.ldf -s MARVI -d "dc=TANOLI,dc=ABC,dc=CO" -p subtree -r "(&(objectCategory=person)(objectClass=User)(givenname=*))" -l "cn,givenName,objectclass,samAccountName"

And i restored with following command at another server

ldifde -i -f Exportuser.ldf -s MARVI
It worked but not as much as I was needed. It could't restore passwords, maping path, etc. etc., it can just pick up user names and some minor settings.

Does any body know the exact method to pick up and restore all the informations of a user?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top