summaryrefslogtreecommitdiff
path: root/source4/auth/auth_builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_builtin.c')
-rw-r--r--source4/auth/auth_builtin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/auth_builtin.c b/source4/auth/auth_builtin.c
index c67b9b6835..56c465cfae 100644
--- a/source4/auth/auth_builtin.c
+++ b/source4/auth/auth_builtin.c
@@ -177,7 +177,7 @@ NTSTATUS auth_builtin_init(void)
ops.name = "guest";
ops.init = auth_init_guest;
- ret = register_backend("auth", &ops);
+ ret = auth_register(&ops);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register '%s' auth backend!\n",
ops.name));
@@ -187,7 +187,7 @@ NTSTATUS auth_builtin_init(void)
#ifdef DEVELOPER
ops.name = "name_to_ntstatus";
ops.init = auth_init_name_to_ntstatus;
- ret = register_backend("auth", &ops);
+ ret = auth_register(&ops);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register '%s' auth backend!\n",
ops.name));
@@ -196,7 +196,7 @@ NTSTATUS auth_builtin_init(void)
ops.name = "fixed_challenge";
ops.init = auth_init_fixed_challenge;
- ret = register_backend("auth", &ops);
+ ret = auth_register(&ops);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register '%s' auth backend!\n",
ops.name));