Kirkwood, David A | 1 Sep 2004 21:58
Picon
Favicon

smbmount

I have a linux system that, unfortunately lives in a mostly microsoft world.
I have samba enabled and can share my disks out with all the proper
permissions etc just fine. However,  on occassion I need files from a
windows server. The documentation for smbmount seems to indicate that I can
connect to the windows system if I know some wins information such as the
machine ID. How do I find this if I only know th ip, or better still what is
the syntax of the command I need to execute on the linux system. The remote
system is a windows server, but I don't know the version of the O/S.

As always, all help is appreciated.

Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Scott Taylor | 1 Sep 2004 22:56

Re: smbmount


Oops.  Forgot
man nmblookup
also

findsmb works real well too
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Scott Taylor | 1 Sep 2004 22:43

Re: smbmount


Kirkwood, David A said:

> The documentation for smbmount seems to indicate that I
> can connect to the windows system if I know some wins information such
as the machine ID. How do I find this if I only know th ip, or better
still what is the syntax of the command I need to execute on the linux
system. The remote system is a windows server, but I don't know the
version of the
>  O/S.

man smbclient

You can use smbclient -L (IP)

nmap is also nice to search the entire network for nmb clients. ;)

If it is an NT based windoze you will probably need a user name and
password, at least a username (maybe not) for Win9x

Knowing more about your network always helps.

--
Scott

--
Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

JULIAN, JOHN C (AIT | 1 Sep 2004 22:20
Picon

RE: smbmount

You need to know a login and password for the box.
The machine name as found on the win box by: right click "my computer" /
properties / network identification.  I think you can use an IP address
instead of the name.
The share name of whatever you are trying to mount.

linux syntax to mount on /mnt/winbox is:
mount -t smbfs //windowsid/sharename /mnt/winbox -o
username=winlogin,password=apassword,ro

The ,ro is make it read only. You can leave that off for read/write.

John Julian

-----Original Message-----
From: linux-admin-owner <at> vger.kernel.org
[mailto:linux-admin-owner <at> vger.kernel.org] On Behalf Of Kirkwood, David
A
Sent: Wednesday, September 01, 2004 3:59 PM
To: 'Linux Mail List'
Subject: smbmount

I have a linux system that, unfortunately lives in a mostly microsoft
world.
I have samba enabled and can share my disks out with all the proper
permissions etc just fine. However,  on occassion I need files from a
windows server. The documentation for smbmount seems to indicate that I
can
connect to the windows system if I know some wins information such as
the
(Continue reading)


Gmane