ldifde

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm in dire need of assistance. In our company 2 of our domains( which are both win 2k domains) are being absorbed the companies larger domain which is also a win 2k domain. The 2 domains to be absorbed are in their own forest and don't and will not have a trust relationship with the domain absorbing them. In one of the domains to be absorbed, at the command line I ran the ldifde utility to export the users to a file . It created the exportuser.ldf successfully. When I tried to import the users from the exportuser.ldf file into the domain was absorbing the other domain I received an add error on line 1: Referral " A referral was returned from the server," 0 entries modified successfully. An error has occured in the program. We have approximately 2000 users to move into the new domain and it would be difficult to type them anew. Could someone help me get the import function to work correctly? Any help will be greatly appreciated. Thanks in advance, Vicky279
 
Check the DNs of the objects you are trying to add. Do they reference the
old domain instead of the domain you are intending to import them into? A
referral is usually issued when you are trying to perform an operation on an
object for a naming context that server doesn't host. Since it doesn't host
the object it refers you to a server that does. For example, if I try and
add the object cn=jasonrob,dc=windows,dc=microsoft,dc=com on a DC that only
hosts the Configuration, Schema, and dc=microsoft,dc=com namespace the DC
will issue a referral to a DC that hosts the dc=windows,dc=microsoft,dc=com
namespace. ldifde has a -c command line argument that will replace parts of
DNs for you if you know what the value should be for the new domain.

Jason
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


Vicky279 said:
I'm in dire need of assistance. In our company 2 of our domains( which are
both win 2k domains) are being absorbed the companies larger domain which is
also a win 2k domain. The 2 domains to be absorbed are in their own forest
and don't and will not have a trust relationship with the domain absorbing
them. In one of the domains to be absorbed, at the command line I ran the
ldifde utility to export the users to a file . It created the exportuser.ldf
successfully. When I tried to import the users from the exportuser.ldf file
into the domain was absorbing the other domain I received an add error on
line 1: Referral " A referral was returned from the server," 0 entries
modified successfully. An error has occured in the program. We have
approximately 2000 users to move into the new domain and it would be
difficult to type them anew. Could someone help me get the import function
to work correctly? Any help will be greatly appreciated. Thanks in advance,
Vicky279
 
And, as I recently learned in this very newsgroup, you can use the -m switch
to filter out the user attributes that ldifde can export but cannot import.
 
Vicky,

If you used the example command line entry that I supplied in my original
post you would not have any problems. The only thing that you would need to
change would be the "DC=olddomain,DC=com" part of each user's DN to
"DC=newdomain,DC=com" - which you can do in a really quick second with
NotePad.

So long as you use the -m switch like I originally suggested you should be
fine. That apparently is not the case, however.

Can you show us an example of your .ldf file that you are trying to import
into the new domain? I have done this several times where a restore from
backup is simply not a good choice ( for various reasons ) and have never
had a problem with this.

Cary


Vicky279 said:
I'm in dire need of assistance. In our company 2 of our domains( which are
both win 2k domains) are being absorbed the companies larger domain which is
also a win 2k domain. The 2 domains to be absorbed are in their own forest
and don't and will not have a trust relationship with the domain absorbing
them. In one of the domains to be absorbed, at the command line I ran the
ldifde utility to export the users to a file . It created the exportuser.ldf
successfully. When I tried to import the users from the exportuser.ldf file
into the domain was absorbing the other domain I received an add error on
line 1: Referral " A referral was returned from the server," 0 entries
modified successfully. An error has occured in the program. We have
approximately 2000 users to move into the new domain and it would be
difficult to type them anew. Could someone help me get the import function
to work correctly? Any help will be greatly appreciated. Thanks in advance,
Vicky279
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top