You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reporting this as a potential bug with the auth-ldap plugin, after some troubleshooting exercises with @olivierlambert via the community forum. I certainly respect your time and don't want to waste it, but I also believe this report has some merit and should receive some attention.
Essentially, what I'm seeing - in both XOA and XO (from sources - built directly using your documentation instructions and by using @ronivay's install script), that LDAP authentication fails when the user being authenticated is a member of more than 6 groups.
I'm available to assist with further testing or to provide any additional error messages that will help drill down to the root cause and fix this.
Error message
To reproduce
Login to XO and go to 'SETTINGS > PLUGINS'
Click the + button to the right of the auth-ldap plugin
Configure the plugin with parameters similar to the following (see code block below).
Go to Active Directory Computers and Users, and take note of how many groups the subject account is a member of. If less than 7, proceed to test the plugin - it should succeed. Keep incrementing and testing until you reach 7 groups, test should now fail.
LDAP/AD Configuration
URI: ldap://DC01:389
Certificate Authorities (left blank)
Check certificate = No
Use StartTLS = No
Base: OU=Users,OU=LabNET,DC=LabNET,DC=local
Credentials (fill this out)
dn: "Put here the Distinguished Name of whichever account you're using to bind to AD"
password: "goes without saying"
User filter: (&(sAMAccountName=({name}))(memberOf=CN=XenOrchestra_Admins,OU=Groups,OU=LabNET,DC=LabNET,DC=local))
ID attribute: sAMAccountName
Synchronize groups (fill this in if you want to control login based on group membership)
Base: OU=Groups,OU=LabNET,DC=LabNET,DC=local
Filter: (objectClass=group)
ID attribute: dn
Display name attribute: cn
Members mapping (fill this out)
Group attribute: member
User attribute: dn
Expected behavior
LDAP/Active Directory authentication should be successful, irrespective of how many groups a user is member of.
Are you using XOA or XO from the sources?
both
Which release channel?
both
Provide your commit number
8f877
Describe the bug
I'm reporting this as a potential bug with the auth-ldap plugin, after some troubleshooting exercises with @olivierlambert via the community forum. I certainly respect your time and don't want to waste it, but I also believe this report has some merit and should receive some attention.
Essentially, what I'm seeing - in both XOA and XO (from sources - built directly using your documentation instructions and by using @ronivay's install script), that LDAP authentication fails when the user being authenticated is a member of more than 6 groups.
The reference forum postings:
I'm available to assist with further testing or to provide any additional error messages that will help drill down to the root cause and fix this.
Error message
To reproduce
LDAP/AD Configuration
Expected behavior
LDAP/Active Directory authentication should be successful, irrespective of how many groups a user is member of.
Screenshots
No response
Node
22.14.0
Hypervisor
XCP-ng 8.3.0
Additional context
Bug report filed with @olivierlambert's concurrence
The text was updated successfully, but these errors were encountered: