On Mon, 7 Oct 2002 18:30:02 -0400 (EDT)
dbrett <[EMAIL PROTECTED]> wrote:
> I am trying to connect to an NT server from my linux workstation.
>
> I run the following command
>
> snmbclient //"ntdomain"/server/ "password" -U dbrett -n dbrett -D
> "public directory"
>
> I get the following error
> Connection to "ntdomain" failed
>
> It does try and connect to the right server.
>
>
The general form for smbclient is:
smbclient //server-name/service
For example, to specify the "myfiles" shared directory on the server
whose NETBIOS name was "win.nt.com":
smbclient //win.nt.com/myfiles
Note: the NETBIOS name is not always the same as the IP name.
smbclient -L "server-name" (without the "")
will give you a listing of the "services" available on that server.
The -D option is used for changing to a specified directory on your
machine before starting.
The -n option would be used to if you had to pass your NETBIOS name to
the server.
The -U is is your username that the server knows.
Most of the time
smbclient //<machine-you-want-to-connect-to>/<share-you-want> is
enough. You will be prompted for a password.
Regards,
Tom
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list