~ubuntu-branches/debian/experimental/389-ds-base/experimental

« back to all changes in this revision

Viewing changes to ldap/servers/slapd/passwd_extop.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2014-07-08 15:50:11 UTC
  • mfrom: (0.2.2)
  • Revision ID: package-import@ubuntu.com-20140708155011-r66lvtioamqwaype
Tags: 1.3.2.19-1
* New upstream release.
* admin_scripts.diff: Updated to fix more bashisms.
* watch: Update the url.
* Install failedbinds.py and logregex.py scripts.
* init: Use status from init-functions.
* control: Update my email.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
  
188
188
                slapi_pblock_get(&pb, SLAPI_PLUGIN_INTOP_RESULT, &ret);
189
189
 
190
 
                /* Retreive and duplicate the response controls since they will be
 
190
                /* Retrieve and duplicate the response controls since they will be
191
191
                 * destroyed along with the pblock used for the internal operation. */
192
192
                slapi_pblock_get(&pb, SLAPI_RESCONTROLS, &pb_resp_controls);
193
193
                if (pb_resp_controls) {
904
904
int passwd_modify_init( Slapi_PBlock *pb )
905
905
{
906
906
        char    **argv;
907
 
        char    *oid;
908
907
 
909
908
        /* Get the arguments appended to the plugin extendedop directive. The first argument 
910
909
         * (after the standard arguments for the directive) should contain the OID of the
923
922
                                 "OID is missing or is not %s\n", EXTOP_PASSWD_OID );
924
923
                return( -1 );
925
924
        } else {
926
 
                oid = slapi_ch_strdup( argv[0] );
927
925
                slapi_log_error( SLAPI_LOG_PLUGIN, "passwd_modify_init", 
928
 
                                 "Registering plug-in for Password Modify extended op %s.\n", oid );
 
926
                                 "Registering plug-in for Password Modify extended op %s.\n", argv[0] /* oid */);
929
927
        }
930
928
 
931
929
        /* Register the plug-in function as an extended operation