The Samba-Bugzilla – Bug 8813
Inconsitency between manual page and real usage with credentials file
Last modified: 2012-03-15 08:49:37 UTC
The credentials file should be in the form
In the man page(http://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html) is says "username", not "user"
Also, it should be mentioned that the password cannot be followed by a newline, and it must be the last thing in the file(in the example in the manual, it has a newline after it, to add the domain)