Novell is now a part of Micro Focus

I am trying to write an application using...

Articles and Tips: qna

15 Nov 2000


Q.

I am trying to write an application using LDAP to query NDS for OrganizationalPerson records; however, I only want to retrieve objects modified since a particular date. I am able to do this through the NDS APIs; is this possible through LDAP? I cannot find a way of including a modifyTimestamp attribute in a search.

A.

You can do this through LDAP on the latest public beta version of NDS. You have to specify the attribute name (it is an operational attribute, which is not available with the regular all attributes) modifyTimeStamp. You can use this as a filter with >= to get all modifications newer than a specified time. This NDS beta is available from http://support.novell.com/beta/public/.

You can also do this with the traditional C APIs by setting up a filter. Look at the documentation for NWDSAddFilterToken. It has a link to the available filter tokens, one of which is FTOK_MODTIME. (Answer provided by Jane Shropshire of Novell Developer Support)

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates