python/netcmd: Improve documentation for "samba-tool user getpassword"
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Dec 2023 01:50:05 +0000 (14:50 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 21 Dec 2023 02:05:38 +0000 (02:05 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/user/readpasswords/getpassword.py

index df1eab8abf13acb7dae98924b326fc9814ccd26d..f9624129a7e277a45ae1538f36fee16f84ed1e57 100644 (file)
@@ -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"),