1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/libcli/ldap
Andrew Bartlett 9b03286b32 r21806: I've been working over the last week to fix up the LDAP backend for
Samba4.  This only broke on global catalog queries, which turned out to
be due to changes in the partitions module that metze needed for his
DRSUAPI work.

I've reworked partitions.c to always include the 'problematic' control,
and therefore demonstrated that this is the issue.  This ensures
consistency, and should help with finding issues like this in future.

As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to
be linearised, I've added logic to allow it to be skipped when creating
network packets.

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.

Further work could perhaps be to have the ldap_encode routine return a
textual description of what failed to encode, as that would have saved
me a lot of time...

Andrew Bartlett
(This used to be commit eef710668f)
2007-10-10 14:49:29 -05:00
..
config.mk r17197: This patch moves the encryption of bulk data on SASL negotiated security 2007-10-10 14:10:18 -05:00
ldap_bind.c r20141: use the gensec_features of the cli_credentials for ildap connections, 2007-10-10 14:29:13 -05:00
ldap_client.c r21806: I've been working over the last week to fix up the LDAP backend for 2007-10-10 14:49:29 -05:00
ldap_client.h r17197: This patch moves the encryption of bulk data on SASL negotiated security 2007-10-10 14:10:18 -05:00
ldap_controls.c r21806: I've been working over the last week to fix up the LDAP backend for 2007-10-10 14:49:29 -05:00
ldap_ildap.c r13609: Get in the initial work on making ldb async 2007-10-10 13:51:59 -05:00
ldap_msg.c r12733: Merge ldap/ldb controls into main tree 2007-10-10 13:49:47 -05:00
ldap_ndr.c r12733: Merge ldap/ldb controls into main tree 2007-10-10 13:49:47 -05:00
ldap.c r21806: I've been working over the last week to fix up the LDAP backend for 2007-10-10 14:49:29 -05:00
ldap.h r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00