Friday, February 3, 2017

Xerox Scan to Folder via SMB with Windows Server 2016

Setting up a new Server 2016 file server, unable to get a Xerox WorkCentre 7220 to scan to it via SMB. This took a bit of troubleshooting, the copier was reporting invalid credentials and nothing was working. I had tried all combinations of IP vs Hostname, forward/backslashes, DOMAIN\username and username@domain, etc. There was a time mismatch between the server and copier, but after resolving that it was still not working. Ultimately i ended up running Wireshark on the server and found that the copier was trying to establish an SMB connection first to the IP address of the server, then to SMBSERVER (which is not the hostname of my server...).

Some googling came up with a few options, one of which would be to add SMBSERVER as an alternate NetBIOS name for the server. This included reducing some security levels and enabling some other things in the registry that didn't sound like a good idea. Instead, on a hunch, i switched the port from 139 (default) to 445. After switching the port, it worked as expected. Below are the settings that ended up working:

Server: SERVERNAME.domain.local : 445
Share: TheShareName
Document Path: Documents/Scans (no leading slash, and i used forward slashes)
Login Name: DOMAIN\username (we use a dedicated scans user)

See here: