- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is it possible to map multiple users to multip...
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
тАО10-20-2004 03:55 AM
тАО10-20-2004 03:55 AM
Is it possible to map multiple users to multiple unix ids?
Most of the users do NOT have unix ids...so I map those to a genreic id.
What I need to do, is allow someone to be mapped to 2 or more unix id's.
IE, in username.map:
hrprd = user1, user2, user3
hrqa = user3, user4
Then in the share I have:
[hrprd]
valid users = hrprd
[hrqa]
valid users = hrqa
What happens is, user3 trys to acces hrqa share - and it fails:
[2004/10/13 11:18:55, 2] smbd/service.c:(331)
Invalid username/password for hrqa [hrprd]
So, it looks like user3 is matched only to the first occurance of user3 in username.map.
Any work arounds?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 03:58 AM
тАО10-20-2004 03:58 AM
Re: Is it possible to map multiple users to multiple unix ids?
We have an os user called
issapps
We do smbpasswd -a issapps password
Distribute the user id and password to authorized users.
Many users whether or not they have unix id's can access shares authorized for this user.
We don't set authorized users on shares. We controll access with permissions, user groups and such.
It kinda gets around the issue. If I understand it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 05:00 AM
тАО10-20-2004 05:00 AM
Re: Is it possible to map multiple users to multiple unix ids?
The HP CIFS Server 3 - T.30.PV.02 is based on the popular open source software Samba version 3.0.5.
The issue has gone away....I have mapped my id to multiple unix ids - no issues...
Now to decide if I want to put a PV in production....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 05:06 AM
тАО10-20-2004 05:06 AM
Re: Is it possible to map multiple users to multiple unix ids?
We faced this problem some time ago and decided to go for the group approach.
The thing is that you can create a unix group for each of your samba shares and make the users belong to required group/s.
Then you only need to grant access to the share based on the unix group and not the UID (user)
Cheers,
Javi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 05:11 AM
тАО10-20-2004 05:11 AM
Re: Is it possible to map multiple users to multiple unix ids?
Thanks anyways...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 09:19 PM
тАО10-20-2004 09:19 PM
Re: Is it possible to map multiple users to multiple unix ids?
The smb.conf man page contains a couple of useful comments under the "username map" section. One is that the Windows usernames should be white space separated, ie not comma separated.
The other is that you can use a * to wildcard, but this is more useful if you are mapping all remaining users to a single id.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 12:46 AM
тАО10-21-2004 12:46 AM
Re: Is it possible to map multiple users to multiple unix ids?
So far, only solution I have is CIFS based on Samba 3.05...
I tried latest 2.2 from HP - 2.2.12 based HP CIFS Server A.01.11.03 - still doesn't work...
Rgds...Geoff