Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


nwListObjects and 273 Error

Keywords:   nwListObjects and 273 Error

Question:

I want to extract all users of a netware NDS container.

when I debug I get always:

EXTENDER ERROR SUPPRESSED =>273 (273: NetWareX Extender: No such NDS object was found)
The Object exists, and it is the primary user container.

I use following:

users_list = nwListObjects("USERS.HQ.B4.ZUR.EU.MYCOMPANY","","User",0,"")

Answer:

What is your current context set to in the script?

Use nwGetContext() to determine this.

My best guess at this time is that because the value "USERS.HQ.B4.ZUR.EU.MYCOMPANY" is a RDN value [no leading dot "." to make it a DN value], the name of the base object is being built relative to your current context. The result of this would be an invalid object DN value.

If the base object name is supposed to be a fully qualified DN value, then put a leading dot "." on it. Doing this tells the Novell Client's NDS API functions not to append the current context onto the object name before passing the request out to NDS servers on the network.