handle base dn group search