smbmount

smbmount

am 01.09.2004 21:58:51 von DAVID.A.KIRKWOOD

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: smbmount

am 01.09.2004 22:20:39 von jj2195

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@vger.kernel.org
[mailto:linux-admin-owner@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
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: smbmount

am 01.09.2004 22:43:19 von Scott Taylor

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: smbmount

am 01.09.2004 22:56:02 von Scott Taylor

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html