Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Creating directories in a home directory path

Creating home directories if home directory naming style is domain  Top

To create home directories if the cifs.home_dir_namestyle option specifies domain, complete the following steps.

Step

Action

1

In one of the specified home directory paths, create directories that will contain home directories for all users of the same domain. For each directory, use the same name as the domain.

Example

If there are two domains, engineering and marketing, create the /vol/vol0/enghome/engineering directory and the /vol/vol1/mktghome/marketing directory.

2

In each domain directory created in Step 1, create home directories for the users in the same domain.

Example

If two users have the name jsmith and they are in the engineering domain and the marketing domain, create the /vol/vol0/enghome/engineering/jsmith home directory and the /vol/vol1/mktghome/marketing/jsmith home directory.

3

Make each user the owner of his or her home directory.

Example

Make engineering\jsmith the owner of the /vol/vol0/enghome/engineering/jsmith home directory and marketing\jsmith the owner of the /vol/vol1/mktghome/marketing/jsmith home directory.

Result

The user with the name engineering\jsmith can attach to the share named jsmith, which corresponds to the /vol/vol0/enghome/engineering/jsmith home directory. The user with the name marketing\jsmith can attach to the share named jsmith, which corresponds to the /vol/vol1/mktghome/marketing/jsmith home directory.

Creating home directories if home directory naming style is not domain  Top

To create home directories if the cifs.home_dir_namestyle option specifies ntname, hidden, mapped, or "", complete the following steps.

Step

Action

1

In one of the specified home directory paths, create home directories.

Example

If there are two users, jsmith and jdoe, create the /vol/vol0/enghome/jsmith and /vol/vol1/mktghome/jdoe home directories.

Result

Users can attach to the share that has the same name as their user name and start using the share as their home directory.

2

Make each user the owner of the home directory.

Example

Make jsmith the owner of the /vol/vol0/enghome/jsmith home directory and jdoe the owner of the /vol/vol1/mktghome/jdoe home directory.

Result

The user with the name engineering\jsmith can attach to the share named jsmith, which corresponds to the /vol/vol0/enghome/engineering/jsmith home directory. The user with the name marketing\jdoe can attach to the share named jdoe, which corresponds to the /vol/vol1/mktghome/marketing/jdoe home directory.

Note
If the naming style is hidden, users must use their user name with a dollar sign appended to it (for example, name$) to attach to their home directory.

Creating subdirectories in home directories when a home directory path extension is used  Top

To create subdirectories that users can access in their home directories if you use a home directory path extension, complete the following step.

Step

Action

1

For each home directory that resides in a home directory path with an extension, create a subdirectory that you want users to access.

Example

If the cifs.home_dir option specifies the /vol/vol0/enghome/%u%/data path, create a subdirectory named data in each home directory.

Result

Users can attach to the share that has the same name as their user name. When they read or write to the share, they effectively access the data subdirectory.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments