Koozali.org: home of the SME Server

mount samba share on win 2K?

Rob

mount samba share on win 2K?
« on: June 02, 2002, 10:01:33 AM »
Hi

I can mount a network share to win98 fat32 no worrys

but...    the same setup to an ntfs share on a win2k box gives an access deny error even though I have this in /etc/fstab

//pc1/backup   /mnt/mount  smbfs  user=admin,password=password,noauto  0  0
 where there is a user called admin as a member of the administrators group on win2k and share and sequrity permissions are RW to everyone and this user

Any ideas from anyone who has done this successfully?

Des Duggan??

rob

rob

Re: mount samba share on win 2K?
« Reply #1 on: June 02, 2002, 01:27:57 PM »
If i do
mount -t smbfs -o username=,password= /// /

it works

If i define the server/share mntpoint filetype user/password in /etc/fstab and try to mount the share with

mount /mnt/backup (my mountpoint)

it wotks with win98 but not with win2k

???

rob

Kelvin

Re: mount samba share on win 2K?
« Reply #2 on: June 02, 2002, 02:51:06 PM »
Hi Rob,

I just did this exact same thing a couple of hours ago with no problems (to a W2K Server share). The only difference that I can see is my /etc/fstab file entry for the mount point does not include the noauto 0 0 entry that you listed and that my mount point name is called backup :-

//server/backup   /mnt/backup   smbfs username=admin,password=pass

Kelvin

Des Dougan

Re: mount samba share on win 2K?
« Reply #3 on: June 03, 2002, 02:28:45 AM »
Rob,

My fstab has:

//pcname/pcsharename /mnt/backup smbfs username=name,password=pass  0 0

I've had no problems connecting to a Win2K box either. The account and password need to be for the domain, not a local workstation account, FYI. I was using my own userid/password, as my account has (local) administrator rights.


HTH,

Des

Darren

Re: mount samba share on win 2K?
« Reply #4 on: June 03, 2002, 11:41:09 AM »
dont forget to allow the win98 machines to have access to the 2k box and the server.

with 2k only users that are users on the 2k machine can have access to it
i.e if you add a user of admin on the 2k and then login to the win98 as admin you should have access.

i hope this is what your after but it seems to be a common problem

Jeff C

Re: mount samba share on win 2K?
« Reply #5 on: June 03, 2002, 07:14:12 PM »
I'm pretty confused.  

I want to mount a share on a Win2K server "server1", to a shared directory called "backup".  User is "admin" and password is "password"

"Admin" has been added to the Win2K server as an administrative user.

What is the exact syntax for both the mount cmd and also fstab?

-jeff

Des Dougan

Re: mount samba share on win 2K?
« Reply #6 on: June 03, 2002, 07:44:38 PM »
Jeff,

The fstab entry should be similar to this (where /mnt/backup is the mount point on your SME box):

//2Kserver/sharename /mnt/backup smbfs username=admin,password=password  0 0

then running "mount /mnt/backup" from the SME command line should mount the share to the SME box.

Obviously, you will need to share the directory on the 2K box first.

HTH.



Des Dougan