summaryrefslogtreecommitdiffstats
path: root/examples/modify.go
diff options
context:
space:
mode:
authorHiroki Uchiumi <uchiumi@estrella.co.jp>2019-10-21 22:07:07 +0200
committerNed McClain <nedmcclain@gmail.com>2019-10-21 22:07:07 +0200
commit3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2 (patch)
tree17bfbe05c522eb33e679a5fe205bba6b5dd67d75 /examples/modify.go
parentAdd support for retrieving all user attributes (#5) (diff)
downloadldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar.gz
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar.bz2
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar.lz
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar.xz
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.tar.zst
ldap-3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2.zip
Diffstat (limited to '')
-rw-r--r--examples/modify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/modify.go b/examples/modify.go
index 87d1119..74296b4 100644
--- a/examples/modify.go
+++ b/examples/modify.go
@@ -23,7 +23,7 @@ var (
Filter string = "(cn=kirkj)"
)
-func search(l *ldap.Conn, filter string, attributes []string) (*ldap.Entry, *ldap.Error) {
+func search(l *ldap.Conn, filter string, attributes []string) (*ldap.Entry, error) {
search := ldap.NewSearchRequest(
BaseDN,
ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false,