Score:1

Apache Guacamole + Windows Active Directory Error 49

mx flag

I've configured my guacamole testing instance to the point where, when I enter a username and password at the prompt, I see an ldap bind request at my domain controller.

enter image description here obviously that is not my real password

It then responds with invalidCredentials (49) and AcceptSecurityContext error, data 52e

enter image description here

I've read that error 49 means that the username may be correct but the password is incorrect. Well I get the same response even with a bogus username. I'm assuming this odd response is some sort of brute force prevention.

Here is my guacamole.properties:

# LDAP properties
ldap-hostname: domain.xyz
ldap-user-base-dn:  cn=Users, dc=domain, dc=xyz
ldap-username-attribute: sAMAccountName

I'm running Guacamole 1.4 and Windows Server 2022

I have other services authenticating over LDAP already, like vSphere.

cn flag
What other tools have you used to test that account with the LDAP bind? LDP?
charlespick avatar
mx flag
@GregAskew I get a similar AcceptSecurityContext error and a Error 0x80090308 The token supplied to the function is invalid
Score:0
us flag

I'd guess that this error message is regarding your LDAP bind dn (user). Have you configured these properties with an active account from your domain:

ldap-search-bind-dn:
ldap-search-bind-password: 

In case of active directory this can be any user, it just needs to be member of the domain.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.