Page 1 of 1

LDAP Authentification sAMAccountname with dots

Posted: Sun Jan 07, 2018 12:30 am
by czahn
Hello,

i've a Problem with LDAP (AD) Authentification. If i use a user without a dot in the unsername all works fine. If i use firtname.lastname it does not work.

Code: Select all

root@openvpnas2:/usr/local/openvpn_as/scripts# ./authcli --user vorname.nachname --pass xxxxxxxxx
API METHOD: authenticate
AUTH_RETURN
  status : FAIL
  reason : LDAP exception on ldap://10.0.0.202/ (facility='search (u'CN=Users, DC=domain, DC=eu', 2, '(userPrincipalName=vorname\\2enachname)')'): {'info': "0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=domain,DC=eu'\n", 'matched': 'DC=domain,DC=eu', 'desc': 'No such object'}: auth/authldap:122,ldap/ldapobject:591,ldap/ldapobject:503,ldap/ldapobject:507,ldap/ldapobject:514,ldap/ldapobject:521,ldap/ldapobject:106 (ldap.NO_SUCH_OBJECT)
  user : vorname.nachname
Some Ideas ?

THX

Christian

Re: LDAP Authentification sAMAccountname with dots

Posted: Sun Jan 07, 2018 1:40 pm
by TinCanTech
czahn wrote:
Sun Jan 07, 2018 12:30 am
root@openvpnas2
Is this OpenVPN Access Server ?