Hi!!!

I upgrade from 0.9.9 to 0.9.14, but I have the same issue:

/etc/guacamole/guacamole.properties

# Hostname and port of guacamole proxy
guacd-hostname: localhost
guacd-port:     4822

# Auth provider class (authenticates user/pass combination, needed if using the 
provided login screen)
auth-provider: 
net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
auth-provider: 
net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
lib-directory: extensions
basic-user-mapping: GUACAMOLE_HOME/user-mapping.xml
# user-mapping: /etc/guacamole/ --> rename
GUACAMOLE_HOME/user-mapping.xml

# LDAP properties
ldap-hostname: 192.168.2.5
ldap-port: 389
ldap-user-base-dn: DC=craem,DC=net
ldap-search-bind-dn: CN=admin,DC=craem,DC=net
ldap-search-bind-password: XXXXXXXX
ldap-username-attribute: uid


Restarting tomcat8, the log:

 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
 com.google.inject.internal.util.$Finalizer.run(Finalizer.java:114)
22-Oct-2018 16:20:30.139 INFO [Thread-4] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
["http-nio-8080"]
22-Oct-2018 16:20:30.141 INFO [Thread-4] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
["http-nio-8080"]
22-Oct-2018 16:20:43.260 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:        
Apache Tomcat/8.5.14 (Debian)
22-Oct-2018 16:20:43.265 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:          
Aug 24 2018 19:44:12 UTC
22-Oct-2018 16:20:43.265 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number:         
8.5.14.0
22-Oct-2018 16:20:43.265 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:               
Linux
22-Oct-2018 16:20:43.265 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:            
4.9.0-8-amd64
22-Oct-2018 16:20:43.266 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:          
amd64
22-Oct-2018 16:20:43.266 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home:             
/usr/lib/jvm/java-8-openjdk-amd64/jre
22-Oct-2018 16:20:43.266 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           
1.8.0_181-8u181-b13-1~deb9u1-b13
22-Oct-2018 16:20:43.266 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            
Oracle Corporation
22-Oct-2018 16:20:43.267 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         
/var/lib/tomcat8
22-Oct-2018 16:20:43.267 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         
/usr/share/tomcat8
22-Oct-2018 16:20:43.267 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
22-Oct-2018 16:20:43.268 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
22-Oct-2018 16:20:43.268 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.awt.headless=true
22-Oct-2018 16:20:43.269 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-XX:+UseConcMarkSweepGC
22-Oct-2018 16:20:43.275 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djdk.tls.ephemeralDHKeySize=2048
22-Oct-2018 16:20:43.276 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
22-Oct-2018 16:20:43.276 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/var/lib/tomcat8
22-Oct-2018 16:20:43.276 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/usr/share/tomcat8
22-Oct-2018 16:20:43.276 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
22-Oct-2018 16:20:43.277 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based 
Apache Tomcat Native library 1.2.12 using APR version 1.5.2.
22-Oct-2018 16:20:43.277 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: 
IPv6 [true], sendfile [true], accept filters [false], random [true].
22-Oct-2018 16:20:43.277 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL 
configuration: useAprConnector [false], useOpenSSL [true]
22-Oct-2018 16:20:43.282 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL 
successfully initialized (OpenSSL 1.0.2l  25 May 2017)
22-Oct-2018 16:20:43.417 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["http-nio-8080"]
22-Oct-2018 16:20:43.438 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared 
selector for servlet write/read
22-Oct-2018 16:20:43.447 INFO [main] org.apache.catalina.startup.Catalina.load 
Initialization processed in 809 ms
22-Oct-2018 16:20:43.491 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service Catalina
22-Oct-2018 16:20:43.495 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.14 (Debian)
22-Oct-2018 16:20:43.513 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration 
descriptor /etc/tomcat8/Catalina/localhost/host-manager.xml
22-Oct-2018 16:20:44.701 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Oct-2018 16:20:44.783 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of 
configuration descriptor /etc/tomcat8/Catalina/localhost/host-manager.xml has 
finished in 1,270 ms
22-Oct-2018 16:20:44.784 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration 
descriptor /etc/tomcat8/Catalina/localhost/manager.xml
22-Oct-2018 16:20:45.423 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Oct-2018 16:20:45.430 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of 
configuration descriptor /etc/tomcat8/Catalina/localhost/manager.xml has 
finished in 646 ms
22-Oct-2018 16:20:45.431 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application 
archive /var/lib/tomcat8/webapps/guacamole.war
22-Oct-2018 16:20:46.834 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.
16:20:47.314 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment - 
GUACAMOLE_HOME is "/var/lib/tomcat8/.guacamole".
16:20:47.485 [localhost-startStop-1] INFO  o.a.g.rest.auth.HashTokenSessionMap 
- Sessions will expire after 60 minutes of inactivity.
16:20:47.718 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment - 
GUACAMOLE_HOME is "/var/lib/tomcat8/.guacamole".
16:20:47.982 [localhost-startStop-1] INFO  o.a.g.extension.ExtensionModule - 
Extension "LDAP Authentication" loaded.
16:20:47.983 [localhost-startStop-1] INFO  o.a.g.environment.LocalEnvironment - 
GUACAMOLE_HOME is "/var/lib/tomcat8/.guacamole".
16:20:48.145 [localhost-startStop-1] INFO  o.a.g.t.w.WebSocketTunnelModule - 
Loading JSR-356 WebSocket support...
22-Oct-2018 16:20:48.488 WARNING [localhost-startStop-1] 
com.google.inject.internal.ProxyFactory.<init> Method [public void 
org.apache.guacamole.rest.user.UserResource.updateObject(java.lang.Object) 
throws org.apache.guacamole.GuacamoleException] is synthetic and is being 
intercepted by [org.apache.guacamole.rest.RESTExceptionWrapper@6500d5b9]. This 
could indicate a bug.  The method may be intercepted twice, or may not be 
intercepted at all.
22-Oct-2018 16:20:48.765 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.apache.guacamole.rest.extension.ExtensionRESTService as a root 
resource class
22-Oct-2018 16:20:48.771 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.apache.guacamole.rest.language.LanguageRESTService as a root 
resource class
22-Oct-2018 16:20:48.772 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.apache.guacamole.rest.patch.PatchRESTService as a root resource 
class
22-Oct-2018 16:20:48.772 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.apache.guacamole.rest.auth.TokenRESTService as a root resource 
class
22-Oct-2018 16:20:48.772 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.apache.guacamole.rest.session.SessionRESTService as a root 
resource class
22-Oct-2018 16:20:48.773 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.register 
Registering org.codehaus.jackson.jaxrs.JacksonJsonProvider as a provider class
22-Oct-2018 16:20:48.775 INFO [localhost-startStop-1] 
com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating 
Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
22-Oct-2018 16:20:48.888 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.codehaus.jackson.jaxrs.JacksonJsonProvider to 
GuiceManagedComponentProvider with the scope "Singleton"
22-Oct-2018 16:20:49.542 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.apache.guacamole.rest.extension.ExtensionRESTService to 
GuiceManagedComponentProvider with the scope "PerRequest"
22-Oct-2018 16:20:49.551 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.apache.guacamole.rest.language.LanguageRESTService to 
GuiceManagedComponentProvider with the scope "PerRequest"
22-Oct-2018 16:20:49.554 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.apache.guacamole.rest.patch.PatchRESTService to 
GuiceManagedComponentProvider with the scope "PerRequest"
22-Oct-2018 16:20:49.559 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.apache.guacamole.rest.auth.TokenRESTService to 
GuiceManagedComponentProvider with the scope "PerRequest"
22-Oct-2018 16:20:49.560 INFO [localhost-startStop-1] 
com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory.getComponentProvider
 Binding org.apache.guacamole.rest.session.SessionRESTService to 
GuiceManagedComponentProvider with the scope "PerRequest"
22-Oct-2018 16:20:49.590 INFO [localhost-startStop-1] 
org.webjars.servlet.WebjarsServlet.init WebjarsServlet initialization completed
22-Oct-2018 16:20:49.604 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application 
archive /var/lib/tomcat8/webapps/guacamole.war has finished in 4,173 ms
22-Oct-2018 16:20:49.605 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory /var/lib/tomcat8/webapps/ROOT
22-Oct-2018 16:20:50.388 INFO [localhost-startStop-1] 
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Oct-2018 16:20:50.396 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory /var/lib/tomcat8/webapps/ROOT has finished in 790 ms
22-Oct-2018 16:20:50.425 INFO [main] org.apache.coyote.AbstractProtocol.start 
Starting ProtocolHandler ["http-nio-8080"]
22-Oct-2018 16:20:50.456 INFO [main] org.apache.catalina.startup.Catalina.start 
Server startup in 7008 ms
22-Oct-2018 16:21:10.687 INFO [http-nio-8080-exec-7] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-cookies/1.3.16/angular-cookies.min.js
22-Oct-2018 16:21:10.681 INFO [http-nio-8080-exec-4] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/lodash/2.4.1/dist/lodash.min.js
22-Oct-2018 16:21:10.682 INFO [http-nio-8080-exec-5] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular/1.3.16/angular.min.js
22-Oct-2018 16:21:10.683 INFO [http-nio-8080-exec-6] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/jquery/2.1.3/dist/jquery.min.js
22-Oct-2018 16:21:10.690 INFO [http-nio-8080-exec-3] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-route/1.3.16/angular-route.min.js
22-Oct-2018 16:21:10.706 INFO [http-nio-8080-exec-8] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-touch/1.3.16/angular-touch.min.js
22-Oct-2018 16:21:10.717 INFO [http-nio-8080-exec-9] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/messageformat/1.0.2/messageformat.min.js
22-Oct-2018 16:21:10.719 INFO [http-nio-8080-exec-10] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-translate/2.8.0/angular-translate.min.js
22-Oct-2018 16:21:10.724 INFO [http-nio-8080-exec-1] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-translate-interpolation-messageformat/2.8.0/angular-translate-interpolation-messageformat.min.js
22-Oct-2018 16:21:10.730 INFO [http-nio-8080-exec-4] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-translate-loader-static-files/2.8.0/angular-translate-loader-static-files.min.js
22-Oct-2018 16:21:10.731 INFO [http-nio-8080-exec-7] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/blob-polyfill/1.0.20150320/Blob.js
22-Oct-2018 16:21:10.736 INFO [http-nio-8080-exec-6] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/filesaver/1.3.3/FileSaver.min.js
22-Oct-2018 16:21:10.739 INFO [http-nio-8080-exec-3] 
org.webjars.servlet.WebjarsServlet.doGet Webjars resource requested: 
/META-INF/resources/webjars/angular-module-shim/0.0.4/angular-module-shim.js
16:21:10.979 [http-nio-8080-exec-10] WARN  o.a.g.a.f.FileAuthenticationProvider 
- The "basic-user-mapping" property is deprecated. Please use the 
"GUACAMOLE_HOME/user-mapping.xml" file instead.



only this error:

16:21:10.979 [http-nio-8080-exec-10] WARN  o.a.g.a.f.FileAuthenticationProvider 
- The "basic-user-mapping" property is deprecated. Please use the 
"GUACAMOLE_HOME/user-mapping.xml" file instead.


When loggin with openLdap user (angel):

16:21:10.979 [http-nio-8080-exec-10] WARN  o.a.g.a.f.FileAuthenticationProvider 
- The "basic-user-mapping" property is deprecated. Please use the 
"GUACAMOLE_HOME/user-mapping.xml" file instead.
16:22:26.734 [http-nio-8080-exec-8] INFO  o.a.g.r.auth.AuthenticationService - 
User "angel" successfully authenticated from 10.138.4.10.
16:22:26.778 [http-nio-8080-exec-8] WARN  o.a.g.a.f.FileAuthenticationProvider 
- The "basic-user-mapping" property is deprecated. Please use the 
"GUACAMOLE_HOME/user-mapping.xml" file instead.



And now, local users, not working :(

any idea ?



--------------------------------
Ángel Elena Medina       _o)
cr...@craem.net          / \\
http://blog.craem.net  _(___V
@craem_
www.linkedin.com/in/angel-elena-medina
--------------------------------
Zarafa Webapp.

-----Mensaje original-----
De:     Nick Couchman <vn...@apache.org>
Enviado:        Dom 21-10-2018 20:39
Asunto: Re: ldap question
Para:   user@guacamole.apache.org; 
> On Sun, Oct 21, 2018 at 12:41 PM Angel Elena <cr...@craem.net 
> <mailto:cr...@craem.net> > wrote:
> Hi, good afternoon.
> 
> I'm a new guacamole user. 
> 
> 
> Welcome! :-) 
> 
> I installed it in a debian 9 and 0.9.9 guacd version. The program works fine 
> with local users mapping... my configuration:
> 
> 
> The first thing I'd start with is using a recent version of Guacamole - 
> 0.9.14 
> is the current release, and 1.0.0 is on the way.
>  
> 
> When I login with de "angel" user to the front-end, the user space is empty, 
> without any machine, but I can login.
> 
> 
> Are there any errors in the Tomcat log file?
> 
> -Nick
>

Reply via email to