Dave Bank
2006-02-09 19:15:11 UTC
I'm in a NetWare v6.5 environment and I'm trying to write a Perl program
to make some minor changes to over 1500 user IDs.
I have the eDirectory NDK reference, I've identified the Attributes I need
to alter and how their Values are stored.
I have followed the available example code snippets, and have constructed
a Perl script that successfully logs into eDirectory, can find an
arbitrary object in an arbitrary context, and read arbitrary values from
the object. I have also enumerated the Fields of object Layouts. So far,
so good.
The Problem
I have been unable to find a *comprehensive* listing of all the object
methods available thru Perl2UCS, or documentation as to their calling
parameters and possible return values. The sample bits and pieces to be
found here on Novell Forge are just that - bits and pieces. There is no
cohesive and comprehensive documentation of the UCS API (at least non I
have been able to find).
To make my frustration clear, one code example (from the February 2001
AppNotes) shows creating a Filter object to search eDirectory using, in
part, the methods Dir->{"Filter"} and Filter->AddExpression. One step
involves setting the search scope, and gives a possible value of
"SEARCH_SUBTREE". However, I can find no documentation spelling out what
the other possible values of the Filter Scope are, or how they operate.
This is just one example.
Can anyone point me to a *comprehensive* set of documentation for the UCS
API that spells out its objects, methods and calling parameters?
to make some minor changes to over 1500 user IDs.
I have the eDirectory NDK reference, I've identified the Attributes I need
to alter and how their Values are stored.
I have followed the available example code snippets, and have constructed
a Perl script that successfully logs into eDirectory, can find an
arbitrary object in an arbitrary context, and read arbitrary values from
the object. I have also enumerated the Fields of object Layouts. So far,
so good.
The Problem
I have been unable to find a *comprehensive* listing of all the object
methods available thru Perl2UCS, or documentation as to their calling
parameters and possible return values. The sample bits and pieces to be
found here on Novell Forge are just that - bits and pieces. There is no
cohesive and comprehensive documentation of the UCS API (at least non I
have been able to find).
To make my frustration clear, one code example (from the February 2001
AppNotes) shows creating a Filter object to search eDirectory using, in
part, the methods Dir->{"Filter"} and Filter->AddExpression. One step
involves setting the search scope, and gives a possible value of
"SEARCH_SUBTREE". However, I can find no documentation spelling out what
the other possible values of the Filter Scope are, or how they operate.
This is just one example.
Can anyone point me to a *comprehensive* set of documentation for the UCS
API that spells out its objects, methods and calling parameters?