This function resolves common dsconfig arguments This function modifies a password policy using dsconfig Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Property to modify, e.g. enabled Attribute to modify, e.g. minimum-password-length New attribute value Expected return code value. Default value is 0 '%s %s' % (STAFCmd, STAFCmdParams) '%s' % location '%s' % STAFCmd '%s' % STAFCmdParams '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] { 'returncode' : STAXCode , 'result' : STAXReason , 'expected' : expectedRC } STAXReason This function modifies a global attribute value using dsconfig Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Attribute to modify, e.g. bind-with-dn-requires-password New attribute value Expected return code value. Default value is 0 '%s %s' % (STAFCmd, STAFCmdParams) '%s' % location '%s' % STAFCmd '%s' % STAFCmdParams '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] { 'returncode' : STAXCode , 'result' : STAXReason , 'expected' : expectedRC } STAXReason This function modifies an identity mapper using dsconfig Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Mapper to modify, e.g. Exact Match Attribute to modify, e.g. match-attribute New attribute value Expected return code value. Default value is 0 '%s %s' % (STAFCmd, STAFCmdParams) '%s' % location '%s' % STAFCmd '%s' % STAFCmdParams '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] { 'returncode' : STAXCode , 'result' : STAXReason , 'expected' : expectedRC } STAXReason This function modifies a property value using dsconfig Location of target host Pathname to installation root Directory server hostname or IP address Directory server port number Bind DN Bind password Object to modify, e.g. password validator Property type to modify, e.g. validator Property to modify, e.g. enabled Attribute to modify, e.g. minimum-password-length New attribute value Expected return code value. Default value is 0 '%s %s' % (STAFCmd, STAFCmdParams) '%s' % location '%s' % STAFCmd '%s' % STAFCmdParams '%s' % dsBinPath ['PATH=/bin:/usr/bin:%s' % dsBinPath, 'JAVA_HOME=%s' % JAVA_HOME] { 'returncode' : STAXCode , 'result' : STAXReason , 'expected' : expectedRC } STAXReason