samba-tool gpo manage motd set failing with invalid handle on s390x
David Mulder
dmulder at samba.org
Tue May 6 14:33:33 UTC 2025
On 5/5/25 4:52 PM, Andreas Hasenack via samba-technical wrote:
> Hi,
>
> I just wrote some tests around the motd GPO subset of commands of
> samba-tool, and am baffled at a failure I'm getting only on s390x (big
> endian).
> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
> 353, in _run
> return self.run(*args, **kwargs)
> ~~~~~~~~^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 3850, in run
> reg.increment_gpt_ini(machine_changed=True)
> ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/policies.py", line 198,
> in increment_gpt_ini
> self.__save_file(self.pol_dir % '', GPT_INI,
> ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> out_data.read().encode('utf-8'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/policies.py", line 99, in
> __save_file
> self.conn.set_acl(file_name, self.fs_sd)
> ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/samba/samba3/libsmb_samba_internal.py",
> line 128, in set_acl
> self.set_sd(fnum, sd, sinfo)
> ~~~~~~~~~~~^^^^^^^^^^^^^^^^^
It's only failing while setting the acls on the GPT.INI file (not the
manifest). What do
the acls look like on GPT.INI?
--
David Mulder
Labs Software Engineer, Samba
SUSE
1221 S Valley Grove Way, Suite 500
Pleasant Grove, UT 84062
(P)+1 385.208.2989
dmulder at suse.com
http://www.suse.com
More information about the samba-technical
mailing list