1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/python
Andrew Bartlett 0c1ac19776 samba-tool user getpassword: Clarify success wording
It may be the case that there was no password, or read access to the
password was not permitted.  The structure of the code and the pattern
in LDIF that missing information is simply returned as missing
attributes makes it hard to detect and communicate a clear
error here, particularly as an error may not be wanted if
(say) pwdLastSet is queried on a gMSA that we can not read.

So we just make the string to indicate, as I think it was meant,
that the tool ran to compleation.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 29 05:07:45 UTC 2024 on atb-devel-224
2024-02-29 05:07:45 +00:00
..
examples python: Remove redundant assignments 2022-05-10 05:19:34 +00:00
samba samba-tool user getpassword: Clarify success wording 2024-02-29 05:07:45 +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 python: Generate HRESULT definitions automatically 2024-01-15 01:56:53 +00:00
wscript pyglue: Export some GKDI constants 2023-12-21 20:21:34 +00:00