Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba Hybrid Security mode
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
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Mar 21, 2010 1:01 pm    Post subject: Samba Hybrid Security mode Reply with quote

Hi,

Has anyone tried configuring Samba in Hybrid security mode before?

I'm trying to figure out how, but there doesn't seem to be any documentation other than a tantalizing tidbit in the html help that says:

Quote:
If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use security = user. If you mostly use usernames that don't exist on the UNIX box then use security = share.

You should also use security = share if you want to mainly setup shares without a password (guest shares). This is commonly used for a shared printer server. It is more difficult to setup guest shares with security = user, see the map to guest parameter for details.

It is possible to use smbd in a hybrid mode where it is offers both user and share level security under different NetBIOS aliases.


This would make it a lot easier for people who log into their computers with a username/password not on my system to be able to connect to some of the public shares while still keeping public shares that need a password closed to them.
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Mar 23, 2010 1:56 pm    Post subject: Reply with quote

perhaps this may help:

http://www.mail-archive.com/samba@lists.samba.org/msg92407.html

I found this googling for "smbd hybrid mode".

Rich
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Mar 23, 2010 5:06 pm    Post subject: Reply with quote

Ugh! Darn you google!

(I was searching for variations on "samba hybrid security mode" :cry: :P )

The suggestion seems like a bit of a dirty hack, but quite a cunning dirty hack :D (I didn't know the %L etc. worked as params too!), I'll have a go with it when I get home :)

Thanks!
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