NWCloseBindery(3nw)


NWCloseBindery -- closes bindery

Synopsis

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

NWCCODE N_API NWCloseBindery (NWCONN_HANDLE conn);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89FE
BINDERY_LOCKED

0x89FF
HARDWARE_FAILURE

Notices

This function allows the SUPERVISOR to close and unlock the bindery, which can then be archived.

NWCloseBindery is not supported on NetWare 4.x since 4.x only supports bindery emulation. Direct access of the bindery is not possible on NetWare 4.x. and above.

Because the bindery files contain all the information about the NetWare server's clients, the bindery should be archived on a regular basis. However, the NetWare server keeps bindery files opened and locked at all times so that they cannot be accessed directly. Therefore, for bindery files to be archived, the bindery must be closed with NWCloseBindery.

After the bindery files have been archived, NWOpenBindery returns control of the bindery files to the NetWare server. While the bindery is closed, much of the functionality of the network is disabled.

Services

Bindery

NCP calls

0x2222 23 68
Close Bindery

References

NWOpenBindery(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.