- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to limit the samba access to particular ip add...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 11:16 AM
тАО08-05-2009 11:16 AM
I am running samba server in HPUX 11.00, and it is integrated with ADS.
Samba shares are being accessed by all systems (all ip address).
But now i want to limit the samba access to particular users.
how to do this.
pls explain me step by step.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 11:34 AM
тАО08-05-2009 11:34 AM
Solutionhttp://www.faqs.org/docs/securing/chap29sec284.html
which has, in part....
hosts deny = ALL
The option hosts deny specifies the list of hosts that are not permitted access to Samba services unless the specific services have their own lists to override this one. For simplicity, we deny access to all hosts by default, and allow specific hosts in the hosts allow = option below.
hosts allow = 192.168.1.4 127.0.0.1
The option hosts allow specifies which hosts are permitted to access a Samba service. By default, we allow hosts from IP class C 192.168.1.4 and our localhost 127.0.0.1 to access the Samba server. Note that the localhost must always be set or you will receive some error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 06:51 PM
тАО08-05-2009 06:51 PM
Re: how to limit the samba access to particular ip address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 11:21 PM
тАО08-05-2009 11:21 PM
Re: how to limit the samba access to particular ip address
If you are saying particular users, then there is a
valid Users option in the smb.conf file
you can list all the valid users
# EDI-Share, only EDI users
[ediin]
comment = EDI Users Only
path = /prod/sqlcom/ediin
public = no
writable = yes
printable = no
browseable = yes
guest ok = no
valid users = user1 user2 user3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 11:35 PM
тАО08-05-2009 11:35 PM
Re: how to limit the samba access to particular ip address
First thing is, they should have unix account on SAMBA server and the unix account should be added to samba account database using smppasswd command.
Second thing is, you can give access to specific users for specific shares. There is a parameter called "valid users" under each share. You can specify the users there you want to give access.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 12:47 AM
тАО08-06-2009 12:47 AM
Re: how to limit the samba access to particular ip address
Check the smb.conf-The configuration file for the Samba suite from the below link:
http://linux.die.net/man/5/smb.conf
Rdgs-Kranti