smbclient actually checks LOGNAME before USER, despite what the documentation says. Do you happen to have LOGNAME set? Does forcing LOGNAME to the right value fix the issue?
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org