NWVerifyObjectPassword
Verifies the password of a bindery object on the specified NetWare server
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWVerifyObjectPassword ( NWCONN_HANDLE conn, const nstr8 N_FAR *objName, nuint16 objType, const nstr8 N_FAR *password);
uses calwin32 Function NWVerifyObjectPassword (conn : NWCONN_HANDLE; const objName : pnstr8; objType : nuint16; const password : pnstr8 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
The requesting workstation does not have to be logged in to the NetWare server to call NWVerifyObjectPassword.
If the server supports encrypted passwords, the password is encrypted. If the server does not support encryption, password verification is attempted without encryption.
The objName and objType parameters must uniquely identify the bindery object and cannot contain wildcards.
A bindery object without a PASSWORD is different from a bindery object with a PASSWORD having no value. A workstation is not allowed to log in to a NetWare server as a bindery object that does not have a PASSWORD. A workstation can log in without a password if the bindery object has been given a PASSWORD containing no value.
NWLoginToFileServer (Server Management)