summaryrefslogtreecommitdiff
path: root/source3/utils/ntlm_auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-04-12 14:19:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:12 -0500
commit78b5dfadca6d9b69c5e750ce3f31f22ae6a041e2 (patch)
tree59ee3a4d8ead49a84310605badb55211b2c733ed /source3/utils/ntlm_auth.h
parent85a307bb3ea102be24fb1f0ecdc27c9eb08c9ce9 (diff)
downloadsamba-78b5dfadca6d9b69c5e750ce3f31f22ae6a041e2.tar.gz
samba-78b5dfadca6d9b69c5e750ce3f31f22ae6a041e2.tar.bz2
samba-78b5dfadca6d9b69c5e750ce3f31f22ae6a041e2.zip
r177: Split ntlm_auth --diagnostics into a seperate file, so as not to clutter
the main ntlm_auth program. It quite possibly should belong in smbtorture, but relies on the winbind client for now. Andrew Bartlett (This used to be commit 6e1b7a8848062a184ee293cf688135b851f2bd8d)
Diffstat (limited to 'source3/utils/ntlm_auth.h')
-rw-r--r--source3/utils/ntlm_auth.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/utils/ntlm_auth.h b/source3/utils/ntlm_auth.h
new file mode 100644
index 0000000000..a96067fbbb
--- /dev/null
+++ b/source3/utils/ntlm_auth.h
@@ -0,0 +1,27 @@
+/*
+ Samba Unix/Linux NTLM authentication tool
+
+ Copyright (C) 2001 Andrew Bartlett (abartlet@samba.org)
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "../utils/ntlm_auth_proto.h"
+
+/* Some of the popt variables are needed in the diagnostics code */
+extern const char *opt_username;
+extern const char *opt_domain;
+extern const char *opt_workstation;
+extern const char *opt_password;
+