NWChangeAuditorPassword(3nw)


NWChangeAuditorPassword -- changes the auditor's password for a specified volume

Synopsis

   #include <nwaudit.h> 
   or 
   #include <nwnet.h> 
   

NWCCODE N_API NWChangeAuditorPassword (NWCONN_HANDLE conn, nuint32 volumeNumber, nuint8 N_FAR * auditKey, nuint8 N_FAR * newPassword, nuint8 level);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

volumeNumber
(IN) Specifies the volume number on the NetWare server.

auditKey
(IN) Points to a 40-byte array.

newPassword
(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

0x8983
Auditing Hardware Error

0x8984
Auditing Not Supported

0x8997
Auditing Not Enabled

0x89D7
PASSWORD_NOT_UNIQUE

0x89D8
PASSWORD_TOO_SHORT

0x89DE
PASSWORD_HAS_EXPIRED_NO_GRACE

Notices

If NWChangeAuditorPassword fails, the original password is still valid.

Services

Auditing

NCP calls

0x2222 88 04
Change Auditor Volume Password

0x2222 88 18
Change Audit Level Two Volume Password

0x2222 88 19
Get Auditing Flags

References

NWLoginAsVolumeAuditor(3nw), NWDSChangeAuditorPassword(3nw)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.