With a Fedora/Mozilla-based ldapsearch, you can get the DN of your referral objects like:

ldapsearch -h <host> -M -R -b "ou=Unit 2,o=My Org" "objectclass=referral"

Once you have the DN of the referral, you can remove it just like you would any 
other entry.
Example LDIF:

dn: <ref RDN>,ou=Unit 2,o=My Org
changeType: delete
-


-- George



Daniel Cristian Cruz wrote:
Hi All,

        Is there any way to remove a smart referral?

        We had some users which are in a replicated tree, and we need to use it
on our own tree. I can't find any way to remove the reference, without
removing the user in the replicated tree.

        Example:

o=My Org
  ou=Unit 1
    uid=Replicated Account (consumer suffix)
  ou=Unit 2
    uid=My Account
    uid=Replicated Account (Smart Referral to "uid=Replicated Account,ou=Unit 1,o=My 
Org")

Any help?



--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to