I am writing a custom Delete user job using java code, in which i
am using a ldap query as follows:-
(&(objectclass=user)(loginExpirationTime<=20100312 000000Z)(!(ou:dn:=terminated))).
Whenever i run this query my nds services getting stopped.

But when i modify my query to exclude ou i.e:-
(&(objectclass=user)(loginExpirationTime<=20100312 000000Z)) .The this
same query works perfectly without stopping the edir services.

But i have to use the ou in the query.
I am using edir 8.8.5 on windows server 2003 SP2.

Can somebody explain me why this is happening and probably give me the
correct solution or a possible alternative, it is urgent.

Debaditya Ghosh.

debaditya_ghosh3's Profile: http://forums.novell.com/member.php?userid=72430
View this thread: http://forums.novell.com/showthread.php?t=404487