解決測試 Samba Server 設定檔時出現的提示訊息

在使用 testparm 測試 Samba Server 設定檔時會出現如下的提示訊息
# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section “[homes]”
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions[@more@]解決方式:
修改 /etc/security/limits.conf 設定檔
# vim /etc/security/limits.conf
加入下面一行
*                –       nofile          16384

重新啟動電腦後,就不會再出現了!
# testparm
Load smb config files from /etc/samba/smb.conf
Processing section “[homes]”
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions