'Provide for compatibility but this method is ignored.'

def simple_bind_s(self, who='', cred='', serverctrls=None, clientctrls=None):

    if server_fail:
        raise ldap.SERVER_DOWN
    whos = ['cn=Admin', CONF.ldap.user]
    if ((common.utf8_decode(who) in whos) and (common.utf8_decode(cred) in ['password', CONF.ldap.password])):
        return
    attrs = self.db.get(self.key(who))
    if (not attrs):
        LOG.debug('who=%s    not    found,    binding    anonymously', common.utf8_decode(who))
    db_password = ''
    if attrs:
        try:
            db_password = attrs['userPassword'][0]
        except (KeyError, IndexError):
            LOG.debug('bind    fail:    password    for    who=%s    not    found', common.utf8_decode(who))
            raise ldap.INAPPROPRIATE_AUTH
    if (cred != common.utf8_encode(db_password)):
        LOG.debug('bind    fail:    password    for    who=%s    does    not    match', common.utf8_decode(who))
        raise ldap.INVALID_CREDENTIALS
