Please ignore the previous mail, I got the mistake (I had not specified basedn in the query). Sorry for the inconvinience caused. Regards, Anandi