Matt,
I might think about adding the -l switch and then designating what
attributes to bring to the .ldf file. That way there will not be a whole
bunch of attributes that ldifde will balk at importing ( as Simon
suggested ).
So, the file could look something like this:
L:\>ldifde -m -f users.ldf -s servername.domain.com -t 389 -d
"DC=domain,DC=com" -p subtree -r
"(&(objectCategory=person)(objectClass=user))" -l
"DN,objectClass,userAccountControl,sAMAccountName,displayName,givenName,sn,c
ompany,streetAddress,l,st,postalCode,c,co,
countryCode,physicalDeliveryOfficename,telephoneNumber"
There may be additional attributes that you need to include to this list and
there may be attributes that you do not need from the above. You might also
want to include the -m switch.
If you needed simply one OU or a couple of OUs then you would simply change
the -d switch to include that 'path' ( -d "OU=workers,DC=domain,DC=com" ).
As to creating the mailboxes, I find that it can be a bit more complicated
when using ldifde to do this. It is completely possible to use ldifde to do
this. However, it might be easier to simply go to the container or OU in
which you have user account objects, select them all, right click, select
Exchange Tasks and create the mailboxes in one fell swoop.
HTH,
Cary