Tom Strickland
asked on
SMB Network Scanning to Mac Breaks Each Day....Help!
I have a Sharp MX-C300W all-in-one that has the ability to scan to network drives.
The network destination I have set up is on a newer "trashcan" mac running OSX 10.13.4. I have a working user name and password for the share, and am using the server's static IP in the network path.
Scan-Destination.tiff
After setting it all up, it works....that is until the next day I come in to work. Attempting to scan to this same destination after some time has passed throws a CE-04 error code, which apparently means "FTP SERVER ACCOUNT NME OR AUTHENTICATION PASSWORD INPUT ERROR" according to the error code index
The way I solve this every single time is simply by disabling and then instantly re-enabling the SMB sharing on the Mac. This fixes it every time, until enough time has passed and it breaks again.
Any ideas why this is happening? It is so annoying to have to do this every day. If it's a bug in SMB running on the mac, does anyone know a way I can program the mac to automatically turn SMB sharing on and off automatically each day? Would love some help from the experts!
The network destination I have set up is on a newer "trashcan" mac running OSX 10.13.4. I have a working user name and password for the share, and am using the server's static IP in the network path.
Scan-Destination.tiff
After setting it all up, it works....that is until the next day I come in to work. Attempting to scan to this same destination after some time has passed throws a CE-04 error code, which apparently means "FTP SERVER ACCOUNT NME OR AUTHENTICATION PASSWORD INPUT ERROR" according to the error code index
The way I solve this every single time is simply by disabling and then instantly re-enabling the SMB sharing on the Mac. This fixes it every time, until enough time has passed and it breaks again.
Any ideas why this is happening? It is so annoying to have to do this every day. If it's a bug in SMB running on the mac, does anyone know a way I can program the mac to automatically turn SMB sharing on and off automatically each day? Would love some help from the experts!
ASKER
I think you are on to something, however I really don't want to have to force old software onto the newer mac if I can help it. A simple Applescript running automatically every few hours to restart the service would solve the problem, I just need help with the syntax....
I found this on another site but it's not working..
sudo launchctl unload -w /System/Library/LaunchDaem ons/com.ap ple.smbd.p list
sudo launchctl load -w /System/Library/LaunchDaem ons/com.ap ple.smbd.p list
sudo defaults write /Library/Preferences/Syste mConfigura tion/com.a pple.smb.s erver.plis t EnabledServices -array disk
I found this on another site but it's not working..
sudo launchctl unload -w /System/Library/LaunchDaem
sudo launchctl load -w /System/Library/LaunchDaem
sudo defaults write /Library/Preferences/Syste
Maybe you need a pause between disabling and enabling it.
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist
sleep 10
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist EnabledServices -array disk
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://apple.stackexchange.com/questions/240106/how-can-i-switch-back-the-smb-file-service-to-smb1