Logout from xwiki AD

Hi,
I use ldap authorization in my xwiki. I am automatically logged in and that’s great :slight_smile: . But now I’m having trouble logging out. I have xwiki.cfg
xwiki.authentication.ldap.trylocal = 1
and i thought this means I can have AD users and xwiki users. Every time I try to log out, I’m redirected to the main page. What should I do? please help

xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.remoteUserParser=(.+)\\(.+)
xwiki.authentication.ldap.remoteUserMapping.2=uid
xwiki.authentication.ldap.trylocal=1

Specify FQDN of Active Directory server

xwiki.authentication.ldap.server=172.22.22.1
xwiki.authentication.ldap.port=389

Specify distinguished name (DN) of Active Directory domain

xwiki.authentication.ldap.base_DN=DC=sim,DC=INTERNAL

Specify account that has read-only access to AD in the format domainname\username

xwiki.authentication.ldap.bind_DN=CN=wiki,OU=Simple Users,DC=sim,DC=INTERNAL

Specify the account’s password

xwiki.authentication.ldap.bind_pass=pass
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn,company=‘firma’

Specify DN of group that should be XWiki administrators

xwiki.authentication.ldap.group_mapping=
XWiki.XWikiAdminGroup=