Script after update operation

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

 



Radek Hladik wrote:
> Richard Megginson napsal(a):
>> Radek Hladik wrote:
>>> Hi all,
>>>     I would like to execute script after every update operation on 
>>> specified subtree. I would like to know whether is there any best 
>>> practice solution. I've found out I can write really simple 
>>> post-operation plugin but before I start to do that I would like to 
>>> know whether there is not any better solution I might be overlooking.
>>>     I need to extract the configuration for ldap non-aware 
>>> application and recreate it's config file.
>> There are two other simpler ways that might work for you.
>> 1) Use persistent search, possibly in combination with the Retro 
>> Changelog plugin.
>> 2) Enable the audit log, and just tail -f audit | your script
>>>
>>>
>>> Radek
>>>
>>> -- 
>>> Fedora-directory-users mailing list
>>> Fedora-directory-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>> ------------------------------------------------------------------------
>>
>> -- 
>> Fedora-directory-users mailing list
>> Fedora-directory-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
> Would you be so kind and point me to some more information about 
> persistent searching? I can not find anything about it in FDS 
> documentation, webpages and google returns only results about Novell 
> eDirectory server. Is it FDS or LDAP extension?
cd /opt/fedora-ds/shared/bin ; ./ldapsearch -H
The -C option does a persistent search - use especially with the -r 
option to avoid stdout buffering.
> The solution with tail looks good but what about log rotation? Or 
> would be FDS willing to log audit into named pipe?
Yes.  You should first disable audit log rotation.
> Radek
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060913/e6201ce7/attachment.bin 


[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