• Post Reply Bookmark Topic Watch Topic
  • New Topic

Samba Multi User  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Samba question and am hoping someone here can help.
I know how to use Samba and I know the config file pretty good. But what I need to find out is if there is a way to give multiple users with seperate user name and passwords access to the same Samba Share?
Say for instance I have a Share called Music and I need 5 people to be able to access this, but they all need to be able to use their own unique login and password.
Is this possible?
Thanks.
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg,
Maybe something like
valid users=@mygroup
where all 5 users belong to that group specified.

L
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like a good idea. Do you know the exact syntax and location of this information? Is it in the config file? I have not ran across it before. Does anyone know if this works and how to impement it?
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.oreilly.com/catalog/samba/chapter/book/ch06_01.html#ch06-92902
[accounting]
comment = Accounting Department Directory
writeable = yes
valid users = @account
path = /home/samba/accounting
create mode = 0660
directory mode = 0770
where @account == a unix group called account
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh James, that is awesome. Thanks so much!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!