From 469fe5a802d61523b40dbb29bb8012a6b99b06b5 Mon Sep 17 00:00:00 2001 From: ned Date: Wed, 10 Dec 2014 18:04:18 -0700 Subject: Tolerate DerefAliases requests w/o falling over --- server_search.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server_search.go') diff --git a/server_search.go b/server_search.go index a7d78ac..4dda9a3 100644 --- a/server_search.go +++ b/server_search.go @@ -37,8 +37,7 @@ func HandleSearchRequest(req *ber.Packet, controls *[]Control, messageID uint64, if server.EnforceLDAP { if searchReq.DerefAliases != NeverDerefAliases { // [-a {never|always|search|find} - // Server DerefAliases not supported: RFC4511 4.5.1.3 - return NewError(LDAPResultOperationsError, errors.New("Server DerefAliases not supported")) + // TODO: Server DerefAliases not supported: RFC4511 4.5.1.3 } if searchReq.TimeLimit > 0 { // TODO: Server TimeLimit not implemented -- cgit v1.2.3