|SMBAUTOHOME(5)||File Formats and Configurations||SMBAUTOHOME(5)|
For example, the following entries specify the autohome rules for a particular environment:
+nsswitch dn=ad,dn=sun,dn=com,ou=users jane /home/?/& dn=ad,dn=sun,dn=com,ou=users
The nsswitch autohome entry uses the naming service to match users to home directories. The second autohome entry specifies that the home directory for user jane is /home/j/jane.
key location [ options ]
key is a user name, location is the fully qualified path for the user's home directory, and options specifies the share options, for example, an AD container or description. See sharemgr(8) for information on share options.
If you intend to publish the share in Active Directory (AD), you must specify an AD container name, which is specified as a comma-separated list of attribute name-value pairs. The attributes use the LDAP distinguished name (DN) or relative distinguished name (RDN) format.
The DN or RDN must be specified in LDAP format by using the following attribute types:
The attribute type that is used to describe an object's RDN is called a naming attribute. AD uses the naming attributes as follows:
For example, the following entry would map any user to a home directory in /home in which the home directory name was the same as the user name:
The wildcard rule is only applied if an appropriate rule is not matched by another map entry.
Like the "catch-all" entry, the nsswitch map is only searched if an appropriate rule is not matched by another map entry.
The wildcard and nsswitch rules are mutually exclusive. Do not include an nsswitch rule if a wildcard rule has already been defined.
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
|February 25, 2017||OmniOS|