Samba

安裝 CIFS 只是掛起沒有詳細的輸出

  • July 11, 2018

我解除安裝了我們的共享驅動器以調試一些不可變的文件並且它不允許重新安裝(即使在重新啟動之後並且該條目在 fstab 文件中已經存在多年)。我正在嘗試手動執行此操作,並在下面列出了我的流程:

要安裝設備:

mount -t cifs //xxx.xxx/storage/Public_WWW /data/www/dynamic.xxx.xxx.ca/ --verbose -o credentials=/etc/samba/mha.cred

這只是掛起一個不提供錯誤輸出。但是當我查看日誌時:

當我查看 samba 日誌時,我收到以下錯誤消息:

 kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed
[2018/07/11 14:06:46.452928,  0] libads/kerberos_util.c:101(ads_kinit_password)
 kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed
[2018/07/11 14:07:54.499816,  0] libads/kerberos_util.c:101(ads_kinit_password)
 kerberos_kinit_password XXX-PUBLIC1$@XXX.LOCAL failed: Preauthentication failed

我能想到的唯一一件事是密碼或使用者名發生了我不知何故錯過的更改?今天花了很多時間,希望有人可以快速回答我。

請查看您的 cifs 客戶端和伺服器系統之間是否存在任何時間差異。Kerberos 預認證使用時間戳。如果相差幾秒以上,則預認證失敗。

引用自:https://serverfault.com/questions/920551