|
Re: LDAP Persistent Search Control -- JNDI Client for AD |
|
Subject: Re: LDAP Persistent Search Control -- JNDI Client for AD
Author: mhmldappro
In response to: LDAP Persistent Search Control -- JNDI Client for AD
Posted on: 10/23/2007 08:48:59 AM
Hi Steve
When I call the getResponseControls() (after the research) no one control its returned.
Do you know why ?
Thanks
MHM
>
> On 10/19/2007 07:43:43 PM SteveHB wrote:
Hi MHM,
From each response you received from server, you should have inside a changed entry and an Entry Change Notification control:
entryChangeNotificationControlValue::= SEQUENCE {
changeType ENUMERATED {
add (1),
delete (2),
modify (4),
modDN (8)
},
previousDN LDAPDN OPTIONAL, -- modifyDN ops. only
changeNumber INTEGER OPTIONAL -- if supported
}
which tells what had happened as to the changed entry.
For add, delete or modDN, it's quite straight forward to know what change was made.
For modify, however, you have to compare the changed entry with the old one to figure out the difference.
Regards, Steve
References:
|
|
|
|