[PATCH][SAMBA4] Fix LDAP backend

Andrew Bartlett abartlet at samba.org
Mon Mar 12 02:14:08 GMT 2007


On Mon, 2007-03-12 at 12:34 +1100, Luke Howard wrote:
> >I've likewise make our LDAP server skip unknown controls, when marked
> >'not critical' on it's input, rather than just dropping the entire
> >request.  I need some help to generate a correct error packet when it is
> >marked critical.
> 
> You should just return LDAP_UNAVAILABLE_CRITICAL_EXTENSION.

Yeah, then we need to restructure our LDAP server, currently it is
difficult to return an error packet at this point.

Hmm, I suppose we need to return the matching messageid and type.  I
suppose that implies that we should parse the controls *after* we parse
the rest of LDAP packet. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070312/38c47b74/attachment.bin


More information about the samba-technical mailing list