Scan Bindery Object 0x2222 23 55

Allows a client to scan the server's bindery to determine what objects exist.

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

Request Format

Offset

Content

Type

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen (8 + SearchNameLen)

word (Hi-Lo)

9

SubFunctionCode (55)

byte

10

LastObjectSeen

long (Hi-Lo)

14

SearchObjectType

word (Hi-Lo)

16

SearchNameLen

byte

17

SearchObjectName

byte[SearchNameLen]

Reply Format

Offset

Content

Type

Reply header

8

ObjectID

long (Hi-Lo)

12

ObjectType

word (Hi-Lo)

14

ObjectName

byte[48]

62

ObjectFlags

byte

63

ObjectSecurity

byte

64

ObjectHasProperties

byte

Return Values

Decimal

Hex

Description

0

0x00

Successful

150

0x96

Server Out of Memory

239

0xEF

Illegal Name

252

0xFC

No Such Object

254

0xFE

Directory Locked

255

0xFF

Hard Failure

Remarks

SearchObjectType can be WILD (-1) or it can be set to find only a specific type of object.

ObjectSearchName can contain wildcard characters.

LastObjectSeen should initially be set to -1L (long -1). If you want to iteratively search through the server's bindery, set LastObjectSeen to the ObjectID returned by the server with the previous request.

ObjectHasProperties will always be set because all objects have a bindery level property that is used internally.

If the object exists in the bindery and if the client has search privileges to the object, any client can call Scan Bindery Object.

SubFuncStrucLen = 6 + ObjectNameLen + PropertyNameLen

See Also

Is Bindery Object In Set 0x2222 23 67, Delete Bindery Object From Set 0x2222 23 66, Add Bindery Object To Set 0x2222 23 65, Scan Bindery Object Trustee Paths 0x2222 23 71, Create Bindery Object 0x2222 23 50, Delete Bindery Object 0x2222 23 51