diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-24 13:55:05 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-24 13:55:05 +0000 |
commit | 7ff439756685a8a0b69b25f58e866e03ba0e8699 (patch) | |
tree | fede71c8c20400f94f90b3a1c37644c1536c2f60 /source3/auth | |
parent | fac2168b02efda6a71508b3fabdbe1f5f016c34a (diff) | |
download | samba-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.c | 2 | ||||
-rw-r--r-- | source3/auth/auth_server.c | 1 | ||||
-rw-r--r-- | source3/auth/auth_unix.c | 2 | ||||
-rw-r--r-- | source3/auth/auth_winbind.c | 1 |
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; } |