Add Bindery Object To Set 0x2222 23 65

Allows a client to add a member (object) to a group property of some object.

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

Request Format

Decimal

Hex

Description

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen

word (Hi-Lo)

9

SubFunctionCode (65)

byte

10

ObjectType

word (Hi-Lo)

12

ObjectNameLen

byte

13

ObjectName

byte[ObjectNameLen]

13 + ObjectNameLen

OldPasswordLen

byte

14 + ObjectNameLen

OldPassword

byte[OldPasswordLen]

14+ObjectNameLen + OldPasswordLen

NewPasswordLen

byte

15 + ObjectNameLen + OldPasswordLen

NewPassword

byte[NewPasswordLen]

Return Values

Deminal

Hex

Description

0

0x00

Successful

150

0x96

Server Out of Memory

197

0xC5

Login Lockout

215

0xD7

Duplicate Password

232

0xE8

Write To Group

236

0xEC

No Such Set

240

0xF0

Illegal Wildcard

241

0xF1

Bindery Security

248

0xF8

No Property Write

251

0xFB

No Such Property

252

0xFC

No Such Object

254

0xFE

Directory Locked

255

0xFF

Hard Failure

Remarks

ObjectType cannot be WILD (-1), and ObjectName cannot contain wildcard characters.

NetWare 2.1 and above. The file server requires the PASSWORD property to be "file server read, file server write" (0x44). Therefore, the file server must create the property. If this request is made by a caller that is the supervisor of the object, Change Bindery Object Password directs the file server to create the PASSWORD property. When the PASSWORD property is initially created, the caller can pass a NULL string to OldPassword. Objects of any type (such as print servers, job servers, etc.) can have a PASSWORD property.

NetWare 2.0a and below. The PASSWORD property is "supervisor read, supervisor write" (0x33). However, clients can still call Change Bindery Object Password, even if they are not logged in as the object whose PASSWORD property is being changed because the client would need to know the ObjectName and the object's current password ( OldPassword) to log in as that object. Change Bindery Object Password will fail if the object does not already have a PASSWORD property. The supervisor creates the PASSWORD property at the time the object (user) is created.

Any client can call Change Bindery Object Password.

SubFuncStructLen = 6 + ObjectNameLen + OldPasswordLen + NewPasswordLen

See Also

Change User Password (old) 0x2222 23 01, Verify Bindery Object Password 0x2222 23 63