Skip to content

Commit

Permalink
Use gopkg.in/ldap.v3 3.1.0
Browse files Browse the repository at this point in the history
Include GitHub #136: Require explicit intention for empty password.
  • Loading branch information
danielnelson committed Oct 23, 2019
1 parent 5a6fe14 commit 7d6ea20
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@
name = "gopkg.in/gorethink/gorethink.v3"
version = "3.0.5"

[[constraint]]
name = "gopkg.in/ldap.v2"
version = "2.5.1"

[[constraint]]
name = "gopkg.in/mgo.v2"
branch = "v2"
Expand Down Expand Up @@ -301,3 +297,7 @@
[[constraint]]
branch = "master"
name = "github.com/cisco-ie/nx-telemetry-proto"

[[constraint]]
name = "gopkg.in/ldap.v3"
version = "3.1.0"
3 changes: 1 addition & 2 deletions plugins/inputs/openldap/openldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ import (
"strconv"
"strings"

"gopkg.in/ldap.v2"

"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/internal/tls"
"github.com/influxdata/telegraf/plugins/inputs"
"gopkg.in/ldap.v3"
)

type Openldap struct {
Expand Down
3 changes: 1 addition & 2 deletions plugins/inputs/openldap/openldap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import (
"strconv"
"testing"

"gopkg.in/ldap.v2"

"github.com/influxdata/telegraf/testutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/ldap.v3"
)

func TestOpenldapMockResult(t *testing.T) {
Expand Down

0 comments on commit 7d6ea20

Please sign in to comment.