Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba: one password for different win98 machines
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
Pegasus
n00b
n00b


Joined: 19 Jun 2002
Posts: 3

PostPosted: Wed Jun 19, 2002 12:16 pm    Post subject: samba: one password for different win98 machines Reply with quote

Hi,
I want to give some win98 machines access to a directory on my linux server. But because most win98-users don't know there username, i want to use one username. Is it possible to force samba to use a special account so that the win98-users dont have to enter a username, only a password? (like the 'win98-way-of-sharing-a-directory')
I've read something about "user=" ?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Jun 19, 2002 2:20 pm    Post subject: Reply with quote

you can make a share that doesn't even require a password.

there is an example in the smb.conf file (public or tmp or something)

u can also use:
guest ok = yes

and there's a security section
security=user
change that to
security=share

give it a go.
Back to top
View user's profile Send private message
Pegasus
n00b
n00b


Joined: 19 Jun 2002
Posts: 3

PostPosted: Wed Jun 19, 2002 5:46 pm    Post subject: Reply with quote

thank you,
but i need some security: There are over 200 machines on this network, and i only want a couple of them to be able to access my computer. i could select them using their ip's but we"re using DHCP (so i'd rather not use this method).
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jun 20, 2002 1:03 am    Post subject: Reply with quote

why don't you use samba to create a domain server, and then log your win98 machines onto the domain ?

you can add users to your samba file by using

smbpasswd -a {username} (make sure they are a local linux user too)

then in your samba conf file use
security = user

users = {usernames}

I have a win98 machine here.. I'll check it out and let you know..

you should experiment and see what works for you
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jun 20, 2002 1:21 am    Post subject: Reply with quote

taskara wrote:
why don't you use samba to create a domain server, and then log your win98 machines onto the domain ?


That's unnecessarily complex and may not be possible due to administrative policy on his large network.

Add an account on your Gentoo box for these Win98 machines, set the password (using passwd) to what you want, and add the line "user = [mynewaccount]" to that Samba share. (You may have to be in "security = share", as well; I'm not sure.) According to "man smb.conf", it should compare the supplied password with the passwords of the account(s) specified, and upon matching give the remote user the same filesystem permissions as the local user would have.
Back to top
View user's profile Send private message
Pegasus
n00b
n00b


Joined: 19 Jun 2002
Posts: 3

PostPosted: Thu Jun 20, 2002 9:35 am    Post subject: Reply with quote

thank you,
that's exactly what i needed.
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