Apply the changes to libsmbclient that derrell has contributed. Fix some