Novell Home

(arm010) Creating DS object with long names

From Developer Community

DETAILED DESCRIPTION

When attempting to create a DS object in the tree with a Fulling Distinguished Name (FDN) that is 255 char long you may get an error code of 0xFFFFFD9E or -610 which is ERR_ILLEGAL_DS_NAME.

This happens when the server takes the FDN that you pass in and converts it to a slash name before creating the object. A slash name has the tree name appended to the front of it plus maybe some other over head.

EXAMPLE: I may create a print queue with an FDN that is 251 characters long and my tree name is HOBBES. This will give me a total char count of 257 or MAX_DN_CHARS+1 and will work. If the tree name were HOBBES1 then I would be over the 257 count and creating the queue would fail with the error mentioned above.


--devsup

© 2008 Novell, Inc. All Rights Reserved.