diff options
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ func (server *Server) handleSearchInternal(state *State, w ldap.ResponseWriter, // TODO filter out if no permission to read this matched, err := applyFilter(entry, r.Filter()) if err != nil { - return ldap.LDAPResultOperationsError, err + return ldap.LDAPResultUnwillingToPerform, err } if !matched { continue |