s4: auth: Add TALLOC_CTX * to auth_register()
[nivanova/samba-autobuild/.git] / source4 / auth / ntlm / auth_unix.c
index 5fb8b4f5dde61b42069312d4d7d2bfc97d0878aa..ad780bafc826b6ac6efa28c49d5a94cb905d3097 100644 (file)
@@ -755,7 +755,7 @@ _PUBLIC_ NTSTATUS auth4_unix_init(TALLOC_CTX *ctx)
 {
        NTSTATUS ret;
 
-       ret = auth_register(&unix_ops);
+       ret = auth_register(ctx, &unix_ops);
        if (!NT_STATUS_IS_OK(ret)) {
                DEBUG(0,("Failed to register unix auth backend!\n"));
                return ret;