Ubuntu

為什麼 Quickbooks 可以在 Ubuntu 上工作,但在 Fedora 上不行?

  • August 22, 2016

我有兩個 Samba 伺服器。一個是執行帶有 Samba 版本 4.3.9-Ubuntu 的 Ubuntu 14.04;另一個執行 Fedora 24 和 Samba 版本 4.4.5。

我可以在 Ubuntu 伺服器上儲存和使用 Quickbooks 2016 公司文件,但不能在 Fedora 伺服器上。我可以在兩者上讀取和寫入其他文件,但 Quickbooks 在 Fedora 伺服器上創建和打開 Quickbooks 文件時存在某種連接問題。錯誤程式碼是-6000-832-83。我嘗試使用 Windows 8 中的 Quickbooks。

Fedora 的 smb.conf:

netbios name = micah
hosts allow = ALL
...
[global]
   workgroup = SAMBA
   security = user

   passdb backend = tdbsam

   printing = cups
   printcap name = cups
   load printers = yes
   cups options = raw
...
[quickbooks]
   path = /home/shares/quickbooks
   valid users = @quickbooksgroup, matts, liquidadmin
   guest ok = no
   writable = yes
   browsable = yes
   force create mode = 0777
#   force security mode = 0777
   force directory mode = 0777

Ubuntu的:

[global]
   unix password sync = yes
   passwd program = passwd %u
   workgroup = WORKGROUP
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
[shared]
   path = /home/shares/shared
   valid users = @everybody
   guest ok = no
   writable = yes
   browsable = yes
   force create mode = 0777
   force security mode = 0777
   force directory mode = 0777

兩台伺服器有什麼區別?

我將所有這些從 Ubuntu 複製到 Fedora,它現在可以工作了:

unix password sync = yes
passwd program = passwd %u
passwd program = /usr/bin/passwd %u
workgroup = WORKGROUP
server string = %h server (Samba, Fedora)
dns proxy = no
syslog = 0
server role = standalone server
obey pam restrictions = yes
passwd chat = *Enter\snew\s*\spassword:* %n\n     *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
map to guest = bad user
usershare allow guests = yes

引用自:https://unix.stackexchange.com/questions/304547