s3-auth: Split out get_user_sid_info3_and_extra() from create_local_nt_token_from_info3()
[amitay/samba.git] / source3 / modules / vfs_shell_snap.c
index a8c292544194fa6cb98a2a0b3d36ec19262e7a73..2273652b360a8520307e3eb007c777260c7733de 100644 (file)
@@ -59,7 +59,7 @@ static NTSTATUS shell_snap_check_path(struct vfs_handle_struct *handle,
                goto err_tmp_free;
        }
 
-       ret = smbrun(cmd_run, NULL);
+       ret = smbrun(cmd_run, NULL, NULL);
        if (ret != 0) {
                DEBUG(0, ("%s failed with %d\n", cmd_run, ret));
                status = NT_STATUS_NOT_SUPPORTED;
@@ -116,7 +116,7 @@ static NTSTATUS shell_snap_create(struct vfs_handle_struct *handle,
                goto err_tmp_free;
        }
 
-       ret = smbrun(cmd_run, &fd);
+       ret = smbrun(cmd_run, &fd, NULL);
        talloc_free(cmd_run);
        if (ret != 0) {
                if (fd != -1) {
@@ -178,7 +178,7 @@ static NTSTATUS shell_snap_delete(struct vfs_handle_struct *handle,
                return NT_STATUS_NO_MEMORY;
        }
 
-       ret = smbrun(cmd_run, NULL);
+       ret = smbrun(cmd_run, NULL, NULL);
        talloc_free(cmd_run);
        if (ret != 0) {
                return NT_STATUS_UNSUCCESSFUL;