I posted about this in the Help & Support forum but I was ignored for the last two weeks. I also filed a bug report (https://bugs.freenas.org/issues/3396) but that has been ignored as well. I was hoping someone here could reproduce this and/or comment about whether there is a plan to fix it since it impacts a very common use case for FreeNAS.
In short, when I create a CIFS share and enable anonymous access via the guest account I experience strange permission failures when accessing the share from a remote machine. Files can be created but not renamed or deleted. This causes applications to leave behind temporary files (such as gvim which creates files named "4913").
If I go into the guest account settings and uncheck "Disable password login" (followed by a reboot) then the permission problems disappear and instead I get the following errors in the console:
Nov 9 12:54:48 freenas smdb[3282]: [2013/11/09 12:54:48.237419, 0] ../libcli/auth/ntlm_check.c:54(smb_pwd_check_ntlmv1)
Nov 9 12:54:48 freenas smdb[3282]: smb_pwd_check_ntlmv1: incorrect password length (74)
Nov 9 12:54:48 freenas smdb[3282]: [2013/11/09 12:54:48.237938, 0] ../libcli/auth/ntlm_check.c:54(smb_pwd_check_ntlmv1)
Nov 9 12:54:48 freenas smdb[3282]: smb_pwd_check_ntlmv1: incorrect password length (74)
The bug report has more information and shows the steps needed to reproduce this issue (which I have done several times after starting with a fresh installation of FreeNAS). I never had a problem with FreeNAS-8.0.2-RELEASE which I used for two years before recently upgrading to FreeNAS-9.1.1-RELEASE.
In short, when I create a CIFS share and enable anonymous access via the guest account I experience strange permission failures when accessing the share from a remote machine. Files can be created but not renamed or deleted. This causes applications to leave behind temporary files (such as gvim which creates files named "4913").
If I go into the guest account settings and uncheck "Disable password login" (followed by a reboot) then the permission problems disappear and instead I get the following errors in the console:
Nov 9 12:54:48 freenas smdb[3282]: [2013/11/09 12:54:48.237419, 0] ../libcli/auth/ntlm_check.c:54(smb_pwd_check_ntlmv1)
Nov 9 12:54:48 freenas smdb[3282]: smb_pwd_check_ntlmv1: incorrect password length (74)
Nov 9 12:54:48 freenas smdb[3282]: [2013/11/09 12:54:48.237938, 0] ../libcli/auth/ntlm_check.c:54(smb_pwd_check_ntlmv1)
Nov 9 12:54:48 freenas smdb[3282]: smb_pwd_check_ntlmv1: incorrect password length (74)
The bug report has more information and shows the steps needed to reproduce this issue (which I have done several times after starting with a fresh installation of FreeNAS). I never had a problem with FreeNAS-8.0.2-RELEASE which I used for two years before recently upgrading to FreeNAS-9.1.1-RELEASE.