From: Andrew Bartlett Date: Thu, 14 Dec 2023 01:50:05 +0000 (+1300) Subject: python/netcmd: Improve documentation for "samba-tool user getpassword" X-Git-Tag: talloc-2.4.2~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8b3b1fed9a30edd16d04b2094ceaf8e3571a7de;p=thirdparty%2Fsamba.git python/netcmd: Improve documentation for "samba-tool user getpassword" Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/netcmd/user/readpasswords/getpassword.py b/python/samba/netcmd/user/readpasswords/getpassword.py index df1eab8abf1..f9624129a7e 100644 --- a/python/samba/netcmd/user/readpasswords/getpassword.py +++ b/python/samba/netcmd/user/readpasswords/getpassword.py @@ -164,7 +164,7 @@ samba-tool user getpassword --filter=samaccountname=TestUser3 --attributes=msDS- } takes_options = [ - Option("--filter", help="LDAP Filter to set password on", type=str), + Option("--filter", help="LDAP Filter to get password for (must match single account)", type=str), Option("--attributes", type=str, help=virtual_attributes_help, metavar="ATTRIBUTELIST", dest="attributes"),