Name the authentication modules, and therfore fix up both the build farm
authorAndrew Bartlett <abartlet@samba.org>
Fri, 24 May 2002 13:55:05 +0000 (13:55 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 May 2002 13:55:05 +0000 (13:55 +0000)
and secuirty=server.

I *love* automated testing...

Andrew Bartlett
(This used to be commit c92f4f4d72ffd307ca2d4d792b5e4154f1b85b91)

source3/auth/auth_domain.c
source3/auth/auth_server.c
source3/auth/auth_unix.c
source3/auth/auth_winbind.c

index 69d922db12b7ba88a74839ab8fcd5b609919f66d..b41848076d85857b5b9f12527213cae049a423f2 100644 (file)
@@ -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;
 }
index 0d366a4c0d0d0643204544cde823213080c731da..b31bf7d996042631665fb31094796185ef068435 100644 (file)
@@ -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;
index 9f85bf11fed2b7275912cd4579b23cc36e497172..6f4b3f8b15bb95ac98161f45ce470ba39af4fc7e 100644 (file)
@@ -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;
 }
+
index 2d214c7acac1be03c35f6e800e7dfb8b3e784137..671e198bf59beaf1845f8baaac47527405195392 100644 (file)
@@ -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;
 }