Hi all.
Well first off i am using a cobalt qube 3 sever which uses linux 2.4 (thats why am here) and this is what i want to know?
How do i add a second hard drive to use for unrestricted file sharing?
By this i mean no user privileges/rights, etc.. etc.. etc.. just a free for all area.
I have been able to get my new hard drive partitioned, formated and mounted as "/home1" and i have started editing the smb.conf file to share the whole drive out.
I have been able to get it so i can view the share in my win xp machine but i am not able to write anything to it, i get access denied. This is the code i added to the bottom if the smb.conf file, what am i doing wrong?
;;start unrestricted area.
[Shared]
comment = shared drive
available = 1
path = /home1
guest only = yes
writable = yes
browsable = yes
public = yes
create mask = 777
directory mask = 777
guest ok = true
;;end unrestricted area.
____________________________________________________________________
-----------------------------------------------------------------------------------------------
here is a copy of my smb.conf file, which may help.
-----------------------------------------------------------------------------------------------
; Samba Configuration
; Revision 1.0 for the 2700RJ,
jdblair@cobaltnet.com 17.oct.98
;
; DO NOT USE THE \ CONTINUATION! THE QUBE PARSING CODE WILL CHOKE ON IT!
;
[global]
max connections = 25
guest account = guest-share
client code page = 850
workgroup = LOANE-NET
domain logons = no
domain master = no
wins support = no
printer admin = @winshare
log file = /var/log/samba/log
time server = yes
logon home = \\%L\%U
logon path = \\%L\profiles\%U\profile
add user script = /sbin/addWindowsMachine.pl
domain admin group = @winshare
username map = /etc/samba/smbusers
nt acl support = yes
map to guest = bad user
server string = Cobalt Qube 3
os level = 1
short preserve case = yes
preserve case = yes
local master = yes
lock directory = /var/lock/samba
locking = yes
strict locking = yes
security = user
socket options = TCP_NODELAY
max log size = 5000
veto files = /Network Trash Folder/.AppleDouble/.AppleDesktop/Icon
/
encrypt passwords = yes
dead time = 5
debug level = 1
dns proxy = no
local master = yes
preferred master = yes
alternate permissions = no
browseable = yes
case sensitive = no
default case = upper
delete readonly = yes
follow symlinks = yes
locking = yes
mangle case = no
map hidden = yes
map system = yes
oplocks = yes
preserve case = yes
short preserve case = yes
strict locking = yes
delete veto files = yes
wide links = yes
security mask = 777
directory security mask = 777
;
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0755
;
;;home begin -- do not edit this line
[home]
available = 1
comment = share for home
valid users = admin @home
create mask = 664
directory mask = 775
path = /home/groups/home
writeable = yes
;;guest ok = true
;
;;home end -- do not edit this line
;;guest-share begin -- do not edit this line
[guest-share]
available = 1
comment = share for guest-share
create mask = 664
directory mask = 775
path = /home/groups/guest-share
writeable = yes
guest ok = true
;
;;guest-share end -- do not edit this line
;;restore begin -- do not edit this line
[restore]
available = 1
comment = share for restore
valid users = admin @restore
create mask = 664
directory mask = 775
path = /home/groups/restore
writeable = yes
;;guest ok = true
;
;;restore end -- do not edit this line
[netlogon]
browseable = yes
comment = Network Logon Service
guest ok = yes
writeable = no
share modes = no
path = /home/netlogon
[profiles]
guest ok = no
writeable = yes
path = /home/profiles
;;start printers section. DO NOT EDIT THIS LINE
[printers]
available = 0
path = /var/spool/samba
print ok = yes
printing = lprng
load printers = yes
guest ok = no
printcap file = /etc/printcap
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
;;end printers section. DO NOT EDIT THIS LINE
;;start print section. DO NOT EDIT THIS LINE
[print$]
path = /usr/local/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = @winshare,root
;;end print section. DO NOT EDIT THIS LINE
;;start unrestricted area.
[Shared]
comment = shared drive
available = 1
path = /home1
guest only = yes
writable = yes
browsable = yes
public = yes
create mask = 777
directory mask = 777
guest ok = true
;;end unrestricted area.
____________________________________________________________________
-----------------------------------------------------------------------------------------------