Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-300

Support posixGroup in LDAP Authentication and Group-based Session Admission



    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • None
    • 1.2.0
    • guacamole-auth-ldap
    • None
    • Oracle Solaris, Apache Tomcat 8.5.9, OpenLDAP 2.4.30, LDAP users are organized using the posixGroup scheme.
    • Patch


      Recently, the auth-ldap module was extended by the ability to grant access to remote terminal connections based on existing LDAP groups using the seeAlso attribute in Guacamole's LDAP-based configuration settings. This is a great feature if you've to manage a lot of users which are already organized in LDAP groups. It works well as long as the groups are of the scheme groupOfNames. As we have decided for posixGroup (due to other tools' requirements), we currently cannot use the feature and still have to list all users individually in the Guacamole remote service configuration. While this could be scripted easily, it is still a work-around which makes the administration work unnecessarily complex.

      A better solution would be to support both schemes, posixGroup and groupOfNames.

      The attached patch will extend the user lookup code by the ability to search not only through the groupOfNames but also through the posixGroup scheme. The piece of code seems to work with both schemes in my tests successfully, I am not sure if there are any pitfalls when just combining the possible results. Maybe introducing a configuration flag to choose whether searching posixGroup or groupOfNames would be a better approach.




            Unassigned Unassigned
            steffen-moser Steffen Moser
            0 Vote for this issue
            5 Start watching this issue