mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
9b03286b32
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
|
||
---|---|---|
.. | ||
config.mk | ||
ldap_bind.c | ||
ldap_client.c | ||
ldap_client.h | ||
ldap_controls.c | ||
ldap_ildap.c | ||
ldap_msg.c | ||
ldap_ndr.c | ||
ldap.c | ||
ldap.h |