NWDisallowObjectPassword(3nw)


NWDisallowObjectPassword -- prevents use of password by object

Synopsis

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

NWCCODE NWAPI NWDisallowObjectPassword (NWCONN_HANDLE conn, pnstr8 *objName, nuint16 objType, pnstr8 *disallowedPassword);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

objName
(IN) Points to the name of the object whose password is being disallowed.

objType
(IN) Specifies the type of the object whose password is being disallowed.

disallowedPassword
(IN) Points to the password that is being disallowed.

Return values

0x0000
SUCCESSFUL

0x00FF
BINDERY_FAILURE

0x8801
INVALID_CONNECTION

0x89F0
WILD_CARD_NOT_ALLOWED

0x89FB
INVALID_PARAMETERS

0x89FC
NO_SUCH_OBJECT

0x89FF
HARDWARE_FAILURE

Notices

NWDisallowObjectPassword adds an encrypted password to the list of old passwords maintained in the OLD_PASSWORDS property. If the OLD_PASSWORDS property does not exist, then this routine will check UNIQUE_PASSWORDS of the restriction flags in the LOGIN_CONTROL property. If the UNIQUE_PASSWORDS is set then the OLD_PASSWORDS property will be created, otherwise a BINDERY_FAILURE error code will be returned. The object name and type must be specific, no wild cards are allowed.

Services

Bindery

NCP calls

None

References

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