1 <?xml version="1.0" encoding="iso8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
5 <!ENTITY % globalentities SYSTEM './../global.ent'> %globalentities;
7 <refentry id="ntlm-auth.1">
10 <refentrytitle>ntlm_auth</refentrytitle>
11 <manvolnum>1</manvolnum>
16 <refname>ntlm_auth</refname>
17 <refpurpose>tool to allow external access to Winbind's NTLM authentication function</refpurpose>
22 <command>ntlm_auth</command>
23 <arg choice="opt">-d debuglevel</arg>
24 <arg choice="opt">-l logfile</arg>
25 <arg choice="opt">-s <smb config file></arg>
30 <title>DESCRIPTION</title>
32 <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
33 <manvolnum>7</manvolnum></citerefentry> suite.</para>
35 <para><command>ntlm_auth</command> is a helper utility that authenticates
36 users using NT/LM authentication. It returns 0 if the users is authenticated
37 successfully and 1 if access was denied. ntlm_auth uses winbind to access
38 the user and authentication data for a domain. This utility
39 is only to be used by other programs (currently squid).
45 <title>OPTIONS</title>
49 <term>--helper-protocol=PROTO</term>
51 Operate as a stdio-based helper
56 <term>--username=USERNAME</term>
58 Specify username of user to authenticate
63 <term>--domain=DOMAIN</term>
65 Specify domain of user to authenticate
70 <term>--workstation=WORKSTATION</term>
72 Specify the workstation the user authenticated from
77 <term>--challenge=STRING</term>
78 <listitem><para>challenge (HEX encoded)</para></listitem>
82 <term>--lm-response=RESPONSE</term>
83 <listitem><para>LM Response to the challenge (HEX encoded)</para></listitem>
87 <term>--nt-response=RESPONSE</term>
88 <listitem><para>NT or NTLMv2 Response to the challenge (HEX encoded)</para></listitem>
92 <term>--password=PASSWORD</term>
93 <listitem><para>User's plaintext password</para></listitem>
97 <term>--request-lm-key</term>
98 <listitem><para>Retreive LM session key</para></listitem>
102 <term>--request-nt-key</term>
103 <listitem><para>Request NT key</para></listitem>
113 <title>VERSION</title>
115 <para>This man page is correct for version 3.0 of the Samba
120 <title>AUTHOR</title>
122 <para>The original Samba software and related utilities
123 were created by Andrew Tridgell. Samba is now developed
124 by the Samba Team as an Open Source project similar
125 to the way the Linux kernel is developed.</para>
127 <para>The ntlm_auth manpage was written by Jelmer Vernooij.</para>