OS Manuals

/usr/bin/ntlm_auth

Samba winbind client tools

From samba-winbind-clients 4.25.1-r1 (os), captured 2026-11-05 by running ntlm_auth --help (exit 0). permalink

Usage: [OPTION...]
      --helper-protocol=helper protocol to use     operate as a stdio-based
                                                   helper
      --username=STRING                            username
      --domain=STRING                              domain name
      --workstation=STRING                         workstation
      --challenge=STRING                           challenge (HEX encoded)
      --lm-response=STRING                         LM Response to the
                                                   challenge (HEX encoded)
      --nt-response=STRING                         NT or NTLMv2 Response to
                                                   the challenge (HEX encoded)
      --password=STRING                            User's plaintext password
      --request-lm-key                             Retrieve LM session key
                                                   (or, with --diagnostics,
                                                   expect LM support)
      --request-nt-key                             Retrieve User (NT) session
                                                   key
      --use-cached-creds                           Use cached credentials if
                                                   no password is given
      --allow-mschapv2                             Explicitly allow MSCHAPv2
      --offline-logon                              Use cached passwords when
                                                   DC is offline
      --diagnostics                                Perform diagnostics on the
                                                   authentication chain
      --require-membership-of=STRING               Require that a user be a
                                                   member of this group
                                                   (either name or SID) for
                                                   authentication to succeed
      --pam-winbind-conf=STRING                    Require that request must
                                                   set
                                                   WBFLAG_PAM_CONTACT_TRUSTDOM
                                                   when krb5 auth is required
      --target-service=STRING                      Target service (eg http)
      --target-hostname=STRING                     Target hostname

Help options:
  -?, --help                                       Show this help message
      --usage                                      Display brief usage message

Common debug options:
  -d, --debuglevel=DEBUGLEVEL                      Set debug level
      --debug-stdout                               Send debug output to
                                                   standard output

Config file:
      --configfile=CONFIGFILE                      Use alternative
                                                   configuration file

Options:
      --option=name=value                          Set smb.conf option from
                                                   command line

Version options:
  -V, --version                                    Print version
Options (25)
OptionDescriptionSource
--helper-protocol helperoperate as a stdio-based helperhelp
--username STRINGusernamehelp
--domain STRINGdomain namehelp
--workstation STRINGworkstationhelp
--challenge STRINGchallenge (HEX encoded)help
--lm-response STRINGLM Response to the challenge (HEX encoded)help
--nt-response STRINGNT or NTLMv2 Response to the challenge (HEX encoded)help
--password STRINGUser's plaintext passwordhelp
--request-lm-keyRetrieve LM session key (or, with --diagnostics, expect LM support)help
--request-nt-keyRetrieve User (NT) session keyhelp
--use-cached-credsUse cached credentials if no password is givenhelp
--allow-mschapv2Explicitly allow MSCHAPv2help
--offline-logonUse cached passwords when DC is offlinehelp
--diagnosticsPerform diagnostics on the authentication chainhelp
--require-membership-of STRINGRequire that a user be a member of this group (either name or SID) for authentication to succeedhelp
--pam-winbind-conf STRINGRequire that request must set WBFLAG_PAM_CONTACT_TRUSTDOM when krb5 auth is requiredhelp
--target-service STRINGTarget service (eg http)help
--target-hostname STRINGTarget hostnamehelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage message.help + man
-d, --debuglevel DEBUGLEVELSet debug levelhelp
--debug-stdoutThis will redirect debug output to STDOUT.help + man
--configfile CONFIGFILEThe file specified contains the configuration details required by the client.help + man
--option name=valueSet the smb.conf(5) option "<name>" to value "<value>" from the command line.help + man
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.