2.5.8.1.1 RAP NetUserPasswordSet2Request

The fields in the NetUserPasswordSet2Request message MUST be set as follows.<40>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RAPOpcode

ParamDesc

...

...

DataDesc

RAPParams (variable)

...

RAPOpcode (2 bytes): MUST be set to 0x0073. For more information see section 2.5.1.

ParamDesc (10 bytes): MUST be set to "zb16b16WW". For more information see section 2.5.1.

DataDesc (1 byte): MUST be set to null. For more information, see section 2.5.1.

RAPParams (variable): The RAPParams structure MUST be as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

UserName (variable)

...

OldPassword (16 bytes)

...

...

NewPassword (16 bytes)

...

...

EncryptedPassword

RealPasswordLength

UserName (variable): A null-terminated ASCII string that specifies the name of the user whose password is being changed.

OldPassword (16 bytes): A 16-byte null-terminated ASCII string padded with zeros that contains the user's current password.

NewPassword (16 bytes): A 16-byte null-terminated ASCII string padded with zeros that contains the user's new password.

EncryptedPassword (2 bytes): A 16-bit unsigned integer that specifies whether the OldPassword and NewPassword fields are encrypted. If set to 0x0000, the fields are not encrypted; if not 0, the fields are encrypted.

RealPasswordLength (2 bytes): A 16-bit unsigned integer that specifies the actual length of the NewPassword field.<41>