summaryrefslogtreecommitdiff
path: root/source4/auth/auth_sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_sam.c')
-rw-r--r--source4/auth/auth_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index 636935e0b9..7cba6e83b3 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -631,7 +631,7 @@ NTSTATUS auth_sam_init(void)
ops.name = "sam";
ops.init = auth_init_sam;
- 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));
@@ -640,7 +640,7 @@ NTSTATUS auth_sam_init(void)
ops.name = "sam_ignoredomain";
ops.init = auth_init_sam_ignoredomain;
- 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));