[Samba] Windows 98 HDD shared from Samba

Gagneet Singh gagneet at acmet.com
Sun Apr 28 20:38:02 GMT 2002


Hi!
  I have two hard drives on my machine which I am using as a file server.
The first HDD contains the RH Linux 7.2 distribution and the second contains
Windows 98, the previous OS that I was using on the machine.
  I have created a mount in the '/etc/fstab' file and the drives on the
second disk are visible over the intranet, when I try to access it on the
network.
  The main problem comes when I have to save anything on that drive. It
gives an 'Access Denied' message and I am unable to write anything to this
drive. The '/etc/fstab' and '/etc/samba/smb.conf' files are given below:

****************************************************************************
# Samba config file created using SWAT
# from LinuxServer (127.0.0.1)
# Date: 2002/04/23 20:04:13

# Global parameters
[global]
	workgroup = LACME
	netbios name = LINUXSERVER
	server string = Samba Server
	encrypt passwords = Yes
	password level = 8
	username level = 8
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	domain logons = Yes
	dns proxy = No
	wins support = Yes
	admin users = gagneet
	create mask = 0765
	hosts allow = 192.168.1.
	printing = lprng

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[gagneet]
	comment = Gagneet's Account
	path = /home/gagneet
	username = gagneet
	valid users = gagneet
	read only = No
	guest ok = Yes
	hosts allow = 192.168.1.53
	hide unreadable = Yes
	fstype = vfat

[wp]
	comment = Windows Partion Account
	path = /mnt/wp
	username = gagneet
	valid users = gagneet
	read only = No
	create mask = 0777
	directory mask = 0777
	inherit permissions = Yes
	guest ok = Yes
	hosts allow = 192.168.1.53
	fstype = vfat
	dos filemode = Yes
***************************************************************************

***************************************************************************

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdb3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0
0
/dev/hdc1		/mnt/wp/drivec		vfat	defaults	0 0
/dev/hdc5		/mnt/wp/drived		vfat	defaults	0 0
/dev/hdc6		/mnt/wp/drivee		vfat	defaults	0 0
****************************************************************************

  Please advice on how to access my Windows drive with writeable
permissions. I have given the /mnt/wp folder full permissions with 'chmod
777 /mnt/wp'.

Gagneet Singh
Email : gagneet at acmet.com





More information about the samba mailing list