NWDSChangeAuditorPassword(3nw)
NWDSChangeAuditorPassword --
changes the auditor's password for a specified container
Synopsis
#include <nwnet.h>
see also
#include <nwdsdc.h>
#include <nwaudit.h>
NWCCODE N_API NWDSChangeAuditorPassword
(NWCONN_HANDLE conn,
nuint32 containerID,
nuint8 N_FAR
key,
nuint8 N_FAR
password,
nuint8 level);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare® server connection handle.
- containerID
-
(IN) Specifies the Directory Services ID.
- key
-
(IN) Points to the address of a 40-byte array containing the audit key.
- password
-
(IN) Points to a NULL-terminated character string containing the new password.
- level
-
(IN) Specifies which password to change; for example, 2=level two password.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x8997
-
Auditing Not Enabled
- 0x8983
-
Auditing Hardware Error
- 0x8984
-
Auditing Not Supported
- 0x89D7
-
PASSWORD_NOT_UNIQUE
- 0x89D8
-
PASSWORD_TOO_SHORT
- 0x89DE
-
PASSWORD_HAS_EXPIRED_NO_GRACE
Notices
If NWDSChangeAuditorPassword fails, the original password is still
valid.
Services
Auditing (Directory Support)
NCP calls
0x2222 104 203 Directory Services Change Audit Password
0x2222 104 215 Directory Services Change Audit Level Two Password
0x2222 104 216 Get Auditing Flags
References
NWDSLoginAsContainerAuditor(3nw),
NWChangeAuditorPassword(3nw),
NWDSAuditGetObjectID(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.