Hi Nick, thanks for reply ! My configuration:
guacd-hostname: localhost guacd-port: 4822 auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider ldap-hostname: server ldap-port: 389 ldap-encryption-method: none ldap-user-base-dn: ou=Users,ou=ADM,ou=FCA,dc=fca,dc=unicamp,dc=br ldap-search-bind-dn: cn=userldap,ou=FCA,dc=fca,dc=unicamp,dc=br ldap-search-bind-password: pass ldap-username-attribute: sAMAccountName ldap-follow-referrals: true mysql-hostname: localhost mysql-port: 3306 mysql-database: guacamole_db mysql-username: guacadmin mysql-password: pass And the log not show anything or error, but not binding with AD LDAP Jun 30 20:28:41 remoto server: 20:28:41.435 [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - [2] Binding AuthenticationProvider "org.apache.guacamole.auth.ldap.LDAPAuthenticationProvider". Jun 30 20:28:41 remoto server: 20:28:41.627 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule - Extension "LDAP Authentication" loaded. Jun 30 20:30:58 remoto server: 20:30:58.633 [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - [2] Binding AuthenticationProvider "org.apache.guacamole.auth.ldap.LDAPAuthenticationProvider". Jun 30 20:30:58 remoto server: 20:30:58.815 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule - Extension "LDAP Authentication" loaded. Jun 30 20:34:00 remoto server: Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. Jun 30 20:34:01 remoto server: 20:34:01.082 [http-bio-8443-exec-1] DEBUG o.a.g.a.f.FileAuthenticationProvider - User mapping file "/etc/guacamole/user-mapping.xml" does not exist and will not be read. Jun 30 20:34:01 remoto server: 20:34:01.082 [http-bio-8443-exec-1] DEBUG o.a.g.r.auth.AuthenticationService - Anonymous authentication attempt from [143.106.230.18, 143.106.231.10] failed. Jun 30 20:34:07 remoto server: 20:34:07.391 [http-bio-8443-exec-3] DEBUG o.a.g.a.mysql.conf.MySQLEnvironment - Database recognized as MySQL 5.5.65. Jun 30 20:34:07 remoto server: 20:34:07.494 [http-bio-8443-exec-3] INFO o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from [143.106.230.18, 143.106.231.10]. Jun 30 20:34:07 remoto server: 20:34:07.539 [http-bio-8443-exec-3] DEBUG o.a.g.a.f.FileAuthenticationProvider - User mapping file "/etc/guacamole/user-mapping.xml" does not exist and will not be read. Jun 30 20:34:07 remoto server: 20:34:07.563 [http-bio-8443-exec-3] DEBUG o.a.g.r.auth.AuthenticationService - Login was successful for user "guacadmin". Jun 30 20:34:07 remoto server: 20:34:07.810 [http-bio-8443-exec-7] DEBUG o.a.g.a.mysql.conf.MySQLEnvironment - Database recognized as MySQL 5.5.65. Jun 30 20:34:07 remoto server: 20:34:07.828 [http-bio-8443-exec-7] DEBUG o.a.g.a.mysql.conf.MySQLEnvironment - Database recognized as MySQL 5.5.65. Jun 30 20:34:08 remoto server: 20:34:08.076 [http-bio-8443-exec-3] DEBUG o.a.g.a.mysql.conf.MySQLEnvironment - Database recognized as MySQL 5.5.65. Thanks for help ! Em ter., 30 de jun. de 2020 às 20:54, Nick Couchman <[email protected]> escreveu: > On Tue, Jun 30, 2020 at 17:15 Henri Alves de Godoy > <[email protected]> wrote: > >> Hello guys, >> >> I signed up on the list now and I'm going to ask for my first help from >> you. >> >> I can only authenticate with LDAP using version 1.0.0. >> > > You’ll need to explain what issues you’re seeing with the 1.1.0 and 1.2.0 > versions of the LDAP extension. Please post log messages and errors you’re > receiving. > > >> I know that for version> 1.1.0 there was a change to api-ldap. >> >> How to know or how to install api-ldap on the server? >> > > Yes, the 1.1.0 and later versions use the Apache library instead of the > old Novell library. However, everything you need for the LDAP support is > included with the extension - there are no other dependencies to install. > > >> I believe that I don't have the api-ldap configured, as I can't list the >> users when I enter the administration area. >> > > You will only see LDAP users in the admin area if you log in successfully > with an LDAP account. > > -Nick > -- -- Henri Alves Godoy Tecnologia da Informação e Comunicação Faculdade de Ciências Aplicadas - FCA Universidade Estadual de Campinas - UNICAMP Fone: (19) 3701-6682
