This commit is contained in:
1 parent
ba5e949a9e
commit
2e8335c97d
1 file changed
+1
@@ -246,6 +246,7 @@ func main() {
|
||||
// Since we have a successful connection, try getting group membership
|
||||
groups, err := GetGroupsOfUser(*username, *baseDN, ldaps)
|
||||
if err != nil {
|
||||
output.AuthSuccess = false
|
||||
output.Results = err.Error()
|
||||
} else {
|
||||
output.Groups = strings.Join(groups[:], ",")
|
||||
|
||||
Reference in new issue
Block a user