Change User Password (old) 0x2222 23 01

Changes a user's password but does not change the password of any other object type.

NetWare Server:2.x, 3.x, 4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen

word (Hi-Lo)

9

SubFunctionCode (1)

byte

10

UserNameLen

byte

11

UserName

byte[UserNameLen]

11 + UserNameLen

OldPropertyLen

byte

12 + UserNameLen

OldPassword

byte[OldPasswordLen]

12 + UserNameLen + OldPasswordLen

NewPasswordLen

byte

13 + UserNameLen + OldPasswordLen

NewPassword

byte[NewPasswordLen]

Return Values

Decimal

Hex

Description

0

0x00

Successful

150

0x96

Server Out of Memory

214

0xD6

Unencrypted Passwords Not Allowed

240

0xF0

Illegal Wildcard

241

0xF1

Bindery Security

245

0xF5

No Object Create

252

0xFC

No Such Object

254

0xFE

Directory Locked

255

0xFF

Hard Failure

Remarks

Change User Password (old) is a request from the earliest version of NetWare. It works the same as Change Bindery Object Password (0x2222 23 64), except that it assumes an object of type USER.

SubFuncStrucLen = 4 + UserNameLen + OldPasswordLen + NewPasswordLen

See Also

Change Bindery Object Password 0x2222 23 64