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



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