I am having a similiar issue but a little different. Here is my configuration. I have a HP Laptop and a Xerox 6505DN. I am NOT connected to a network or anything else for that matter.
I have connceted the Xerox 6505 printer via IPV4 to the laptop. Laptop is 192.168.1.40 and the printer is 192.168.1.80. I am NOT running any type of domain.
My issue is this. I cannot scan from the Xerox. I get the dreaded SMB Login Error Error 031-522. I have created a folder at C:\scans and given permissions to all the people who have accounts on this one machine.
On the Xerox, i have created an entry in the Computer Server address book,
Name: XXXX
Server Type : SMB
Host address of 192.168.1.20
Port #: 445
Login name: as it appeared in the shared permissions list
login password: THIS MIGHT BE MY ISSUE. I AM CONFUSED ON WHAT TO PUT HERE. THE PASSWORD FOR THE USER LOGIN NAME ON THE PC, A NEW PASSWORD OR THE PIN OF THE CONTROL PANEL OF THE PRINTER?
Name of shared directory: Scans
Subdirectory: C:\scans
Any all help would be greatly appreciated!!!!!!!!!!!!