1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY % globalentities SYSTEM '../global.ent'> %globalentities;
6 <refentry id="ntlm-auth.1">
9 <refentrytitle>ntlm_auth</refentrytitle>
10 <manvolnum>1</manvolnum>
15 <refname>ntlm_auth</refname>
16 <refpurpose>tool to allow external access to Winbind's NTLM authentication function</refpurpose>
21 <command>ntlm_auth</command>
22 <arg choice="opt">-d debuglevel</arg>
23 <arg choice="opt">-l logfile</arg>
24 <arg choice="opt">-s <smb config file></arg>
29 <title>DESCRIPTION</title>
31 <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
32 <manvolnum>7</manvolnum></citerefentry> suite.</para>
34 <para><command>ntlm_auth</command> is a helper utility that authenticates
35 users using NT/LM authentication. It returns 0 if the users is authenticated
36 successfully and 1 if access was denied. ntlm_auth uses winbind to access
37 the user and authentication data for a domain. This utility
38 is only to be used by other programs (currently squid).
44 <title>OPTIONS</title>
48 <term>--helper-protocol=PROTO</term>
50 Operate as a stdio-based helper
55 <term>--username=USERNAME</term>
57 Specify username of user to authenticate
62 <term>--domain=DOMAIN</term>
64 Specify domain of user to authenticate
69 <term>--workstation=WORKSTATION</term>
71 Specify the workstation the user authenticated from
76 <term>--challenge=STRING</term>
77 <listitem><para>challenge (HEX encoded)</para></listitem>
81 <term>--lm-response=RESPONSE</term>
82 <listitem><para>LM Response to the challenge (HEX encoded)</para></listitem>
86 <term>--nt-response=RESPONSE</term>
87 <listitem><para>NT or NTLMv2 Response to the challenge (HEX encoded)</para></listitem>
91 <term>--password=PASSWORD</term>
92 <listitem><para>User's plaintext password</para></listitem>
96 <term>--request-lm-key</term>
97 <listitem><para>Retreive LM session key</para></listitem>
101 <term>--request-nt-key</term>
102 <listitem><para>Request NT key</para></listitem>
112 <title>VERSION</title>
114 <para>This man page is correct for version 3.0 of the Samba
119 <title>AUTHOR</title>
121 <para>The original Samba software and related utilities
122 were created by Andrew Tridgell. Samba is now developed
123 by the Samba Team as an Open Source project similar
124 to the way the Linux kernel is developed.</para>
126 <para>The ntlm_auth manpage was written by Jelmer Vernooij.</para>