hi,
our homedir structure is /vol/vol0/users/a/adam
we want to use the subst cmd instead of 'net use' because we go below the share. and since we have the first letter of the userid in there we can't use the ontap homedir option.
however, we can't get subst to work as a user.
C:\WINNTSRV>subst q: \filer\u7\k\kusr1 Path not found - \filer\u7\k\kusr1
subst works fine as admin.
We get around this problem by creating a directory with a bunch of symbolic links in it, and making that directory our cifs.home_dir.
You'll need to make the symbolic links on a NFS client.
For example, we have this:
options cifs.home_dir /home/shares
And we have a symbolic link for each user like these:
/home/shares/abc9d -> /h1/a/ab/abc9d /home/shares/fgh8i -> /h1/f/fg/fgh8i
etc.
On our system both /home/shares and /h1 are in our root volume, or else we would have to use paths like /vol/vol1/home/shares and /vol/vol1/h1/a/ab/abc9d.
It's very easy to create all these symbolic links with the unix shell. For example, on our system you could do this:
cd /h1 for x in ?/??; do ( cd $x for loginid in *; do test -d $loginid && ln -s /h1/$x/$loginid /home/shares done ) done
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support