[JIRA] (JENKINS-50128) LDAP permissions working for users but not groups
Title: Message Title Steven Gardner closed an issue as Not A Defect Jenkins / JENKINS-50128 LDAP permissions working for users but not groups Change By: Steven Gardner Status: Open Closed Resolution: Not A Defect Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50128) LDAP permissions working for users but not groups
Title: Message Title Steven Gardner updated an issue Jenkins / JENKINS-50128 LDAP permissions working for users but not groups Change By: Steven Gardner I have connected Jenkins to our LDAP server in order to manage permissions for users and groups via the security matrix. Currently it is working for individual user accounts but not for groups. When I add an LDAP group to the matrix, it shows the group icon next to the group-name (meaning it found the group in LDAP), but when users that are members of that group log in to Jenkins, they only have Anonymous permissions.I have ran the groovy script given on the LDAP plugin page here: [https://plugins.jenkins.io/ldap]When given a valid groupname, it will return:{code:java} " It is a GROUP: hudson.security.LDAPSecurityRealm$GroupDetailsImpl@2fb6ea7d " {code}I've tried modifying the loadGroupbyGroupname line and added another line to try and get the members in the group:{code:java}println(" It is a GROUP: " + Jenkins.instance.securityRealm.loadGroupByGroupname(name, true)) println(" Members are : " + Jenkins.instance.securityRealm.loadGroupByGroupname(name).getMembers()){code}But those commands only return:{code:java}It is a GROUP: hudson.security.LDAPSecurityRealm$GroupDetailsImpl@5f1013d0 Members are : null{code}How can I get the members in the LDAP group and get these LDAP groups working in Jenkins? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-50128) LDAP permissions working for users but not groups
Title: Message Title Steven Gardner updated an issue Jenkins / JENKINS-50128 LDAP permissions working for users but not groups Change By: Steven Gardner I have connected Jenkins to our LDAP server in order to manage permissions for users and groups via the security matrix. Currently it is working for individual user accounts but not for groups. When I add an LDAP group to the matrix, it shows the group icon next to the group-name (meaning it found the group in LDAP), but when users that are members of that group log in to Jenkins, they only have Anonymous permissions.I have ran the groovy script given on the LDAP plugin page here: [https://plugins.jenkins.io/ldap]When given a valid groupname, it will return:{code:java}"It is a GROUP: hudson.security.LDAPSecurityRealm$GroupDetailsImpl@2fb6ea7d"{code}I've tried modifying the loadGroupbyGroupname line and added another line to try and get the members in the group:{code:java}println(" It is a GROUP: " + Jenkins.instance.securityRealm.loadGroupByGroupname(name, true)) println(" Members are : " + Jenkins.instance.securityRealm.loadGroupByGroupname(name).getMembers()){code}But those commands only return:{code:java}It is a GROUP: hudson.security.LDAPSecurityRealm$GroupDetailsImpl@5f1013d0Members are : null{code} How can I get the members in the LDAP group and get these LDAP groups working in Jenkins? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-50128) LDAP permissions working for users but not groups
Title: Message Title Steven Gardner updated an issue Jenkins / JENKINS-50128 LDAP permissions working for users but not groups Change By: Steven Gardner Environment: Jenkins 2.60.2LDAP plugin 1.11 (initially had 1.18 but tried reverting to a previous version) Matrix Authorization Strategy 1.6 (also tried 2.1) Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50128) LDAP permissions working for users but not groups
Title: Message Title Steven Gardner created an issue Jenkins / JENKINS-50128 LDAP permissions working for users but not groups Issue Type: Bug Assignee: Kohsuke Kawaguchi Components: ldap-plugin Created: 2018-03-12 17:58 Environment: Jenkins 2.60.2 LDAP plugin 1.11 Matrix Authorization Strategy 1.6 Priority: Major Reporter: Steven Gardner I have connected Jenkins to our LDAP server in order to manage permissions for users and groups via the security matrix. Currently it is working for individual user accounts but not for groups. When I add an LDAP group to the matrix, it shows the group icon next to the group-name (meaning it found the group in LDAP), but when users that are members of that group log in to Jenkins, they only have Anonymous permissions. I have ran the groovy script given on the LDAP plugin page here: https://plugins.jenkins.io/ldap When given a valid groupname, it will return: "It is a GROUP: hudson.security.LDAPSecurityRealm$GroupDetailsImpl@2fb6ea7d" I've tried modifying the loadGroupbyGroupname line and added another line to try and get the members in the group: println(" It is a GROUP: " + Jenkins.instance.securityRealm.loadGroupByGroupname(name, true)) println(" Members are : " + Jenkins.instance.securityRealm.loadGroupByGroupname(name).getMembers())