1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/ldap_server
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
..
devdocs r20407: the oMObjectClass values are not padded to 10 bytes! 2007-10-10 14:30:24 -05:00
config.mk r19522: Remove gensec and credentials dependency from the rootdse module (less 2007-10-10 14:24:44 -05:00
ldap_backend.c r21496: A number of ldb control and LDAP changes, surrounding the 2007-10-10 14:48:44 -05:00
ldap_bind.c r21511: this seems to be the nicer fix for the problem with 2007-10-10 14:48:47 -05:00
ldap_extended.c r17930: Merge noinclude branch: 2007-10-10 14:16:54 -05:00
ldap_server.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_server.h r17237: - keep pointer to the different sockets 2007-10-10 14:10:22 -05:00