View previous topic :: View next topic |
Author |
Message |
chiatello Guru
Joined: 21 Jul 2003 Posts: 321 Location: knoxvegas, tn, AMERIKA
|
Posted: Tue Oct 21, 2003 11:53 pm Post subject: need help with samba |
|
|
ok heres the deal guys, ive only gotten samba to work 1 time with the configuration i want over about 20 trys lol
( i lost the config that worked )
but basically
i just want a samba config, that will share folder X,to anyone on the LAN
with NO passwords, and full read/write access |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Oct 22, 2003 12:00 am Post subject: |
|
|
Look in /usr/share/doc/samba-X.Y.Z/examples |
|
Back to top |
|
|
chiatello Guru
Joined: 21 Jul 2003 Posts: 321 Location: knoxvegas, tn, AMERIKA
|
Posted: Wed Jan 07, 2004 1:51 am Post subject: |
|
|
looked there, looked on google
no good
anyone?
thanks |
|
Back to top |
|
|
compuboy86 Tux's lil' helper
Joined: 03 Apr 2003 Posts: 79
|
Posted: Wed Jan 07, 2004 5:14 am Post subject: |
|
|
I highly recommend you follow the swat + xinietd mini-howto and use swat to set things up. However, your basic, run of the mill conf is posted below for your convience.
[global]
workgroup = WORKGROUP
netbios name = HOSTNAME
server string = Fileserver
encrypt passwords = Yes
wins support = yes
hosts allow = 192.168.1.0/24 (if you only want access from your subnet)
[share]
path = /location/to/share
read only = No
guest ok = Yes |
|
Back to top |
|
|
chio n00b
Joined: 24 Dec 2003 Posts: 4
|
Posted: Wed Jan 07, 2004 5:40 am Post subject: |
|
|
read only = yes
guest only = yes
admin users = your user
dont forget to set your users in "smbusers"
for example
root = administrator
nobody = gast
Then set a smbpassword for your guest account (nobody)
smbpasswd -a gast
i post a complete config in about an hour |
|
Back to top |
|
|
chio n00b
Joined: 24 Dec 2003 Posts: 4
|
Posted: Wed Jan 07, 2004 6:45 am Post subject: |
|
|
# Global parameters
[global]
netbios name = gentoo
server string = Goily Gentoo
workgroup = games
security = SHARE
encrypt passwords = Yes
map to guest = Bad User
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
character set = ISO8859-15
os level = 2
kernel oplocks = No
printing = lprng
[free4all]
comment = see what i have
path = /home/gast
# username = user
# admin users = admin
read only = Yes
guest user = Yes
guest access = Yes
# create mask = 0700
only user = No
guest only = Yes
gl should work.. |
|
Back to top |
|
|
chiatello Guru
Joined: 21 Jul 2003 Posts: 321 Location: knoxvegas, tn, AMERIKA
|
Posted: Wed Jan 07, 2004 9:41 pm Post subject: |
|
|
thanks chio, i tried it but im still getting the same problem that ive had
i have no idea why though
ill show a screen shot
http://68.34.211.190/pictures/dontwork.jpg |
|
Back to top |
|
|
chiatello Guru
Joined: 21 Jul 2003 Posts: 321 Location: knoxvegas, tn, AMERIKA
|
|
Back to top |
|
|
|