diff options
author | Hiroki Uchiumi <uchiumi@estrella.co.jp> | 2019-10-21 22:07:07 +0200 |
---|---|---|
committer | Ned McClain <nedmcclain@gmail.com> | 2019-10-21 22:07:07 +0200 |
commit | 3b3b69a7e9e3a1fc8b36f6545ae4e0f6e6a63fd2 (patch) | |
tree | 17bfbe05c522eb33e679a5fe205bba6b5dd67d75 /examples/modify.go | |
parent | Add support for retrieving all user attributes (#5) (diff) | |
download | ldap-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.go | 2 |
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, |