summaryrefslogtreecommitdiff
path: root/source3/auth/auth_info.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-11-25 03:01:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-11-25 03:01:14 +0000
commit1b1b8e39b2ce4bf32517e7178ca18b3fd8fecd03 (patch)
tree6e319eafb2c2b802fa98245cd973aa275c177811 /source3/auth/auth_info.c
parente92823610acb138ca63648f04a57427f8dbf0b41 (diff)
downloadsamba-1b1b8e39b2ce4bf32517e7178ca18b3fd8fecd03.tar.gz
samba-1b1b8e39b2ce4bf32517e7178ca18b3fd8fecd03.tar.bz2
samba-1b1b8e39b2ce4bf32517e7178ca18b3fd8fecd03.zip
Add the PDC end of the smbtorture test for creating an NT_STATUS -> DOS error
map. This little authentication module is #ifdef DEVELOPER, becouse it really is of no use execept as a development tool invoke by setting: auth methods = guest sam name_to_ntstatus in the smb.conf file (the SAM and guest elements are required for the member server to authenticate itself). Andrew Bartlett (This used to be commit 9807e66f34c1088399657060977e384c5a7f0664)
Diffstat (limited to 'source3/auth/auth_info.c')
-rw-r--r--source3/auth/auth_info.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/auth/auth_info.c b/source3/auth/auth_info.c
index 12b843d781..b1c994d54f 100644
--- a/source3/auth/auth_info.c
+++ b/source3/auth/auth_info.c
@@ -31,6 +31,9 @@ const struct auth_init_function builtin_auth_init_functions[] = {
{ "smbserver", auth_init_smbserver },
{ "ntdomain", auth_init_ntdomain },
{ "winbind", auth_init_winbind },
+#ifdef DEVELOPER
+ { "name_to_ntstatus", auth_init_name_to_ntstatus },
+#endif
{ NULL, NULL}
};