Use NTSTATUS as return value for smb_register_*() functions and init_module()
[metze/samba/wip.git] / source3 / auth / auth_server.c
index a311f01dc3f15293fdc978d4e7900cdc7bdad30e..73af290af2aaeca6840d8c92f42326358358ba6b 100644 (file)
@@ -401,7 +401,7 @@ NTSTATUS auth_init_smbserver(struct auth_context *auth_context, const char* para
        return NT_STATUS_OK;
 }
 
-int auth_server_init(void)
+NTSTATUS auth_server_init(void)
 {
-       return smb_register_auth("smbserver", auth_init_smbserver, AUTH_INTERFACE_VERSION);
+       return smb_register_auth(AUTH_INTERFACE_VERSION, "smbserver", auth_init_smbserver);
 }