Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hosts Allow option to samba::server::share #73

Open
vollmerk opened this issue Aug 26, 2016 · 5 comments
Open

Add Hosts Allow option to samba::server::share #73

vollmerk opened this issue Aug 26, 2016 · 5 comments

Comments

@vollmerk
Copy link

Would love to see the ability to define the hosts allow (per share)

@ajjahn
Copy link
Owner

ajjahn commented Nov 18, 2016

@vollmerk Could you provide a an example of this in smb.conf?

@vollmerk
Copy link
Author

Sure

[iprestrictedshare]
  path = /var/private
  hosts allow = 127. 10.10.2. 10.10.3.

See https://www.samba.org/samba/docs/using_samba/ch06.html hosts allow and hosts deny

@vollmerk
Copy link
Author

... the use case is a share that contains 'sensitive' data that should only be accessed from the office, while the rest can be accessed from other locations

@bigbigbang
Copy link
Contributor

+1 interested in this feature

@bigbigbang
Copy link
Contributor

#79 correct this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants