code: def del_user(self, username):
          
          ldap_client = self._bind()
          # recover the user dn
          dn = self._byte_p2(self._get_user(self._byte_p2(username), NO_ATTR))
          # delete
          if dn is not None:
              ldap_client.delete_s(dn)
          else:
              ldap_client.unbind_s()
              raise UserDoesntExist(username, self.backend_name)
          ldap_client.unbind_s()
docs: delete a user