From d91065a70bea3019345a7ee91bc92e56b34646b1 Mon Sep 17 00:00:00 2001 From: Joseph Herlant Date: Sat, 4 Mar 2017 17:56:06 -0800 Subject: [PATCH] Fix example typo --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index b018a966..821189bd 100644 --- a/example_test.go +++ b/example_test.go @@ -193,7 +193,7 @@ func Example_userAuthentication() { searchRequest := ldap.NewSearchRequest( "dc=example,dc=com", ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false, - fmt.Sprintf("(&(objectClass=organizationalPerson)&(uid=%s))", username), + fmt.Sprintf("(&(objectClass=organizationalPerson)(uid=%s))", username), []string{"dn"}, nil, )