Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need help with samba
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chiatello
Guru
Guru


Joined: 21 Jul 2003
Posts: 321
Location: knoxvegas, tn, AMERIKA

PostPosted: Tue Oct 21, 2003 11:53 pm    Post subject: need help with samba Reply with quote

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
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Oct 22, 2003 12:00 am    Post subject: Reply with quote

Look in /usr/share/doc/samba-X.Y.Z/examples
Back to top
View user's profile Send private message
chiatello
Guru
Guru


Joined: 21 Jul 2003
Posts: 321
Location: knoxvegas, tn, AMERIKA

PostPosted: Wed Jan 07, 2004 1:51 am    Post subject: Reply with quote

looked there, looked on google


no good


anyone?

thanks
Back to top
View user's profile Send private message
compuboy86
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2003
Posts: 79

PostPosted: Wed Jan 07, 2004 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
chio
n00b
n00b


Joined: 24 Dec 2003
Posts: 4

PostPosted: Wed Jan 07, 2004 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
chio
n00b
n00b


Joined: 24 Dec 2003
Posts: 4

PostPosted: Wed Jan 07, 2004 6:45 am    Post subject: Reply with quote

# 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
View user's profile Send private message
chiatello
Guru
Guru


Joined: 21 Jul 2003
Posts: 321
Location: knoxvegas, tn, AMERIKA

PostPosted: Wed Jan 07, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
chiatello
Guru
Guru


Joined: 21 Jul 2003
Posts: 321
Location: knoxvegas, tn, AMERIKA

PostPosted: Wed Jan 07, 2004 10:14 pm    Post subject: Reply with quote

got it working, sweet!

i think it had to dow ith the winns server

https://forums.gentoo.org/viewtopic.php?t=121145

im using the first posters config
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum