Removing a Smart Referral

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Is there any way to do that with PHP or Python?

There probably is.
I don't know off the top of my head though.
Good luck!
-- George

Daniel Cristian Cruz wrote:
> Hummmm...
>
> Is there any way to do that with PHP or Python?
>
> Didn't found any -M option in these languages...
>
> On Ter, 2008-04-15 at 17:34 -0700, George Holbert wrote:
>   
>> 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 at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>     






[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux