NWEnableFileServerLogin

Allows an operator to instruct the server to begin accepting new login requests from clients.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwserver.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWEnableFileServerLogin  ( 
     NWCONN_HANDLE   conn); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWEnableFileServerLogin 
    (conn : NWCONN_HANDLE 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.

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

0x89C6

NO_CONSOLE_PRIVILEGES

Remarks

Enabling the server’s log state also unlocks the SUPERVISOR’s account if it has been locked because of intruder detection.

To call NWEnableFileServerLogin, you must have console operator rights.

If the calling station does not have operator privileges, NO_CONSOLE_PRIVILEGES is returned, and the NetWare server’s log state remains unchanged.

NCP Calls

See Also

NWDisableFileServerLogin