def METHOD_NAME(topology_st_gssapi, testuser):
    """Test allowed sasl mechs works when GSSAPI is allowed
    :id: 6ec80aca-00c4-4141-b96b-3ae8837fc751
    :setup: standalone gssapi instance
    :steps:
        1. Add GSSAPI to allowed sasl mechanisms.
        2. Attempt to bind
    :expectedresults:
        1. The allowed mechs are changed.
        2. The bind succeeds.
    """
    topology_st_gssapi.standalone.config.set('nsslapd-allowed-sasl-mechanisms', 'GSSAPI EXTERNAL ANONYMOUS')
    conn = testuser.bind_gssapi()
    assert(conn.whoami_s() == "dn: %s" % testuser.dn.lower())