Created
October 7, 2019 19:23
-
-
Save CoaxVex/68a48d444a9e9256ceab892d57db5feb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff src/common/utils/ldap/ldap.go | |
diff --git a/src/common/utils/ldap/ldap.go b/src/common/utils/ldap/ldap.go | |
index 512af7618..5afad84cc 100644 | |
--- a/src/common/utils/ldap/ldap.go | |
+++ b/src/common/utils/ldap/ldap.go | |
@@ -221,6 +221,7 @@ func (session *Session) SearchUser(username string) ([]models.LdapUser, error) { | |
u.GroupDNList = groupDNList | |
} | |
+ /* | |
log.Debugf("Searching for nested groups") | |
nestedGroupDNList := []string{} | |
nestedGroupFilter := createNestedGroupFilter(ldapEntry.DN) | |
@@ -240,6 +241,7 @@ func (session *Session) SearchUser(username string) ([]models.LdapUser, error) { | |
u.GroupDNList = append(u.GroupDNList, nestedGroupDNList...) | |
log.Debugf("Done searching for nested groups") | |
+ */ | |
u.DN = ldapEntry.DN | |
ldapUsers = append(ldapUsers, u) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment