/* @(#)57	1.2  src/security/idl/rsec_pwd_prop.idl, security.src, os2dce21.dss, 960602a.1 5/15/95 09:54:37  */
/*
 *   COMPONENT_NAME: security.src
 *
 *   FUNCTIONS: none
 *
 *   ORIGINS: 72
 *
 *   OBJECT CODE ONLY SOURCE MATERIALS
 */
/*
 * @OSF_COPYRIGHT@
 * COPYRIGHT NOTICE
 * Copyright (c) 1990, 1991, 1992, 1993, 1994 Open Software Foundation, Inc.
 * ALL RIGHTS RESERVED (DCE).  See the file named COPYRIGHT.DCE for
 * the full copyright text.
 */
/*
 * HISTORY
 *
 * Adapted from rsec_pwd_mgmt.idl
 * $Log: rsec_pwd_prop.idl,v $
 * $EndLog$
 */
/*
**
** Copyright (c) Hewlett-Packard Company 1994
** Unpublished work. All Rights Reserved.
**
*/
/* Password Propagation Facility. 
 *
 * This interface supports password propagation from the pwsync server to
 * a foreign registry.
 *
 *
 */
[
    uuid(070569a0-1de3-11ce-b761-10005a8d49d4),
    pointer_default(ptr),
    version(1.0)
]

interface rsec_pwd_prop {

    import "dce/nbase.idl";
    import "dce/rgynbase.idl";
    import "dce/sec_attr_base.idl";

    /* r s e c _ p w d _ p r o p a g a t e
     *
     * Notify a foreign registry of a password change made by a user.
     * Includes time tag of change.
     *
     * Input:
     *    handle : binding handle to foreign registry
     *    princ  : principal name of the user
     *    pwd    : user's password
     *    time	 : time of password change
     *
     * Output:
     *    stp    : error status.  Anything but success means that the
     *             foreign registry would like pwsync to repeat the
     *             operation on the next retry interval.
     *
     */        
    void rsec_pwd_propagate (
        [in]                handle_t                  h,
        [in, ref]           sec_rgy_name_t            principal,
        [in, string]        char	              *passwd,
        [in]                sec_timeval_sec_t	      pwd_change_time,
        [out]               error_status_t            *stp
    );

}
