Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: nwGetObjValue modifiersName
Also as a general question, is there any way to root through the login scripts? say i want to search for a specific word in a login script (like a server name). where is this info kept and is it in plain text?
by the way...
I am VERY VERY impressed with the netware extenders and the support that go's with them. I have been able to build many tools which save us lots of time. keep up the great work!
The modification date and time stamp for an attribute's value is recorded in each each attribute, but that information currently cannot be extracted/obtained via the NetWareX extender.
Beyond the object modify/create functionality that I'm testing out I've got some plans in place to make all of the rest of this type of information available, too, via some new functions. There is all sorts of schema and partition information that is some times necessary to have access to when manipulating NDS, and I'm going to have to make it possible to retrieve this information for use in WinBatch scripts.
In your case, it would probably be best to use nwGetObjValue() to find out how large a binary buffer is needed, allocate the buffer, retrieve the login script via nwGetObjValue() [stuffing it into the binary buffer] and then interrogate it with the other binary buffer functions that let you search for strings.
Look at the example code for nwGetObjValue(). It shows how to use a binary buffer to retrieve an attribute value. Run the sample code and see what it does with a login script and then adapt the sample code to suit your needs.
Article ID: W15214
File Created: 2002:09:05:13:50:38
Last Updated: 2002:09:05:13:50:38