Hi All!
I've installed the xwiki in my company to use as az intranet
information center, but we've to use Active Directory authentication.
I set the encoding to UTF-8 everywhere like writen in documentation.
This is my relevant config:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.server=172.16.1.165
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=company,dc=intranet
xwiki.authentication.ldap.bind_DN=cn={0},ou=COMPANY,dc=company,dc=intranet
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.UID_attr=cn
xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=displayName,mail=cn,ldap_dn=dn
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=UnixDBA,cn=users,dc=unixdba,dc=sysman,dc=intra
My questions:
1. the trylocal doesn't work for us, if a user doesn't exists in AD
then the authentication is failed, but if I change the
xwiki.authentication.ldap=0 then works fine to local users (MySQL)
2. because in our AD the CN-s looks like
cn={0},ou=COMPANY,dc=company,dc=intranet, but in the CN are hungarian
characters. If I try with a user whos name doesn't contain hungarian
characters the authentication is working fine, otherwise it fails :(
The sAMAcountName attribute is a good choise but I don't know how to
set up xwiki :(
Somebody have some idea how can I setting up this ones?
Best regards,
bzg
--
Zoltan Gyula Beck
Tel.: +36-70-328-9306
E-Mail: beckzg(a)gmail.com
Show replies by date