1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python
Joseph Sutton 472d80c1c9 pytest/dns_aging: Correctly check that record is tombstoned
We were passing in as the name parameter to assert_tombstoned() an NDR
Python object, rather than a string. This meant that the LDAP search
filter would look something like this:

(&(objectClass=dnsNode)(name=<dnsp.DnssrvRpcRecord talloc based object at 0x29abee0>))

and we would fail to find any records.

These searches should have a better chance of working if we pass in the
name of the record instead.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-08-30 02:15:29 +00:00
..
examples python: Remove redundant assignments 2022-05-10 05:19:34 +00:00
samba pytest/dns_aging: Correctly check that record is tombstoned 2023-08-30 02:15:29 +00:00
modules.c python: Check return value of talloc_strndup() 2023-08-08 04:39:37 +00:00
modules.h python: Remove const from PyList_AsStringList() 2023-07-21 05:23:32 +00:00
py3compat.h py3compat: remove obsolete comments 2021-03-17 17:10:32 +00:00
pyglue.c pyglue: Add missing whitespace in docstrings 2023-08-08 04:39:37 +00:00
wscript python: Add glue.burn_commandline() method 2023-07-21 05:23:32 +00:00