Previous Topic: SmCPW - Load Test Password ChangesNext Topic: SmPortalVfy - Verify SmPortal Configuration


APSForcePWChg - Set Force Password Change Flag

The APSForcePWChg utility allows the setting of the smapsImmediateChange attribute in an LDAP directory for specified users.

This program accepts one or more LDAP Distinguished Names (DN's) and sets the flag for each supplied DN. The program was designed to accept either one DN per line or a standard LDIF file.

Technically, this utility is no longer needed, since the APS Blob no longer exists. However, it is useful for bulk loaders and many sites have tied in user maintenance utilities to set the flag. It is, then, provided for backwards compatibility.

The command line arguments for this utility are as follows. Command line switches are case-sensitive. The space between the command line switch and its argument is optional.

-v

Verbose mode. Additional messages will be output to the console (and can be captured using output redirection).

-n

Produce the report, but don't actually perform any updates.

-a <attr>

Blob attribute for APS ("audio" assumed). No longer used.

-h <host>

The LDAP server name or IP address. The default is 127.0.0.1, which indicates the current machine.

-p CA Portal

The LDAP server TCP port number. The default is 389, the default LDAP port.

-D <binddn>

The Administrator DN to use to log into the LDAP directory. It defaults to cn=Directory Manager.

-w <password>

The password associated with the binddn. There is no default. This value can be supplied in encrypted form, as supplied by APSEncrypt.

-H

Display usage information (help text)

-c

Continuous mode (do not stop on errors)

-f <file>

Read modifications from the specified file instead of standard input

-e <rejectfile>

Save rejected entries in rejectfile

Note the following: