NWDisableFileServerLogin(3nw)


NWDisableFileServerLogin -- allows an operator to instruct the NetWare server to refuse new login requests

Synopsis

   #include <nwserver.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWDisableFileServerLogin (NWCONN_HANDLE conn);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89C6
NO_CONSOLE_PRIVILEGES

Notices

NWDisableFileServerLogin is usually made during some crucial time---before taking the server down, for instance.

It is recommended caution be used with NWDisableFileServerLogin. If, after calling NWDisableFileServerLogin, the service connection to the NetWare server is lost or destroyed, a new connection cannot be created; therefore, the user cannot log in again. If no other user on the server has SUPERVISOR privileges, the server must be brought down from the console connected to the server and rebooted before any new users (including the SUPERVISOR) can access it.

To call NWDisableFileServerLogin, you must have console operator rights.

Services

File Server Environment

NCP calls

0x2222 23 203
Disable File Server Login

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