Re: ADAM Error: "A referral was returned..."



>From my earlier post. This is what I am trying to achieve. I just want to
load the data and then pull into MIIS.

-------------------------------------------------------
I have AD with following OUs and thousands of users under it.

1) OU=Users and Computers,DC=dc_11,DC=dc_12,DC=CO,DC=UK
2) OU=Users and Computers,DC=dc_21,DC=dc_22,DC=CO,DC=UK
3) OU=Users and Computers,DC=dc_31,DC=dc_32,DC=CO,DC=UK
4) OU=Users and Computers,DC=dc_41,DC=dc_42,DC=CO,DC=UK

Admin has exported the users from above four OUs into four different
..csv(comma delimited) files.
The attributes in the files are,
name, mail, homeMTA, proxy, mailNickName, sAMAccountName, ADSPath.

I have installed ADAM on another development machine. I have to configure
the ADAM with the same OUs as above and import all the users from the four
different .csv files under their corresponding OUs.

I am totally new to AD/ADAM and dont know anything.

Can someone please give me step by step instructions or pointer on creating
the exact OUs structure and importing the users from .csv file.
-------------------------------------------------------------

"Lee Flight" <lef@xxxxxxxxxxxxxxx> wrote in message
news:eJVP6jTcFHA.3048@xxxxxxxxxxxxxxxxxxxxxxx
> Hi
>
> could you post the full error from the output of the batch file
> and also check that the naming context
>
> DC=fabnoa,DC=fabcorp,DC=fabrikam,DC=com
>
> exists on your ADAM instance.
>
> Thanks
> Lee Flight
>
> "S P" <annonymous@xxxxxxxxxxxxx> wrote in message
> news:uA5lPLTcFHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
> > 1) ADAM Instance Name Is: instance1
> > -------------------------------------
> >
> > 2) ldif file
> > -------
> > dn: OU=COMPUTERNAME,ADDOMAIN
> > changetype: add
> > objectclass: organizationalUnit
> >
> > dn: OU=SimpleAccountProvisioning,OU=COMPUTERNAME,ADDOMAIN
> > changetype: add
> > objectclass: organizationalUnit
> >
> > dn: OU=Fabrikam,OU=SimpleAccountProvisioning,OU=COMPUTERNAME,ADDOMAIN
> > changetype: add
> > objectclass: organizationalUnit
> >
> > dn:
> >
OU=Users,OU=Fabrikam,OU=SimpleAccountProvisioning,OU=COMPUTERNAME,ADDOMAIN
> > changetype: add
> > objectclass: organizationalUnit
> >
> > dn: OU=Disabled
> > Users,OU=Fabrikam,OU=SimpleAccountProvisioning,OU=COMPUTERNAME,ADDOMAIN
> > changetype: add
> > objectclass: organizationalUnit
> > ------
> >
> > 3) Command used is:
> > ---------------------
> > set servername=%COMPUTERNAME%
> > set username=administrator
> > set domainname=fabnoa
> > set password=pwd
> > rem ====================================================================
> > set addomain=DC=fabnoa,DC=fabcorp,DC=fabrikam,DC=com
> > rem ====================================================================
> > ldifde -i -f fabrikam-ou-structure.ldif -v -k -c
> > "OU=COMPUTERNAME,ADDOMAIN"
> > "OU=%COMPUTERNAME%,%addomain%" -s %servername% -b %username%
%domainname%
> > %password%
> > ---------------------
> >
> > "Lee Flight" <lef@xxxxxxxxxxxxxxx> wrote in message
> > news:eh$th#ScFHA.3120@xxxxxxxxxxxxxxxxxxxxxxx
> >> Hi
> >>
> >> getting a referral means that the directory service could not
> >> find the naming context being referenced in the ldif file
> >> in its directory tree.
> >>
> >> Common causes are an incorrect value for the dn attribute or
> >> failing to specify the correct ADAM instance on the ldif command
> >> ( -s option). If you cannot spot the problem please post
> >>
> >> the ldifde command line and error
> >> the offending ldif file
> >>
> >> Thanks
> >> Lee Flight
> >>
> >> "S P" <annonymous@xxxxxxxxxxxxx> wrote in message
> >> news:%23yGGOdRcFHA.2664@xxxxxxxxxxxxxxxxxxxxxxx
> >> > Hi All,
> >> >
> >> > I am newbie and have installed ADAM on Windows 2003.
> >> >
> >> > I am trying to create the OUs which are specified in the .ldif file
> >> > format.
> >> >
> >> > However, while executing the command ldifde, I get the error, "A
> > referral
> >> > was returned".
> >> >
> >> > What could be wrong and when does this error is returned.
> >> >
> >> > Any pointer/help?
> >> >
> >> > TIA
> >> > S P
> >> >
> >> >
> >>
> >>
> >
> >
>
>


.



Relevant Pages