<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: samba username mapping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128160#M571809</link>
    <description>Hello RAC,&lt;BR /&gt;&lt;BR /&gt;thanks for the link&lt;BR /&gt;I did try some combinations in the usermapping.&lt;BR /&gt;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.&lt;BR /&gt;It should not be a solution, where every unix account has to be mapped and serviced manually in the mapfile.&lt;BR /&gt;&lt;BR /&gt;Fra</description>
    <pubDate>Tue, 25 Nov 2003 08:50:13 GMT</pubDate>
    <dc:creator>Franz F. Steininger</dc:creator>
    <dc:date>2003-11-25T08:50:13Z</dc:date>
    <item>
      <title>samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128158#M571807</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a problem with user mapping in samba.&lt;BR /&gt; security = server to a Win NT domain.&lt;BR /&gt;this is working fine&lt;BR /&gt;we have the same UIDÂ´s/account on unix as on windows,&lt;BR /&gt;but just a few people are registered as users on unix.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;How can I configure the username.map to achieve this?&lt;BR /&gt;&lt;BR /&gt;We are running samba 2.2.3a on a rp5470 for filetransfers between systems.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Fra</description>
      <pubDate>Tue, 25 Nov 2003 08:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128158#M571807</guid>
      <dc:creator>Franz F. Steininger</dc:creator>
      <dc:date>2003-11-25T08:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128159#M571808</link>
      <description>Configuration file smb.conf has a parameter &lt;BR /&gt;mapfile = /tmp/mapfile.txt.&lt;BR /&gt;&lt;BR /&gt;This just a text file and will have user name mappings from windows to unix users.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oreilly.com/catalog/samba/chapter/book/ch06.pdf" target="_blank"&gt;http://www.oreilly.com/catalog/samba/chapter/book/ch06.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for details.</description>
      <pubDate>Tue, 25 Nov 2003 08:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128159#M571808</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-11-25T08:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128160#M571809</link>
      <description>Hello RAC,&lt;BR /&gt;&lt;BR /&gt;thanks for the link&lt;BR /&gt;I did try some combinations in the usermapping.&lt;BR /&gt;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.&lt;BR /&gt;It should not be a solution, where every unix account has to be mapped and serviced manually in the mapfile.&lt;BR /&gt;&lt;BR /&gt;Fra</description>
      <pubDate>Tue, 25 Nov 2003 08:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128160#M571809</guid>
      <dc:creator>Franz F. Steininger</dc:creator>
      <dc:date>2003-11-25T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128161#M571810</link>
      <description>We use username mapping...&lt;BR /&gt;&lt;BR /&gt;In /etc/opt/samba/username.map&lt;BR /&gt;&lt;BR /&gt;unixid = ntuser1, ntuser2, ntuser3&lt;BR /&gt;&lt;BR /&gt;That will map those nt users to the unix id.&lt;BR /&gt;&lt;BR /&gt;Then in smb.conf:&lt;BR /&gt;&lt;BR /&gt;username map = /etc/opt/samba/username.map&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 25 Nov 2003 09:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128161#M571810</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-11-25T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128162#M571811</link>
      <description>You can also specify groups as well as wildcards in the username map, see the O'Reilly Using Samba book or the smb.conf man page.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Tue, 25 Nov 2003 09:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128162#M571811</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-11-25T09:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128163#M571812</link>
      <description>my actual problem is, that I get all users mapped to my default user for people not registered with an unix account.&lt;BR /&gt;&lt;BR /&gt;the mapping for this common user is OK, but this group overrides the native UID.&lt;BR /&gt;&lt;BR /&gt;!%U = %u                &amp;lt;- this is just a try that did not work&lt;BR /&gt;!sa000000 = sa00*       &amp;lt;- the default map for just win users is OK&lt;BR /&gt;&lt;BR /&gt;I get the unix users remapped to default user sa000000&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Franz &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Nov 2003 11:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128163#M571812</guid>
      <dc:creator>Franz F. Steininger</dc:creator>
      <dc:date>2003-11-25T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128164#M571813</link>
      <description>my real problem is, that also the unix users are remapped to the default user-ID sa000000.&lt;BR /&gt;&lt;BR /&gt;I do not want their unix name remapped&lt;BR /&gt;&lt;BR /&gt;!%U = %u                 &amp;lt;&amp;lt;&amp;lt;- is just a try and not working&lt;BR /&gt;!sa000000 = sa00*        &amp;lt;&amp;lt;&amp;lt;- is OK, mapping to default&lt;BR /&gt;&lt;BR /&gt;without usermapping the user-ID is OK, I get &lt;BR /&gt;SERVER\sa001234 for the correct unix user-id.&lt;BR /&gt;with usermap.conf I get SERVER\sa000000 which is the common(default) remapped user.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Franz&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Nov 2003 11:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128164#M571813</guid>
      <dc:creator>Franz F. Steininger</dc:creator>
      <dc:date>2003-11-25T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128165#M571814</link>
      <description>For your real users, add them as well to username.map:&lt;BR /&gt;&lt;BR /&gt;gwild = gwild&lt;BR /&gt;unixuser2 = unixuser2&lt;BR /&gt;&lt;BR /&gt;etc..&lt;BR /&gt;&lt;BR /&gt;That way they they won't get remapped.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Nov 2003 12:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128165#M571814</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-11-25T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: samba username mapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128166#M571815</link>
      <description>I think Geoff's answer is the way forward, as the %U variable isn't always used by Samba.&lt;BR /&gt;&lt;BR /&gt;This may not be a neat solution if you have to add a lot of users to the username map file.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Tue, 25 Nov 2003 12:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-username-mapping/m-p/3128166#M571815</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-11-25T12:06:07Z</dc:date>
    </item>
  </channel>
</rss>

