CIFS Administration 7-19
6KDUH1DPH/HQJWK/LPLWDWLRQV
Because share names are truncated to 12 characters, the home directory name might
show a truncated version of the users account name.
For example, consider the 13-letter name administrator. From the filer point of view,
the home directory for administrator has a name that exactly matches the account
name administrator, but use of that directory is offered under the truncated share
name administrator.
If there were users administrator and administrator1, they would see an offer for their
own home directory, but both would see it as an offer to share the name
administrato.
Therefore, each user gets the correct directory, even though the share names appear
the same.
&UHDWLQJD6KDUH&RQWDLQLQJ8VHU+RPH'LUHFWRULHV
The following procedure creates a share that automatically contains home directories
for CIFS users:
1. Enable the home director y option by entering the following command.
RSWLRQVFLIVKRPHBGLUKRPHGLUSDWK
Where homedirpath is the UNIX path name that will be mapped to the share
CIFS.HOMEDIR. This share automatically contains CIFS user home directories.
If the directory containing the home directories is /vol/vol1/homes, enter the fol-
lowing command:
RSWLRQVFLIVKRPHBGLUYROYROKRPHV
2. Within the director y specified by the cifs.home_dir option, create a directory
for each user. Make sure that the following conditions are met:
Each directory name matches the users login name exactly.
Each user is the owner of the directory.
&UHDWLQJ6KDUH+RPH'LUHFWRULHV
Using the cifs.home_dir option to create home directories is useful only if users
do not need to read or write other users home directories. If they must access other
users home directories, follow this procedure:
1. Create an additional share, from either Windows or the filer, that maps to the
same path name as the CIFS.HOMEDIR share.
2. From either Windows or the filer, assign each user the appropriate access per-
missions to other users home directories.