summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-24 13:55:05 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-24 13:55:05 +0000
commit7ff439756685a8a0b69b25f58e866e03ba0e8699 (patch)
treefede71c8c20400f94f90b3a1c37644c1536c2f60 /source3/auth
parentfac2168b02efda6a71508b3fabdbe1f5f016c34a (diff)
downloadsamba-7ff439756685a8a0b69b25f58e866e03ba0e8699.tar.gz
samba-7ff439756685a8a0b69b25f58e866e03ba0e8699.tar.bz2
samba-7ff439756685a8a0b69b25f58e866e03ba0e8699.zip
Name the authentication modules, and therfore fix up both the build farm
and secuirty=server. I *love* automated testing... Andrew Bartlett (This used to be commit c92f4f4d72ffd307ca2d4d792b5e4154f1b85b91)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c2
-rw-r--r--source3/auth/auth_server.c1
-rw-r--r--source3/auth/auth_unix.c2
-rw-r--r--source3/auth/auth_winbind.c1
4 files changed, 6 insertions, 0 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 69d922db12..b41848076d 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -517,6 +517,7 @@ NTSTATUS auth_init_ntdomain(struct auth_context *auth_context, const char* param
return NT_STATUS_NO_MEMORY;
}
+ (*auth_method)->name = "ntdomain";
(*auth_method)->auth = check_ntdomain_security;
return NT_STATUS_OK;
}
@@ -604,6 +605,7 @@ NTSTATUS auth_init_trustdomain(struct auth_context *auth_context, const char* pa
return NT_STATUS_NO_MEMORY;
}
+ (*auth_method)->name = "trustdomain";
(*auth_method)->auth = check_trustdomain_security;
return NT_STATUS_OK;
}
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 0d366a4c0d..b31bf7d996 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -362,6 +362,7 @@ NTSTATUS auth_init_smbserver(struct auth_context *auth_context, const char* para
if (!make_auth_methods(auth_context, auth_method)) {
return NT_STATUS_NO_MEMORY;
}
+ (*auth_method)->name = "smbserver";
(*auth_method)->auth = check_smbserver_security;
(*auth_method)->get_chal = auth_get_challenge_server;
(*auth_method)->send_keepalive = send_server_keepalive;
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index 9f85bf11fe..6f4b3f8b15 100644
--- a/source3/auth/auth_unix.c
+++ b/source3/auth/auth_unix.c
@@ -125,6 +125,8 @@ NTSTATUS auth_init_unix(struct auth_context *auth_context, const char* param, au
return NT_STATUS_NO_MEMORY;
}
+ (*auth_method)->name = "unix";
(*auth_method)->auth = check_unix_security;
return NT_STATUS_OK;
}
+
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 2d214c7aca..671e198bf5 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -109,6 +109,7 @@ NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param,
return NT_STATUS_NO_MEMORY;
}
+ (*auth_method)->name = "winbind";
(*auth_method)->auth = check_winbind_security;
return NT_STATUS_OK;
}