HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba configuration many to one Unix account
Operating System - HP-UX
1837650
Members
2857
Online
110117
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-23-2000 03:18 AM
05-23-2000 03:18 AM
samba configuration many to one Unix account
I need to setup a samba environment that will
map one unix share to multi. users on two NT domains.
The NT domains are a trusted pair and I need to grant read only access to domain A while granting read/write access to domain b.
I have set up security = domain but having problems mounting the share to all 450 users in the correct read-only or read/write mode depending on which NT domain the are in.
The Unix share is a singal directory in which we want to store jpeg images. The unix account exist and I do not want to spend time mapping 400 windows user accounts to a single unix account.
Any help is appreciated
map one unix share to multi. users on two NT domains.
The NT domains are a trusted pair and I need to grant read only access to domain A while granting read/write access to domain b.
I have set up security = domain but having problems mounting the share to all 450 users in the correct read-only or read/write mode depending on which NT domain the are in.
The Unix share is a singal directory in which we want to store jpeg images. The unix account exist and I do not want to spend time mapping 400 windows user accounts to a single unix account.
Any help is appreciated
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2000 03:43 AM
05-23-2000 03:43 AM
Re: samba configuration many to one Unix account
A while ago, I worked for a company where they had a similar problem. If I remember well, they solved it by creating different groups in /etc/netgroup, each having their own permissions. Disadvantage was that it works with hostnames, not with usernames.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2000 03:48 AM
05-23-2000 03:48 AM
Re: samba configuration many to one Unix account
Thanks, I will take a look at netgroup options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2000 06:40 AM
05-26-2000 06:40 AM
Re: samba configuration many to one Unix account
A couple of notes:
Samba has an 'add user script' (and 'delete user script') option that can be used when security=domain that allows smb to create a UNIX account on the fly when they authenticate properly via a domain controller.
There are also variables that are expanded in the smb.conf on a per connect basis that you may find usefull. %g (and the slightly different %G) provides the primary group of the connecting user. Using these, you can include group specific access information pretty much anywhere in smb.conf by using an include, e.g.
include /etc/smb.conf.%g
Sorry I can't be more specific, but your options are really unlimited. See the man page on smb.conf for more information.
mwa
Samba has an 'add user script' (and 'delete user script') option that can be used when security=domain that allows smb to create a UNIX account on the fly when they authenticate properly via a domain controller.
There are also variables that are expanded in the smb.conf on a per connect basis that you may find usefull. %g (and the slightly different %G) provides the primary group of the connecting user. Using these, you can include group specific access information pretty much anywhere in smb.conf by using an include, e.g.
include /etc/smb.conf.%g
Sorry I can't be more specific, but your options are really unlimited. See the man page on smb.conf for more information.
mwa
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP