Add m_ldap, and convert m_ldapoper and m_ldapauth to use it.