> cool solutions home   > cool tools home
Mkhome
NDS users network Home Directory maker.
Reader Rating    from ratings rate this article
View a Printer Friendly Version of this Page Send this page to a friend
vitals
Posted: 19 Nov 2004
File Size: 25KB
License: Free
Download 1:  mkhome.zip
Home Page: http://www.lenik.ru
Publisher: Leonid F Krotov
E-mail: nov_net@mail.ru
disclaimer
Please read the note from our friends in legal before using this file.
details

Very useful utility when container's login script looks like:

map r H:=".cn=<VOLUME>.o=<CONTEXT>:<PATH>\%LOGIN_CONTEXT\%CN"

If Container Login Scripts Looks Like:

map r H:=".cn=<VOLUME>.o=<CONTEXT>:<PATH>\%LOGIN_CONTEXT\%CN"

Use:

MKHome -S<SrvName> -B<Path> [-L<Number>] [-X<FName>] [-O] [-C<ContainerName>]

-S - Server Name For Users Home
-B - Directory Root For User Home
-L - Set Space Restriction To <Number> MB
-X - Exclude Space Restrictions For User In List
For Example, File Contents (one user per line):
list.txt ->

.admin.cntx
.user0.cntx
.user5.cntx
-K - Exclude Containers From Processing List
-O - Print Expired Directories
-C - Use Specified Container Name As Base.
-N - Set Space Restrictions On Newly Created Dirs Only.

Example:

MKHome -S.TEMPORARY.CNTX -BSYS:HOME\ -L1024 -Xlist.txt -Kclist.txt -O