Update smb.py

Updated to show the error message in the user and group boxes if debugging is enabled otherwise just display the value 'Unknown' to the user.