0610f9a Ticket #316 and Ticket #70 - add post add/mod and AD add callback hooks

Authored and Committed by rmeggins 12 years ago
    Ticket #316 and Ticket #70 - add post add/mod and AD add callback hooks
    
    https://fedorahosted.org/389/ticket/316
    https://fedorahosted.org/389/ticket/70
    Resolves: Ticket #316 and Ticket #70
    Bug Description: Add user post callback hook to winsync plugin API
    Bug Description: Winsync API should have callback functions for new entries sync to AD
    Reviewed by: nkinder (Thanks!)
    Branch: master
    Fix Description: New callbacks for all post-add and post-modify (both to
    and from AD) operations.  All post op callbacks have an int *return
    parameter.  This parameter is the ldap result code from the add/mod op.
    The plugin will be called upon op success or failure, so should use this
    parameter to find out what happened.  The plugin can also change this value
    to, for example, make a failed op pass, or to tell winsync to make a
    successful op fail (it will not roll back the op in this case though, but
    the plugin can tell winsync to stop on this op).
    There are also new callbacks for AD user/group add for ticket 70.
    Platforms tested: RHEL6 x86_64
    Flag Day: no
    Doc impact: yes - doc the new functions