use bind_dn if present
use bind_dn if present