- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba username mapping
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
тАО11-25-2003 12:16 AM
тАО11-25-2003 12:16 AM
I have a problem with user mapping in samba.
security = server to a Win NT domain.
this is working fine
we have the same UID├В┬┤s/account on unix as on windows,
but just a few people are registered as users on unix.
I want to preserve the usernames which are on both systems, and map the users just on the win domain to a special user on unix.
How can I configure the username.map to achieve this?
We are running samba 2.2.3a on a rp5470 for filetransfers between systems.
regards
Fra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 12:27 AM
тАО11-25-2003 12:27 AM
Re: samba username mapping
mapfile = /tmp/mapfile.txt.
This just a text file and will have user name mappings from windows to unix users.
http://www.oreilly.com/catalog/samba/chapter/book/ch06.pdf
for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 12:50 AM
тАО11-25-2003 12:50 AM
Re: samba username mapping
thanks for the link
I did try some combinations in the usermapping.
did not find a combination that is 1├В┬┤st looking if account is also a native unix account. it just ended up every time with the usermapping for the others.
It should not be a solution, where every unix account has to be mapped and serviced manually in the mapfile.
Fra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 01:19 AM
тАО11-25-2003 01:19 AM
Re: samba username mapping
In /etc/opt/samba/username.map
unixid = ntuser1, ntuser2, ntuser3
That will map those nt users to the unix id.
Then in smb.conf:
username map = /etc/opt/samba/username.map
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 01:34 AM
тАО11-25-2003 01:34 AM
Re: samba username mapping
If you have a user on Windows that isn't on unix then you'll need to map that Windows user to some unix id - and that could involved a number of Windows users being mapped to one unix id (not great for determining file ownership) or a long list of names mapped from one to the other.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 03:10 AM
тАО11-25-2003 03:10 AM
Re: samba username mapping
the mapping for this common user is OK, but this group overrides the native UID.
!%U = %u <- this is just a try that did not work
!sa000000 = sa00* <- the default map for just win users is OK
I get the unix users remapped to default user sa000000
regards
Franz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 03:20 AM
тАО11-25-2003 03:20 AM
Re: samba username mapping
I do not want their unix name remapped
!%U = %u <<<- is just a try and not working
!sa000000 = sa00* <<<- is OK, mapping to default
without usermapping the user-ID is OK, I get
SERVER\sa001234 for the correct unix user-id.
with usermap.conf I get SERVER\sa000000 which is the common(default) remapped user.
regards
Franz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 04:00 AM
тАО11-25-2003 04:00 AM
Re: samba username mapping
gwild = gwild
unixuser2 = unixuser2
etc..
That way they they won't get remapped.
If they need RW access to same share as the "common" user, then make sure they all belong to the same group and make the directory 660.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2003 04:06 AM