1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python
Tim Beale f2f0ebb073 provision: Fallback to assumption root-UID==zero
Which is not a terrible assumption to make. The super-user on linux will
always have UID of zero, however, the super-user will not necessarily be
called "root".

This makes the provision/join commands work better when run in a
container. (And while deploying Samba in a container is perhaps not the
smartest move, this gives us some versatility when testing Samba).

This is needed to get the provision commands working in the domain_backup
tests when run with USE_NAMESPACES=1.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-05-31 05:18:21 +00:00
..
examples PY3: change shebang to python3 in misc dirs 2018-12-14 18:00:40 +01:00
samba provision: Fallback to assumption root-UID==zero 2019-05-31 05:18:21 +00:00
samba_external
modules.c python/modules: maintain correct refcount for path items 2019-01-29 13:45:32 +01:00
modules.h python: Create macro to hide ugly function signature cast 2019-05-16 17:55:16 +00:00
py3compat.h python: Add new compat PYARG_STR_UNI format 2019-01-13 00:40:26 +01:00
pyglue.c squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
wscript build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00