smbmount Q

Armand Welsh armand at
Thu Jan 4 07:26:12 GMT 2001

*This message was transferred with a trial version of CommuniGate(tm) Pro*
from the linux prompt, if you have the kernel compiled to support smbmount
(most are) then use:

# mount //computer/share /mountpoint -t smbfs -o username=me -o
password=mypassword -o workgroup=NTdomain

me = your windows username
mypassword = your windows password
NTdomain = the domain is the domain to login to, or use the name of the
windows machine, if you are using a local windows account on the machine.
i.e., to login to an NT workstation named nelson, as the administrator, with
a password of pass, and mount the C$ hidden share to the /net directory on
your linux box the command would be:

# mount //nelson/c$ /net -t smbfs -o username=administrator -o
password=pass -o workgroup=nelson

----- Original Message -----
From: "Schlomo Schapiro" <schapiro at>
To: "Multiple recipients of list SAMBA-NTDOM" <samba-ntdom at>
Sent: Wednesday, January 03, 2001 10:12 PM
Subject: smbmount Q

> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi,
> I am trying to mount a windows share with smbmount (it works
> bascially) but I would like to specify the password on the command line
> (like I can do with smbclient) and not to have to enter it manually. I
> need this to mount Windows shares in order to back them up (I am aware of
> the drawbacks involved).
> Can anybody point out to me how to do this ? Do I have to update my
> mount/smbmount commands (where from) ?
> I saw that samba 2.0.7 comes with smbmnt/smbmount, but they seem to be the
> same as with 2.0.5 (what I currently use).
> Thanks for your help,
> Schlomo
> --
> Schlomo Schapiro
> Computation Authority
> Hebrew University of Jerusalem
> Tel: ++972 / 2 / 65-84404
> Fax:             65-27349
> email: schapiro at
> WWW:

More information about the samba-ntdom mailing list