s3:libsmb: let the callers only pass the password string to cli_session_setup[_send]()
[samba.git] / source3 / nmbd / nmbd_synclists.c
index 0135afc2f0a584952f3cffb985d610e93c659b89..bba1bc1ebec096f865dd425fe0ceae7eff8cfd2c 100644 (file)
@@ -95,7 +95,7 @@ static void sync_child(char *name, int nm_type,
                return;
        }
 
-       if (!NT_STATUS_IS_OK(cli_session_setup(cli, "", "", 1, "", 0,
+       if (!NT_STATUS_IS_OK(cli_session_setup(cli, "", "",
                                               workgroup))) {
                cli_shutdown(cli);
                return;