[Samba] YASP (Yet Another Samba Problem)
Joe Cipale
joec at aracnet.com
Sun Nov 28 21:22:27 GMT 2004
When I attmept to mount a PC (W2K) share via my fstab, I get the
following error message on the mount:
"Unknown parameter encountered 'file'"
Truth be told , samba is becoming more and more frustrating. The only
thing I have been able to successfully do is to make visible my NFS
mount point across my file server to my W2K machine. I am running SuSE
9.1, Samba 3.02a
Enclosed is a copy of my smb.config and my fstab files:
fstab -
/dev/hda1 / ext3 acl,user_xattr 1 1
/dev/hda6 /data1 auto noauto,user 0 0
/dev/hdb1 /devel ext3 acl,user_xattr 1 2
/dev/hdd1 /sql ext3 acl,user_xattr 1 2
/dev/hda5 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrom /media/cdrom subfs
fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs
fs=floppyfss,procuid,nodev,nosuid,sync 0 0
#################################################
# Samba mount points #
#################################################
196.168.2.197:/royal_share /data/ryl_d smbfs
username=joec,password=tdf_2001,fmask=0666,dmask=0777 0 0
#192.168.2.100:/media/cdrom /cdrom2 nfs defaults 0 0
-----------------------------------------------
smb.conf -
[global]
workgroup = PENGUINIX
hosts allow = 192.168.2.
file = /var/log/samba/log.smb.%m
time server = Yes
encrypt passwords = Yes
load printers = Yes
printing = cups
printcap name = cups
[homes]
comment = Home directories
writeable = Yes
browseable = Yes
[%U]
volume name = %U
path = %H
writeable = Yes
preserve case = Yes
hide dot files = Yes
create mask = 0744
directory mask = 0755
[devel]
comment = Shares on gentoo - devel
volume name = Devel
path = /devel
writeable = Yes
preserve case = Yes
hide dot files = Yes
create mask = 0744
directory mask = 0755
[sql]
comment = Shares on gentoo - sql
volume name = SQL
path = /sql
writeable = Yes
preserve case = Yes
hide dot files = Yes
create mask = 0744
directory mask = 0755
[printers]
comment = All printers
path = /var/spool/samba
browseable = No
public = Yes
guest ok = yes
writable = no
printable = yes
printer admin = root
[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root
[epson]
comment = Line printer
path = /var/spool/samba
printable = Yes
--
#----------------------------------------------------------#
# Penguinix Consulting #
#----------------------------------------------------------#
# Software development, QA and testing. #
# Linux support and training. #
# "Don't fear the penguin!" #
#----------------------------------------------------------#
# Registered Linux user: #309247 http://counter.li.org #
#----------------------------------------------------------#
More information about the samba
mailing list