Updated dependency versions (viper, cobra, and ldap)
This commit is contained in:
		| @@ -8,7 +8,7 @@ import ( | ||||
| 	"github.com/spf13/cobra" | ||||
| 	"github.com/spf13/viper" | ||||
| 	ldif "github.com/vetinari/ldif" | ||||
| 	ldap "gopkg.in/ldap.v2" | ||||
| 	ldap "github.com/go-ldap/ldap/v3" | ||||
| ) | ||||
|  | ||||
| func init() { | ||||
| @@ -61,7 +61,7 @@ var ldifAddCmd = &cobra.Command{ | ||||
| 			entryDn := entry.DN | ||||
|  | ||||
| 			// create a new LDAP add request | ||||
| 			addRequest := ldap.NewAddRequest(entryDn) | ||||
| 			addRequest := ldap.NewAddRequest(entryDn, nil) | ||||
|  | ||||
| 			// loop through and add the entry attributes | ||||
| 			for _, entryAttr := range entry.Attributes { | ||||
|   | ||||
| @@ -8,7 +8,7 @@ import ( | ||||
| 	"github.com/spf13/cobra" | ||||
| 	"github.com/spf13/viper" | ||||
| 	ldif "github.com/vetinari/ldif" | ||||
| 	ldap "gopkg.in/ldap.v2" | ||||
| 	ldap "github.com/go-ldap/ldap/v3" | ||||
| ) | ||||
|  | ||||
| func init() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user