On Tue, Jun 4, 2024 at 4:22 AM Víctor J. Sánchez <vjose...@gmail.com> wrote:
> Hi all, > > I'm trying to work with RDP virtual drive to share files between remote > hosts and browser clients. Both guacamole and guacd servers are running > on docker. When I run guacd container I pass it a named volume to store > the shared files. In the host filesystem I set permissions to guacd > container user can access to it. If I don't as I commented it can't > upload files due to lack of permissions. But in the remote server (a > Linux in my case) when I try to access to the shared drive with > smb://tsclient/share (for example), it ask me for credentials: I enter > the remote user and password but it's unsuccesful. > > Yes, this would not be correct - when the drive is forwarded by RDP, there shouldn't be anything authentication required, so entering the credentials of the remote user would not result in a successful connection. I also connect via RDP to Linux systems using the Virtual Drive option, and it mounts the drive automatically without issue - I don't have to use any smb-specific path with this, and I never get prompted for authentication. > In summary, I don't know if the way I set the RDP virtual drive with > docker is fine. The Apache Guacamole manual is not very accurate with > the method on docker containers. It only describes the parameters. I > don't know if the use of a docker volume in this case is accurate. Same > for alter filesystem permissions in the docker mapped volume directories. > > I don't think this is a Docker issue. As you mentioned above, the Docker container has to have permissions to access the volume/directory you are sharing via RDP virtual drive, and that is expected. I believe the issue you're seeing is more related to how the Linux server is expected to connect to the virtual drive, and I do not believe this has anything to do with Docker or even Guacamole. -Nick