1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba
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
..
emulate python:samba:emulate: Fix code spelling 2023-06-23 13:44:31 +00:00
gp python: Fix invalid escape sequences 2023-08-30 02:15:29 +00:00
gp_parse python:samba:gp_parse: Fix code spelling 2023-06-23 13:44:31 +00:00
kcc python: Fix spelling 2023-08-30 02:15:29 +00:00
netcmd samba-tool: Remove useless return 2023-08-30 02:15:29 +00:00
provision python: Remove unused imports 2023-08-30 02:15:29 +00:00
samba3 python:samba:samba3: Fix code spelling 2023-06-23 13:44:31 +00:00
subunit python: Remove unused imports 2023-08-30 02:15:29 +00:00
tests pytest/dns_aging: Correctly check that record is tombstoned 2023-08-30 02:15:29 +00:00
__init__.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
auth_util.py python: fix slow's mail address 2020-06-05 10:32:30 +00:00
colour.py python/colour: add a colour diff helper 2023-08-24 02:53:31 +00:00
common.py python/samba/common: Fix typos 2023-03-03 01:07:36 +00:00
dbchecker.py python: Fix code spelling 2023-07-13 05:41:36 +00:00
descriptor.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
dnsresolver.py DNS Resolver: support both dnspython before and after 2.0.0 2020-10-26 18:33:40 +00:00
dnsserver.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
domain_update.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
drs_utils.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
forest_update.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
functional_level.py samba-tool domain: Clean up code 2023-05-18 01:03:37 +00:00
getopt.py samba-tool: Use samba.glue.get_burnt_cmdline rather than regex 2023-07-21 05:23:32 +00:00
graph.py python: Fix invalid escape sequences 2023-08-30 02:15:29 +00:00
hostconfig.py python/hostconfig: remove 'from __future__ import absolute_import' 2021-04-28 03:43:34 +00:00
idmap.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
join.py python:join: Fix references to undefined variables 2023-08-30 02:15:29 +00:00
logger.py py/samba/logger: respect NO_COLOR env variable 2022-09-06 21:12:36 +00:00
mdb_util.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
ms_display_specifiers.py python/samba: Avoid resource leak 2023-03-03 01:07:36 +00:00
ms_forest_updates_markdown.py python:samba: Fix code spelling 2023-06-23 14:51:14 +00:00
ms_schema_markdown.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ms_schema.py python/samba: adapt ms_schema[_markdown].py to the latest schema definitions 2023-03-22 22:10:32 +00:00
ndr.py python/samba/ndr: add ndr_deepcopy() helper 2023-03-22 15:01:32 +00:00
ntacls.py python: Remove redundant backslashes 2023-08-30 02:15:29 +00:00
policies.py python: Fix reference to undefined name ‘samba’ 2023-08-30 02:15:29 +00:00
remove_dc.py python: Fix spelling 2023-08-30 02:15:29 +00:00
safe_tarfile.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
samdb.py python: Remove redundant backslashes 2023-08-30 02:15:29 +00:00
schema.py setup/ad-schema: add the latest v1803 and v1903 schema files from Microsoft 2023-03-22 22:10:32 +00:00
sd_utils.py sd_utils: fix typo in get_sd_as_sddl docstring 2023-03-31 07:25:32 +00:00
sites.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
subnets.py python: Handle LdbError thrown from functions operating on DNs 2022-10-05 04:23:32 +00:00
tdb_util.py samba-tool domain provision: better message if tdbbackup missing 2022-09-06 21:12:36 +00:00
trust_utils.py Add CreateTrustedDomainRelax wrapper for fips mode 2020-11-06 10:02:35 +00:00
upgrade.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
upgradehelpers.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
uptodateness.py py/uptodateness: more details in missing dn report 2022-07-28 06:18:43 +00:00
xattr.py python/xattr: Properly process system.posix_acl_access 2022-05-10 05:19:34 +00:00