76c87bd Ticket 47361 - Empty control list causes LDAP protocol error is thrown

Authored and Committed by tbordaz 10 years ago
    Ticket 47361 - Empty control list causes LDAP protocol error is thrown
    
    Bug Description:
    
    	If a request contains a list of controls containing zero control, it does
    	not conform RFC http://tools.ietf.org/html/rfc4511#section-4.1.11. Then the
    	server returns a Protocol Error.
    	This is too restrictive for some applications.
    	Note: such application needs to be linked with old version of mozldap or openldap
    	because recent version skip sending empty list of controls
    
    Fix Description:
    	The fix is to ignore this error and let the operation complete
    
    https://fedorahosted.org/389/ticket/47361
    
    Reviewed by: Rich Megginson (thanks Rich !)
    
    Platforms tested: F17 (unit + acceptance vlv/proxy/managed/psearch/tls/bindcontrol)
    
    Flag Day: no
    
    Doc impact: no
    
        
file modified
+21 -11