Help Mounting W2K Shares on Linux Box

Simo Sorce simo.sorce at polimi.it
Wed Mar 7 17:25:01 GMT 2001


On Wed, 7 Mar 2001, Johnson, Byron G. wrote:

> I've asked this question of this list before and have made some progress.
> Here is where I now stand.
>
> I am trying to mount W2K shares (ntfs partitions) on my linux box running
> Samba 2.0.7. I also have a couple of W2K fat32 shares and get the same
> results with them.
>
> When I try to mount a W2K share using the mount command, here is what I get:
> [root at linux /root]# mount -t ntfs -o username="valid_account",
> password="valid_password"  -L\\bgjohnson\D$ /mnt/bgjohnson-D
> mount: no such partition found

you mean -t smbfs !!!
ntfs is on the physical disk, but remember you see it through the network
via smb protocol!!!

>
> When I try to mount a W2K share using the smbmount command, here is what I
> get:
> [root at linux /root]# smbmount \\\\bgjohnson\\D$ /mnt/bgjohnson-D
> Password:
> session setup failed: ERRDOS - ERRnoaccess
> SMB connection failed

aren't you forgetting the username here?

> When I access the same share using smbclient, same userid and password, it
> works:
> [root at linux /root]# smbclient //bgjohnson/D$
> -U"valid_account"%"valid_password"
> smb:
>
> Any ideas / suggestions.
>
>

Simo.

-- 
Simo Sorce - Linux Systems Consultant
E-mail: simo.sorce at polimi.it
Tel: +39 0348 7149179 - Fax: +39 02 700442399
-----------------------------------------------------------------
Be happy, use Linux!





More information about the samba-ntdom mailing list