smbclient and Authentication
Derek Broughton
derek at pointerstop.ca
Fri Mar 13 00:06:09 UTC 2009
Martin McCormick wrote:
> I had a smbclient application on a FreeBSD system that
> worked fine with the Windows system it was supposed to
> communicate with. We changed to ubuntu-server in order to get
> better RS-232 performance and certainly got it.
>
> My question is whether the .smbauth file containing the
> user name and Windows password works the same way under Linux
afaik, it doesn't work at all. (there are no .smbauth files on my system)
> that it does under FreeBSD. Under FreeBSD, one uses .smbauth to
> send that information when doing a script. One's Unix password
> as in passwd, has no bearing on this Windows password which is
> in .smbauth. Is there any difference in the way this works under
> ubuntu?
In ubuntu (I doubt it's consistent across Linuxes) you use "smbpasswd" (a
system command not a file) to set passwords for accessing SMB files on
_your_ system. For accessing files on other systems there are various
options - you can use "mount -t cifs" and a credentials file, or KDE stores
a client password and I expect Gnome does something similar.
--
derek
More information about the ubuntu-users
mailing list