Tech Support > Operating Systems > Windows 2003 > ldifde export and import
ldifde export and import
Posted by Jason on January 5th, 2004


I am using ldifde to export and then import in my test lab. None of the
numbers match. If an OU has 224 users in production, after the export it has
214 in the test lab. This applies to several OU's.
any ideas?

--
Jason


Posted by Richard Mueller [MVP] on January 5th, 2004


Jason wrote:

Hi,

The ldifde command should have created a log file called ldif.log in the
directory where it was run. This may indicate the problem. Does the text
file created by ldifde have 224 or 214 entries? What command line did you
use? For example, is it possible you filtered on users and the 10 missing
objects are contacts? There must be something different about the missing
objects.

--
Richard
Microsoft MVP Scripting and ADSI
HilltopLab web site - http://www.rlmueller.net
--



Posted by Jason on January 6th, 2004


Here are the commands I am using. Phoenix is my DC

Export command

ldifde -f Exportuser.ldf -s Phoenix -t 3268 -d
"DC=ad,DC=mpic,DC=mb,DC=ca" -p subtree -r
"(&(objectCategory=person)(objectClass=User)(given name=*))" -l
"cn,givenName,objectclass,sAMAccountName"



Import command

Ldifde -I -f exportuser.ldf -s Phoenix -k


--
Jason
"Richard Mueller [MVP]" <rlmueller-NOSPAM@ameritech.NOSPAM.net> wrote in
message news:#NgWzx70DHA.1684@TK2MSFTNGP12.phx.gbl...



Similar Posts