Added method to discover the base DN