Cleaned up Samba LDAP initialization process [tracker #1568]