summaryrefslogtreecommitdiffstats
path: root/examples/searchTLS.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/searchTLS.go')
-rw-r--r--examples/searchTLS.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/searchTLS.go b/examples/searchTLS.go
index 026284c..a20bcc3 100644
--- a/examples/searchTLS.go
+++ b/examples/searchTLS.go
@@ -8,7 +8,7 @@ import (
"fmt"
"log"
- "github.com/johnweldon/ldap"
+ "github.com/juju2013/goldap"
)
var (
@@ -22,7 +22,7 @@ var (
func main() {
l, err := ldap.DialTLS("tcp", fmt.Sprintf("%s:%d", LdapServer, LdapPort), nil)
if err != nil {
- log.Fatalf("ERROR: %s\n", err.String())
+ log.Fatalf("ERROR: %s\n", err.Error())
}
defer l.Close()
// l.Debug = true
@@ -36,7 +36,7 @@ func main() {
sr, err := l.Search(search)
if err != nil {
- log.Fatalf("ERROR: %s\n", err.String())
+ log.Fatalf("ERROR: %s\n", err.Error())
return
}