- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba user mapping
Operating System - HP-UX
1821537
Members
2500
Online
109633
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
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
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
01-31-2007 12:53 PM
01-31-2007 12:53 PM
Samba user mapping
I'm having a few issues with mapping my network users via samba to my unix system.
HP-UX 11.23
Samba Version 3.0.14a based HP CIFS Server A.02.02.01 (this was the default install with the os)
My shares are
[vitsys]
path = /opt/local/vitsys
valid users = vitsys
force user = vitsys
public = no
writable = yes
[vituat]
path = /opt/local/vituat
valid users = vituat
force user = vituat
public = no
writable = yes
My /etc/opt/samba/smbusers.map contains:
vitsys = user1 user2
vituat = user3 user4
This only works for the first group of users and not the second. Is there a setting I may have missed regarding the users in the smb.conf?
Thanks
Meg
HP-UX 11.23
Samba Version 3.0.14a based HP CIFS Server A.02.02.01 (this was the default install with the os)
My shares are
[vitsys]
path = /opt/local/vitsys
valid users = vitsys
force user = vitsys
public = no
writable = yes
[vituat]
path = /opt/local/vituat
valid users = vituat
force user = vituat
public = no
writable = yes
My /etc/opt/samba/smbusers.map contains:
vitsys = user1 user2
vituat = user3 user4
This only works for the first group of users and not the second. Is there a setting I may have missed regarding the users in the smb.conf?
Thanks
Meg
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 02:05 PM
02-01-2007 02:05 PM
Re: Samba user mapping
Hi Meg,
It looks like your configuration for samba is correct.
You have your shares set up in the smb.conf file.
You have your groups/mappings set up in the smbusers.map file.
I'm assuming that you have vitsys and vituat set up in the /etc/password file as well or else your first group (vitsys) wouldn't work.
Are the mappings included in your smbusers.map file by chance duplicates of each other?
i.e.
vitsys=user1 user2
vituat=user1 user2
With the info you provided above, this is the only thing that I would think could be causing you a problem. In the smbusers.map file a domain user can only be mapped to one "account/group". It will take the first mapping it encounters as legitimite and all subsequent mappings will be ignored.
Hope this helps.
It looks like your configuration for samba is correct.
You have your shares set up in the smb.conf file.
You have your groups/mappings set up in the smbusers.map file.
I'm assuming that you have vitsys and vituat set up in the /etc/password file as well or else your first group (vitsys) wouldn't work.
Are the mappings included in your smbusers.map file by chance duplicates of each other?
i.e.
vitsys=user1 user2
vituat=user1 user2
With the info you provided above, this is the only thing that I would think could be causing you a problem. In the smbusers.map file a domain user can only be mapped to one "account/group". It will take the first mapping it encounters as legitimite and all subsequent mappings will be ignored.
Hope this helps.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP