Re: [ANNOUNCE] Apache Guacamole 1.5.4

2023-12-11 Thread Michael Jumper
Are you sure you did a full clean rebuild after setting that environment 
variable?


I'm able to reproduce the error on a fresh install of Ubuntu 20.04.6, 
but only if LDFLAGS is not set as described below. When LDFLAGS is set 
to "-lrt" prior to running configure and prior to building anything, the 
build succeeds.


- Mike

On 12/11/2023 10:27 AM, sam g wrote:

I tried, the /*export LDFLAGS="-lrt"*/ doesn't help, same error.

Sam

Le lundi 11 décembre 2023 à 19:06:56 UTC+1, Michael Jumper 
 a écrit :



On 12/9/2023 1:35 AM, sam g wrote:
 > Hi,
 >
 > Small issue in compiling guac 1.5.4:
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_delete'
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_settime'
 > /usr/bin/ld:
 > /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined
 > reference to `timer_create'
 > collect2: error: ld returned 1 exit status
 > make[2]: *** [Makefile:563: guacd] Error 1
 > make[2]: Leaving directory '/home/sam/guacamole-server-1.5.4/src/guacd'
 >
 > I built the 1.5.3 on the exact same machine without troubles.
 >

Can you try rebuilding (including re-running ./configure) after setting
the following:

export LDFLAGS="-lrt"

It sounds like something has changed under Ubuntu to require an
additional library to be linked in to provide timer_create(), etc.

- Mike


-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org 

For additional commands, e-mail: user-h...@guacamole.apache.org 





-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: [ANNOUNCE] Apache Guacamole 1.5.4

2023-12-11 Thread sam g
 I tried, the export LDFLAGS="-lrt" doesn't help, same error.
Sam

Le lundi 11 décembre 2023 à 19:06:56 UTC+1, Michael Jumper 
 a écrit :  
 
 On 12/9/2023 1:35 AM, sam g wrote:
> Hi,
> 
> Small issue in compiling guac 1.5.4:
> /usr/bin/ld: 
> /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
> reference to `timer_delete'
> /usr/bin/ld: 
> /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
> reference to `timer_settime'
> /usr/bin/ld: 
> /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
> reference to `timer_create'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:563: guacd] Error 1
> make[2]: Leaving directory '/home/sam/guacamole-server-1.5.4/src/guacd'
> 
> I built the 1.5.3 on the exact same machine without troubles.
> 

Can you try rebuilding (including re-running ./configure) after setting 
the following:

export LDFLAGS="-lrt"

It sounds like something has changed under Ubuntu to require an 
additional library to be linked in to provide timer_create(), etc.

- Mike

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

  

Re: [ANNOUNCE] Apache Guacamole 1.5.4

2023-12-11 Thread Michael Jumper

On 12/9/2023 1:35 AM, sam g wrote:

Hi,

Small issue in compiling guac 1.5.4:
/usr/bin/ld: 
/home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
reference to `timer_delete'
/usr/bin/ld: 
/home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
reference to `timer_settime'
/usr/bin/ld: 
/home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
reference to `timer_create'

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:563: guacd] Error 1
make[2]: Leaving directory '/home/sam/guacamole-server-1.5.4/src/guacd'

I built the 1.5.3 on the exact same machine without troubles.



Can you try rebuilding (including re-running ./configure) after setting 
the following:


export LDFLAGS="-lrt"

It sounds like something has changed under Ubuntu to require an 
additional library to be linked in to provide timer_create(), etc.


- Mike

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org



Re: [ANNOUNCE] Apache Guacamole 1.5.4

2023-12-11 Thread Antoine Besnier
 Hi, 
I have the same issue with Bullseye.
I build Docker images for various platforms, with Alpine Edge or Ubuntu 22.04 
bases, those build succeed.But if fails with the same error with a Bullseye 
base, and on my own machine which runs Bullseye too.
I use the source file from guacamole.apache.org/releases/1.5.4/ for all builds.
Something with time.h versions? They are a bit different between Bullseye, 
Bookworm and Jammy, but the references for the functions in question are there 
and signatures look the same, and I am not familiar enough with linux/c headers 
to dig more.
Cheers
Antoine


Le samedi 9 décembre 2023 à 15:06:34 UTC+1, sam g 
 a écrit :  
 
  Same error after "make distclean;autoreconf -fi;./configure;make"
I'm using a freshly installed Ubuntu 20.04.6.I've tested with an Ubuntu 22.04.3 
and no problems in this case.

Sam



Le samedi 9 décembre 2023 à 14:46:16 UTC+1, Nick Couchman 
 a écrit :  
 
 On Sat, Dec 9, 2023 at 4:36 AM sam g  wrote:

 Hi,
Small issue in compiling guac 1.5.4:/usr/bin/ld: 
/home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: undefined 
reference to `timer_delete'
/usr/bin/ld: /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: 
undefined reference to `timer_settime'
/usr/bin/ld: /home/sam/guacamole-server-1.5.4/src/libguac/.libs/libguac.so: 
undefined reference to `timer_create'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:563: guacd] Error 1
make[2]: Leaving directory '/home/sam/guacamole-server-1.5.4/src/guacd'

I built the 1.5.3 on the exact same machine without troubles.

Could you try doing the following in the 1.5.4 source directory:make 
distcleanautoreconf -fi
and then re-run configure and make? I just pulled the source code from the web 
site and built on my EL8 system without any issues. If you're still having 
trouble, please provide some more detail on the environment you're building in.
-Nick

Re: LDAP problem

2023-12-11 Thread Nick Couchman
On Mon, Dec 11, 2023 at 7:50 AM Pål Hjelmeseth Myklebust <
p.h.mykleb...@usit.uio.no> wrote:

> The problem was that one AD had the uid attribute, and the other didn't.
> Problem solved, sorry about the noise.
>
>
No worries at all - thanks for posting back with your solution.

-Nick


RE: LDAP problem

2023-12-11 Thread Pål Hjelmeseth Myklebust
The problem was that one AD had the uid attribute, and the other didn't. 
Problem solved, sorry about the noise. 

-
Pål

-Original Message-
From: Pål Hjelmeseth Myklebust  
Sent: Monday, December 11, 2023 1:29 PM
To: user@guacamole.apache.org
Subject: RE: LDAP problem

Looks like the problem is that "List userDNs = 
userService.getUserDNs(config, searchConnection, username);" return nothing, 
but I don’t understand why since ldapsearch with the same search-bind-dn 
returns the correct DN.

-
Pål

-Original Message-
From: Pål Hjelmeseth Myklebust  
Sent: Monday, December 11, 2023 12:40 PM
To: user@guacamole.apache.org
Subject: RE: LDAP problem

Thank you, but in this case the user only exists in the second AD.

-
Pål

-Original Message-
From: Molina de la Iglesia, Manuel 
 
Sent: Monday, December 11, 2023 12:33 PM
To: user@guacamole.apache.org
Subject: Re: LDAP problem

Hello, 

Note that you have to provide user@domain format instead of sAMAccountName to 
avoid collisions with identical usernames on both domains.


Manel Molina


manuel.molina-de-la-igle...@veolia.com 
 


Dirección de Ciberseguridad


Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48 
08038 Barcelona / España

www.veolia.com





 

 



El lun, 11 dic 2023 a las 12:30, Pål Hjelmeseth Myklebust 
(mailto:p.h.mykleb...@usit.uio.no> >) escribió:


Hello, We have configured Guacamole against two AD's. Authentication 
against the first AD works great, but the second gives this error:

INFO  o.a.g.a.l.AuthenticationProviderService - Unable to determine DN 
of user "" using LDAP server "ad.kiosk.educloud.no 
 ". Proceeding with next server...

Ldapsearch from the guacamole server returns the user with the correct 
DN, and the user-base-dn, search-bind-dn and search-bind-password in the 
ldap-servers.yml is correct. Any idea what could be wrong? 

-
Paul




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org 
 
For additional commands, e-mail: user-h...@guacamole.apache.org 
 




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org


RE: LDAP problem

2023-12-11 Thread Pål Hjelmeseth Myklebust
Looks like the problem is that "List userDNs = 
userService.getUserDNs(config, searchConnection, username);" return nothing, 
but I don’t understand why since ldapsearch with the same search-bind-dn 
returns the correct DN.

-
Pål

-Original Message-
From: Pål Hjelmeseth Myklebust  
Sent: Monday, December 11, 2023 12:40 PM
To: user@guacamole.apache.org
Subject: RE: LDAP problem

Thank you, but in this case the user only exists in the second AD.

-
Pål

-Original Message-
From: Molina de la Iglesia, Manuel 
 
Sent: Monday, December 11, 2023 12:33 PM
To: user@guacamole.apache.org
Subject: Re: LDAP problem

Hello, 

Note that you have to provide user@domain format instead of sAMAccountName to 
avoid collisions with identical usernames on both domains.


Manel Molina


manuel.molina-de-la-igle...@veolia.com 
 


Dirección de Ciberseguridad


Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48 
08038 Barcelona / España

www.veolia.com





 

 



El lun, 11 dic 2023 a las 12:30, Pål Hjelmeseth Myklebust 
(mailto:p.h.mykleb...@usit.uio.no> >) escribió:


Hello, We have configured Guacamole against two AD's. Authentication 
against the first AD works great, but the second gives this error:

INFO  o.a.g.a.l.AuthenticationProviderService - Unable to determine DN 
of user "" using LDAP server "ad.kiosk.educloud.no 
 ". Proceeding with next server...

Ldapsearch from the guacamole server returns the user with the correct 
DN, and the user-base-dn, search-bind-dn and search-bind-password in the 
ldap-servers.yml is correct. Any idea what could be wrong? 

-
Paul




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org 
 
For additional commands, e-mail: user-h...@guacamole.apache.org 
 




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org


RE: LDAP problem

2023-12-11 Thread Pål Hjelmeseth Myklebust
Thank you, but in this case the user only exists in the second AD.

-
Pål

-Original Message-
From: Molina de la Iglesia, Manuel 
 
Sent: Monday, December 11, 2023 12:33 PM
To: user@guacamole.apache.org
Subject: Re: LDAP problem

Hello, 

Note that you have to provide user@domain format instead of sAMAccountName to 
avoid collisions with identical usernames on both domains.


Manel Molina


manuel.molina-de-la-igle...@veolia.com 
 


Dirección de Ciberseguridad


Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48 
08038 Barcelona / España

www.veolia.com





 

 



El lun, 11 dic 2023 a las 12:30, Pål Hjelmeseth Myklebust 
(mailto:p.h.mykleb...@usit.uio.no> >) escribió:


Hello, We have configured Guacamole against two AD's. Authentication 
against the first AD works great, but the second gives this error:

INFO  o.a.g.a.l.AuthenticationProviderService - Unable to determine DN 
of user "" using LDAP server "ad.kiosk.educloud.no 
 ". Proceeding with next server...

Ldapsearch from the guacamole server returns the user with the correct 
DN, and the user-base-dn, search-bind-dn and search-bind-password in the 
ldap-servers.yml is correct. Any idea what could be wrong? 

-
Paul




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org 
 
For additional commands, e-mail: user-h...@guacamole.apache.org 
 




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org


Re: LDAP problem

2023-12-11 Thread Molina de la Iglesia, Manuel
Hello,

Note that you have to provide user@domain format instead of sAMAccountName
to avoid collisions with identical usernames on both domains.

*Manel Molina*

*manuel.molina-de-la-igle...@veolia.com
*

*Dirección de Ciberseguridad*

Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48
08038 Barcelona / España

www.veolia.com





El lun, 11 dic 2023 a las 12:30, Pål Hjelmeseth Myklebust (<
p.h.mykleb...@usit.uio.no>) escribió:

> Hello, We have configured Guacamole against two AD's. Authentication
> against the first AD works great, but the second gives this error:
>
> INFO  o.a.g.a.l.AuthenticationProviderService - Unable to determine DN of
> user "" using LDAP server "ad.kiosk.educloud.no". Proceeding
> with next server...
>
> Ldapsearch from the guacamole server returns the user with the correct DN,
> and the user-base-dn, search-bind-dn and search-bind-password in the
> ldap-servers.yml is correct. Any idea what could be wrong?
>
> -
> Paul
>
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>


LDAP problem

2023-12-11 Thread Pål Hjelmeseth Myklebust
Hello, We have configured Guacamole against two AD's. Authentication against 
the first AD works great, but the second gives this error:

INFO  o.a.g.a.l.AuthenticationProviderService - Unable to determine DN of user 
"" using LDAP server "ad.kiosk.educloud.no". Proceeding with next 
server...

Ldapsearch from the guacamole server returns the user with the correct DN, and 
the user-base-dn, search-bind-dn and search-bind-password in the 
ldap-servers.yml is correct. Any idea what could be wrong? 

-
Paul




-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org