I changed the attribute that recovers the base dn to array of bases and I put the condition of separate multiple entries between bases dn  a semicolon because it works best with PHP, and I mentioned tha as Note in directory authentication settings.