This discussion is archived
1 Reply Latest reply: Oct 8, 2012 10:35 PM by 953005 RSS

How to get notifications of deleted objects without searching in top domain?

693322 Newbie
Currently Being Moderated
I have been trying to get notifications of deleted users but, the only way I have succeed is doing a persistent search in the top domain with the filer *(objectClass=*)*.

If i try to add cn=Deleted Objects a to the base dn, using *1.2.840.113556.1.4.528* (Notifications) I got:
+javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:+
+     'cn=Deleted Objects,dc=example,dc=local'+

+If a try the controls *1.2.840.113556.1.4.417* (Deleted) and *1.2.840.113556.1.4.528* (Notifications) with  *cn=Deleted Objects* at the same time I got:+
+The objects that are on the Deleted Objects container but I don't get notifications in real time.+


*_Is there any way to get notifications of deleted objects without searching in top domain?_*