1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/python
Douglas Bagnall 473502d170 pytest: sid_strings: Windows does allow lowercase s-1-... SIDs
And so should we.

Right now, these tests won't pass against Windows because they rely on
ldb pre-parsing of the SIDs, so they fail before Windows gets to see
them. Running them against Windows looks something like this, BTW:

    SAMBA_SID_STRINGS_SKIP_LOCAL=1  \
    SMB_CONF_PATH=st/ad_dc/etc/smb.conf \
    PYTHONPATH=bin/default/python \
    DC_SERVER=192.168.122.126 \
    DC_USERNAME=Administrator DC_PASSWORD='xxx' \
    python3 python/samba/tests/sid_strings.py

When things are right, the only failing tests should be from the
SidStringBehavioursThatSambaPrefers suite.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10763

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-05-07 23:25:35 +00:00
..
examples python: Remove redundant assignments 2022-05-10 05:19:34 +00:00
samba pytest: sid_strings: Windows does allow lowercase s-1-... SIDs 2024-05-07 23:25:35 +00:00
modules.c Use python.h from libreplace 2023-11-20 15:37:33 +00:00
modules.h python: Remove const from PyList_AsStringList() 2023-07-21 05:23:32 +00:00
py3compat.h Use python.h from libreplace 2023-11-20 15:37:33 +00:00
pyglue.c pyglue: Remove unnecessary declaration 2024-04-21 22:10:36 +00:00
wscript pyglue: Export some GKDI constants 2023-12-21 20:21:34 +00:00