P
pat
I have a Tree set up like the following
Domain=server1.myOrg.org.uk
-MyOrg
---HR
---Regions
-----NE
-----NW
-----Central
-----SE
-----SW
---Information System
---Finance
There are users underneath each OU, some of whose accounts
are disabled.
I manage to export users using the following command:
c:\winnt\system32\ldifde -f C:\ActiveDirectoryExport2
\myOrg_users.ldf -s server1" ou=myOrg
dc=server1,dc=MyOrg,dc=org,dc=uk" -p subtree -r "(&
(objectCategory=person)(objectClass=User)(givenname=*))" -
l "cn,givenName,objectclass,samAccountName,displayName,dist
inguishedName,name,distinguishedName"
My aim is to "copy" the whole tree to another Server in a
top level domain myOrg.Org.Uk. I have manually altered
the LDF file to remove DC=MyOrg, however, I still get
errors like:
1: CN=Jo Bloggs,OU=HR,OU=MyOrg,DC=MyOrg,DC=Org,DC=UK
Object does not exist, entry skipped
Presumably it is complaining that the OU MyOrg does not
exist on the second server??
How could I export the OU on its own??
Domain=server1.myOrg.org.uk
-MyOrg
---HR
---Regions
-----NE
-----NW
-----Central
-----SE
-----SW
---Information System
---Finance
There are users underneath each OU, some of whose accounts
are disabled.
I manage to export users using the following command:
c:\winnt\system32\ldifde -f C:\ActiveDirectoryExport2
\myOrg_users.ldf -s server1" ou=myOrg
dc=server1,dc=MyOrg,dc=org,dc=uk" -p subtree -r "(&
(objectCategory=person)(objectClass=User)(givenname=*))" -
l "cn,givenName,objectclass,samAccountName,displayName,dist
inguishedName,name,distinguishedName"
My aim is to "copy" the whole tree to another Server in a
top level domain myOrg.Org.Uk. I have manually altered
the LDF file to remove DC=MyOrg, however, I still get
errors like:
1: CN=Jo Bloggs,OU=HR,OU=MyOrg,DC=MyOrg,DC=Org,DC=UK
Object does not exist, entry skipped
Presumably it is complaining that the OU MyOrg does not
exist on the second server??
How could I export the OU on its own??