<div dir="ltr"><div><b>idmap.conf for NFS Server:</b><br><br>[General]<br>#Verbosity = 0<br># The following should be set to the local NFSv4 domain name<br># The default is the host's DNS domain name.<br>#Domain = <a href="http://local.domain.edu">local.domain.edu</a><br><br># The following is a comma-separated list of Kerberos realm<br># names that should be considered to be equivalent to the<br># local realm, such that <user>@REALM.A can be assumed to<br># be the same user as <user>@REALM.B<br># If not specified, the default local realm is the domain name,<br># which defaults to the host's DNS domain name,<br># translated to upper-case.<br># Note that if this value is specified, the local realm name<br># must be included in the list!<br>#Local-Realms = <br><br>[Mapping]<br><br>Nobody-User = nobody<br>Nobody-Group = nobody<br><br>[Translation]<br><br># Translation Method is an comma-separated, ordered list of<br># translation methods that can be used.  Distributed methods<br># include "nsswitch", "umich_ldap", and "static".  Each method<br># is a dynamically loadable plugin library.<br># New methods may be defined and inserted in the list.<br># The default is "nsswitch".<br>Method = nsswitch<br><br># Optional.  This is a comma-separated, ordered list of<br># translation methods to be used for translating GSS<br># authenticated names to ids.<br># If this option is omitted, the same methods as those<br># specified in "Method" are used.<br>#GSS-Methods = <alternate method list for translating GSS names><br> <br>#-------------------------------------------------------------------#<br># The following are used only for the "static" Translation Method.<br>#-------------------------------------------------------------------#<br>#[Static]<br><br># A "static" list of GSS-Authenticated names to<br># local user name mappings<br><br>#someuser@REALM = localuser<br><br><br>#-------------------------------------------------------------------#<br># The following are used only for the "umich_ldap" Translation Method.<br>#-------------------------------------------------------------------#<br><br>#[UMICH_SCHEMA]<br><br># server information (REQUIRED)<br>#LDAP_server = <a href="http://ldap-server.local.domain.edu">ldap-server.local.domain.edu</a><br><br># the default search base (REQUIRED)<br>#LDAP_base = dc=local,dc=domain,dc=edu<br><br>#-----------------------------------------------------------#<br># The remaining options have defaults (as shown)<br># and are therefore not required.<br>#-----------------------------------------------------------#<br><br># whether or not to perform canonicalization on the<br># name given as LDAP_server<br>#LDAP_canonicalize_name = true<br><br># absolute search base for (people) accounts<br>#LDAP_people_base = <LDAP_base><br><br># absolute search base for groups<br>#LDAP_group_base = <LDAP_base><br><br># Set to true to enable SSL - anything else is not enabled<br>#LDAP_use_ssl = false<br><br># You must specify a CA certificate location if you enable SSL<br>#LDAP_ca_cert = /etc/ldapca.cert<br><br># Objectclass mapping information<br><br># Mapping for the person (account) object class<br>#NFSv4_person_objectclass = NFSv4RemotePerson<br><br># Mapping for the nfsv4name attribute the person object<br>#NFSv4_name_attr = NFSv4Name<br><br># Mapping for the UID number<br>#NFSv4_uid_attr = UIDNumber<br><br># Mapping for the GSSAPI Principal name<br>#GSS_principal_attr = GSSAuthName<br><br># Mapping for the account name attribute (usually uid)<br># The value for this attribute must match the value of <br># the group member attribute - NFSv4_member_attr<br>#NFSv4_acctname_attr = uid<br><br># Mapping for the group object class<br>#NFSv4_group_objectclass = NFSv4RemoteGroup<br><br># Mapping for the GID attribute<br>#NFSv4_gid_attr = GIDNumber<br><br># Mapping for the Group NFSv4 name<br>#NFSv4_group_attr = NFSv4Name<br><br># Mapping for the Group member attribute (usually memberUID)<br># The value of this attribute must match the value of NFSv4_acctname_attr<br>#NFSv4_member_attr = memberUID<br><b><br><br></b></div><b>idmap.conf for client:</b><br><br>[General]<br>#Verbosity = 0<br># The following should be set to the local NFSv4 domain name<br># The default is the host's DNS domain name.<br>#Domain = <a href="http://local.domain.edu">local.domain.edu</a><br><br># The following is a comma-separated list of Kerberos realm<br># names that should be considered to be equivalent to the<br># local realm, such that <user>@REALM.A can be assumed to<br># be the same user as <user>@REALM.B<br># If not specified, the default local realm is the domain name,<br># which defaults to the host's DNS domain name,<br># translated to upper-case.<br># Note that if this value is specified, the local realm name<br># must be included in the list!<br>#Local-Realms = <br><br>[Mapping]<br><br>Nobody-User = nobody<br>Nobody-Group = nobody<br><br>[Translation]<br><br># Translation Method is an comma-separated, ordered list of<br># translation methods that can be used.  Distributed methods<br># include "nsswitch", "umich_ldap", and "static".  Each method<br># is a dynamically loadable plugin library.<br># New methods may be defined and inserted in the list.<br># The default is "nsswitch".<br>Method = nsswitch<br><br># Optional.  This is a comma-separated, ordered list of<br># translation methods to be used for translating GSS<br># authenticated names to ids.<br># If this option is omitted, the same methods as those<br># specified in "Method" are used.<br>#GSS-Methods = <alternate method list for translating GSS names><br> <br>#-------------------------------------------------------------------#<br># The following are used only for the "static" Translation Method.<br>#-------------------------------------------------------------------#<br>#[Static]<br><br># A "static" list of GSS-Authenticated names to<br># local user name mappings<br><br>#someuser@REALM = localuser<br><br><br>#-------------------------------------------------------------------#<br># The following are used only for the "umich_ldap" Translation Method.<br>#-------------------------------------------------------------------#<br><br>#[UMICH_SCHEMA]<br><br># server information (REQUIRED)<br>#LDAP_server = <a href="http://ldap-server.local.domain.edu">ldap-server.local.domain.edu</a><br><br># the default search base (REQUIRED)<br>#LDAP_base = dc=local,dc=domain,dc=edu<br><br>#-----------------------------------------------------------#<br># The remaining options have defaults (as shown)<br># and are therefore not required.<br>#-----------------------------------------------------------#<br><br># whether or not to perform canonicalization on the<br># name given as LDAP_server<br>#LDAP_canonicalize_name = true<br><br># absolute search base for (people) accounts<br>#LDAP_people_base = <LDAP_base><br><br># absolute search base for groups<br>#LDAP_group_base = <LDAP_base><br><br># Set to true to enable SSL - anything else is not enabled<br>#LDAP_use_ssl = false<br><br># You must specify a CA certificate location if you enable SSL<br>#LDAP_ca_cert = /etc/ldapca.cert<br><br># Objectclass mapping information<br><br># Mapping for the person (account) object class<br>#NFSv4_person_objectclass = NFSv4RemotePerson<br><br># Mapping for the nfsv4name attribute the person object<br>#NFSv4_name_attr = NFSv4Name<br><br># Mapping for the UID number<br>#NFSv4_uid_attr = UIDNumber<br><br># Mapping for the GSSAPI Principal name<br>#GSS_principal_attr = GSSAuthName<br><br># Mapping for the account name attribute (usually uid)<br># The value for this attribute must match the value of <br># the group member attribute - NFSv4_member_attr<br>#NFSv4_acctname_attr = uid<br><br># Mapping for the group object class<br>#NFSv4_group_objectclass = NFSv4RemoteGroup<br><br># Mapping for the GID attribute<br>#NFSv4_gid_attr = GIDNumber<br><br># Mapping for the Group NFSv4 name<br>#NFSv4_group_attr = NFSv4Name<br><br># Mapping for the Group member attribute (usually memberUID)<br># The value of this attribute must match the value of NFSv4_acctname_attr<br>#NFSv4_member_attr = memberUID<br>Domain=<a href="http://freeipa.my.ca">freeipa.my.ca</a><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 September 2015 at 09:08, Alexander Bokovoy <span dir="ltr"><<a href="mailto:abokovoy@redhat.com" target="_blank">abokovoy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 30 Sep 2015, Sadettin Albasan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Alexander,<br>
<br>
<br>
Currently;<br>
<br>
FreeIPA 7.1 (Centos)<br>
Client 6.6 (Centos)<br>
NFS 6.6 (Centos) + Samba 3.6<br>
<br>
I have also samba file sharing running on NFS server which shares home<br>
directories to windows users as well. So NFS server is joined to windows<br>
domain as well as FreeIPA domain.<br>
</blockquote></span>
CentOS 6.6 should have nfsidmap fixes needed to support AD users via<br>
IPA-AD trust.<br>
<br>
However, I don't see your configuration for nfs idmap.conf on both client and<br>
NFS server.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
/ Alexander Bokovoy<br>
</font></span></blockquote></div><br></div>