Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 在Debian 10服务器上配置Team Foundation Server到SAMBA共享路径的备份错误_Sql Server_Tfs_Samba - Fatal编程技术网

Sql server 在Debian 10服务器上配置Team Foundation Server到SAMBA共享路径的备份错误

Sql server 在Debian 10服务器上配置Team Foundation Server到SAMBA共享路径的备份错误,sql-server,tfs,samba,Sql Server,Tfs,Samba,我在debian 10中配置了samba 4(不加入域),配置文件为smb.conf: [global] bind interfaces only = yes interfaces = 10.0.2.0/24 workgroup = SAMBA idmap config * : backend = tdb cups options = raw encrypt passwords = yes

我在debian 10中配置了samba 4(不加入域),配置文件为smb.conf:

[global]
        bind interfaces only = yes
        interfaces = 10.0.2.0/24
        workgroup = SAMBA
        idmap config * : backend = tdb
        cups options = raw
        encrypt passwords = yes
        logging = file
        smb encrypt = required
        keep alive = 50
        log file = /root/samba/%m.log
        max log size = 100000
        security = user
        map to guest = Bad User

[server]
        path = /server
        writeable = yes
        read only = no
        browsable = yes
        directory mask = 0770
        create mask = 0770
        valid users = juan
在tfs(windows server 2012)中,我使用建议的路径配置备份,直到出现以下错误:

error:TF401002: The SQL Server Database Engine was unable to save the database backup in path \\ .... Give the SQL service account read and write access to that folder
我转到数据库服务器,没有访问权限的帐户如下:

NT服务\SQLAgent$SQLTEAM2013

如前所述,为该帐户授予samba共享文件夹的权限

错误:TF401002:SQL Server数据库引擎无法在路径\…中保存数据库备份。。。。授予SQL服务帐户对该文件夹的读写权限

sql帐户似乎没有足够的权限

据我所知,
NT服务\SQLAgent$xxx
帐户是一个安全的帐户。此帐户的用户权限较低

通常,此帐户对共享路径文件夹没有读写权限

您可以尝试授予此帐户的权限,并检查它是否可以解决此问题

此外,还需要确保目标路径有效。例如:
\\TFS2018\backup

可能会有帮助


希望这有帮助。

用英语发布错误;Stack Overflow是一个英文网站。由于您发布了错误的图像,我们甚至无法通过谷歌翻译(我们建议不要这样做),这意味着我们无法帮助您使用您的语言。@ortiga,这个问题有更新吗?如果我的回答能给你一些帮助,请随时告诉我。只是一个提醒。