Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba Questions
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
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Thu Jun 24, 2004 6:00 am    Post subject: Samba Questions Reply with quote

Hey guys,
I just have one really quick question.
In samba is there a way to get samba to not prompt for a username and password when login to the server from a windows machine??
Thanks for the help.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Thu Jun 24, 2004 6:59 am    Post subject: Reply with quote

two ways,
first off you can use the same username and password for your windows account that you are using for your samba and unix accounts. This will then be passed through when you browse the share.
Enable guest access you need
guest user = <a valid samba user>
in the [global] section and either
public = yes
or
guest ok = yes
in the share section. Then make sure the guest user has a corresponding unix user and that that user has permissions in the shares.
Back to top
View user's profile Send private message
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Thu Jun 24, 2004 7:32 am    Post subject: Reply with quote

kewl thanks
Back to top
View user's profile Send private message
RAPUL
l33t
l33t


Joined: 29 Dec 2002
Posts: 664
Location: Valencia (SPAIN)

PostPosted: Thu Jun 24, 2004 9:25 am    Post subject: Hmm... Reply with quote

Mapping windows users to linux user may help you to avoid having all tha same name:

Example. cat /etc/samba/smbusers

Code:

root = administrator admin Administrador administrador
nobody = guest pcguest smbguest
linux_user1 = windows_user1
linux_user2 = windows_user2
...


Where i work we map Administrador (spanish word for Administrator) to root so the Administrator domain controller has full privileges to the linux-machine also.
_________________
Entropy rulz world.
Redundancy sux.
World is full of redundancy.
World sux.
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