1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00
Joseph Sutton 150d457b55 ldb: Work around inconsistent behaviour in PyObject_AsMessageElement()
PyObject_AsMessageElement() has ‘flags’ and ‘attr_name’ parameters to
set properties of the returned MessageElement, but they apply only
*sometimes*.

‘attr_name’ not being set can result in cryptic and misleading error
messages from various ldb operations.

Changing the function’s behaviour to be more consistent could break
existing code, so we work around the issue instead.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-08-08 04:39:37 +00:00
..
2022-02-24 09:15:34 +00:00
2020-07-02 10:38:34 +00:00
2018-05-23 02:27:12 +02:00
2023-04-05 02:10:35 +00:00
2023-04-11 09:06:35 +00:00
2023-04-11 09:06:35 +00:00
2023-04-04 07:31:36 +00:00
2023-04-11 09:06:35 +00:00
2023-04-11 09:06:35 +00:00
2019-02-26 10:39:24 +01:00