NWDSGetBinderyContext(3nw)
NWDSGetBinderyContext --
returns bindery context setting for server
Synopsis
#include <nwnet.h>
or
#include <nwdsmisc.h>
NWDSCCODE N_API NWDSGetBinderyContext
(NWDSContextHandle context,
NWCONN_HANDLE conn,
pnstr8 BinderyEmulationContext);
Description
The parameters are as follows:
- context
-
(IN) Specifies the Directory context for the request.
- conn
-
(IN) Specifies the NetWare server connection handle.
- binderyEmulationContext
-
(OUT) Points to a Bindery context string.
Return values
- 0x0000
-
SUCCESSFUL
- Negative Value
-
Negative values indicate errors. For errors returned by Directory Services,
see ``Directory Services OS Errors'' (-001 to -255), ``Directory Services
Client Library Errors'' (-301 to -399), or ``Directory Services Agent in the
Server Errors'' (-601 to -699).
- 0x89FE
-
BAD_PACKET
Notices
conn is the connection handle to the server you are interested in.
binderyEmulationContext must have sufficient space allocated to receive the value.
Bindery connections to NetWare 4.x servers are communicating with the server in Bindery mode. The Bindery context specifies a location in the Directory where a Bindery connection
is allowed to see objects in the Directory. A Bindery connection can see objects only at the level of the tree defined by the server's Bindery context.
Bindery context is set on NetWare 4.x servers by using the
SET BINDERY CONTEXT command at the server console.
Services
Directory
NCP calls
- 0x2222 104 04
-
Return Bindery Context
References
NWDSAuditGetObjectID(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.