Authenticates, but does not license, an established connection to a NetWare server.
#include <nwnet.h> or #include <nwdsasa.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSAuthenticateConnEx ( NWDSContextHandle context, NWCONN_HANDLE connHandle);
uses netwin32 Function NWDSAuthenticateConnEx (context : NWDSContextHandle; connHandle : NWCONN_HANDLE ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Specifies the connection handle to authenticate.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSAuthenticateConnEx authenticates the connection using the identity, established by calling NWDSLogin, of the object derived from the context handle. The connection is authenticated not licensed. Such connections have access to eDirectory; to access the file system the connection must be licensed.
The context handle is used to indicate which tree (and hence which identity) to use in authenticating the connection handle. If the underlying requester does not support multiple tree authentications, the tree value of the context handle is ignored.
If the specified connection is already authenticated, the function returns SUCCESSFUL and ends the call.
To license an authenticated connection, call NWCCLicenseConn.