Jurre
Jurre

Reputation: 21

How to authenticate to Apache Guacamole using Active Directory authentication by LDAP?

After I configured the configuration below, it doesn't connect to the Active Directory. I can't login with a account of the Active Directory. What could be the problem?

I have a Ubuntu server 18.04 with Apache Guacamole v1.0.0. installed. I want to use LDAP-authentication to authenticate users. I have downloaded the guacamole-auth-ldap-1.0.0.jar and jldap-4.3.jar extensions.

ldap-hostname: 10.10.10.21, 10.10.10.22

ldap-port: 389

ldap-user-base-dn: OU=Users,DC=zoz,DC=lan

ldap-username-attribute: CN

ldap-config-base-dn: OU=Users,DC=zoz,DC=lan

ldap-encryption-method: none

I expect it should connect to the domain controller. But when I use the command "ldapsearch" it gives me the error that it can't contact the LDAP-server.

Upvotes: 2

Views: 9845

Answers (1)

Jobin James
Jobin James

Reputation: 1030

Please try this

ldap-hostname: 
ldap-port:
ldap-username-attribute: sAMAccountName
ldap-encryption-method: none
ldap-search-bind-dn: [email protected]
ldap-search-bind-password: password
ldap-config-base-dn: dc=domain,dc=local
ldap-user-base-dn: OU=myou,DC=domain,DC=local
ldap-user-search-filter:(objectClass=user)(!(objectCategory=computer))
ldap-max-search-results:400

Restart Tomcat and gucad

Upvotes: 0

Related Questions