Skip to content

Commit

Permalink
Merge pull request #39 from datadrivers/ldap-fix-wrong-attribute-name
Browse files Browse the repository at this point in the history
LDAP: Fix wrong attribute name UseSubtree -> UserSubtree
  • Loading branch information
Nosmoht authored Jul 6, 2020
2 parents ca1dc38 + 879517a commit 06fe0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ type LDAP struct {
Port uint `json:"port"`
Protocol string `json:"protocol"`
SearchBase string `json:"searchBase"`
UseSubtree bool `json:"userSubtree,omitempty"`
UseTrustStore bool `json:"useTrustStore,omitempty"`
UserBaseDN string `json:"userBaseDn,omitempty"`
UserEmailAddressAttribute string `json:"userEmailAddressAttribute,omitempty"`
Expand All @@ -43,6 +42,7 @@ type LDAP struct {
UserObjectClass string `json:"userObjectClass,omitempty"`
UserPasswordAttribute string `json:"userPasswordAttribute,omitempty"`
UserRealNameAttribute string `json:"userRealNameAttribute,omitempty"`
UserSubtree bool `json:"userSubtree,omitempty"`
}

func (c *client) LDAPList() ([]LDAP, error) {
Expand Down

0 comments on commit 06fe0cb

Please sign in to comment.