Enabling LDAP/Active Directory Authentication in Apache Guacamole
#Guacamole #LDAP #Authentication
Full steps can be found at https://i12bretro.github.io/tutorials/0140.html
01. Open a terminal and run the following commands:
wget http://mirror.metrocast.net/apache/guacamole/1.2.0/binary/guacamole-auth-ldap-1.2.0.tar.gz
tar -xzf guacamole-auth-ldap-1.2.0.tar.gz
sudo mkdir /etc/guacamole/extensions
sudo cp ~/guacamole-auth-ldap-1.2.0/guacamole-auth-ldap-1.2.0.jar /etc/guacamole/extensions
sudo nano /etc/guacamole/guacamole.properties
02. Edit the guacamole.properties file adding the following values:
### LDAP SETTINGS
ldap-hostname: i12bretrodc.i12bretro.local
ldap-port: 389
ldap-encryption-method: none
ldap-user-base-dn: DC=i12bretro,DC=local
ldap-username-attribute: sAMAccountName
ldap-search-bind-dn: CN=readonly_svc,CN=Users,DC=i12bretro,DC=local
ldap-search-bind-password: Read0nly!!
ldap-user-search-filter: (&(objectClass=user)(memberOf:1.2.840.113556.1.4.1941:=CN=GuacamoleUsers,CN=Users,DC=i12bretro,DC=local))
03. Press CTRL+O, Enter, CTRL+X to save the changes and exit
04. Back in the terminal, run the following command to restart Tomcat
sudo systemctl restart tomcat9
05. Open a web browser and navigate to Guacamole
06. Test logging in with a valid Active Directory username and password
Note: to use an Active Directory account in Guacamole as a Guacamole administrator you must manually create the User in Guacamole ≫ Settings ≫ Users. After logging in with the account it will see Active Directory and Guacamole specific users simultaneously
https://enterprise.glyptodon.com/doc/latest/authenticating-users-with-ldap-12812314.html
https://guacamole.apache.org/doc/gug/ldap-auth.html#ldap-downloading
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro