NWADInitLevelTwoPassword

Enables auditor level two access on a specified volume

NetWare Server:4.1 and above
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Auditing (AUD*.*)
Service:Auditing

Syntax

   #include <nwaudit.h> 
   or 
   #include <nwnet.h> 
    
   N_EXTERN_LIBRARY NWRCODE  NWADInitLevelTwoPassword  ( 
      nptr      auditHandle,  
      pnuint8   password); 
   
   

Pascal Syntax

   uses audwin32 
    
   Function NWADInitLevelTwoPassword 
     (auditHandle : nptr; 
      Var password : nuint8 
   ) : NWRCODE; 
   
   

Parameters

auditHandle
(IN) Points to the auditHandle allocated by NWADOpen.
password
(IN) Points to a NULL-terminated character string containing the password.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8984

Auditing Not Supported

0x89DE

PASSWORD_HAS_EXPIRED_NO_GRACE

Remarks

auditHandle is initialized and set up for level two access.

NWADInitLevelTwoPassword does not modify auditing flags and does not verify the password.

Call NWADInitLevelTwoPassword to set up the Directory Service Level Two Password also.

NWADCheckLevelTwoAccess can be called to verify if the password is valid on NetWare 4.1. ( NWADCheckLevelTwoAccess is not supported on NetWare 4.11.)

See Also

NWADLogin, NWADCheckLevelTwoAccess