and the /etc/samba/smbpasswd is empty; I have changedpassdb backend = smbpasswd and run smbpasswd again. The error message describe above was displayed again but /etc/samba/smbpasswd was modified this time...

I can access the samba server but i cannot access shared folder.`Contact the administrator of this server to find out...'