9. COMMANDLINE PARAMETERS.
The program MassUser can be used with commandline parameters, so you can
create a batch procedure.
|
MassUser
|
start
the program interactive.
|
|
MassUser
par=<filename>
|
start
the program with alternative settings, interactive
|
|
MassUser
sel=c dn=<dn> [options]
|
start
MassUser, search context is <dn>
|
|
MassUser
sel=o dn=<dn> oc=<class> [options]
|
start
MassUser, search object, dn=object dn, oc is class/attribute
|
|
MassUser
sel=f fn=<filename> [options]
|
start
MassUser, search selection file, use file <filename>
|
|
MassUser
@commandfile
|
starts
MassUser with the parameters in the file <commandfile>
|
If
a parameter value contains a space, put the whole parameter between " ". e.g.
"dn=my work.hbw"
All parameters are non-case sensitive.
|
sel
|
c,o,f
context/object/file
|
|
dn
|
full
dn of the context or object
|
|
oc
|
object
class, value must be in the homes.ini-file of user.
|
|
fn
|
filename,
can contain a drive/path
|
|
par=<filename>
|
filename
with settings for homes. If filename is given without a path, the program will
look in the current-directory, if the file doesn't exist, then the program will
look in the program directory. Default value = default.set, do not enter a path!
|
|
tree=<treename>
|
You
have to be logged in into the tree, force the use of tree with name
<treename>
|
|
test=Y
|
do
a test run, if omitted then "normal run"
|
|
log=<filename>
|
log-filename.
If the logfil exists then the new log-data is appended to the file, otherwise a
new file is created. Default value is homes.log in program directory,
filename may contain drive/path.
|
|
cont=Y
|
continue
program on error. Default=N. If cont=Y the program saves the log-data to the
log-file and terminates.
|
|
path=<unc>
|
In
some cases this is unc path to the home directory base-path.
|
|
server=<server-dn>
|
If
option default server is on and not use home directory server as default
server, you have to give this value.
|
|
temp=<template-dn>
|
If
option create domain user is on, this is the templeate to use.
|
|
scr=N
|
If
scr=N then the program is minimised to the taskbar. Do not use with MassUser
par=<filename>
|
|
def=filename
|
Select
the def-file for setting groups/roles alias etc, if this parameter is given,
then the program assumes use def-file option in user-page.
|
|
epath=<unc>
|
Used
by create extra-directory as the "base"path
|
|
auto=N
|
Program
doesn't start, usefull for debugging.
|
The
program will read the command file for its start-parameters. Put all parameters
on a new line, do not enclose parameters with ".." even it there as spaces in
the parameter value. The parameters are non-case sensitive.
|
SEL=C
|
use
context
|
|
DN=AL.HBW
|
the
full-dn of the context
|
|
PAR=test.set
|
use
settingsfile test.set
|
|
CONT=Y
|
continue
on error
|
|
LOG=mylog.log
|
use
mylog.log as the log-file
|
|
PATH=\\FS-AL-01\User\Home
|
use
given path as the "home-directory" path
|
|
SCR=N
|
start
minimized
|
If
you want to use a LDIF or CFL/CVS file as a selection file and at the same time
you want to use that file for creating a homedirectoy or set the
userspace/diskquota's, you have to create a set-file, or you have to change the
default settings of the program. Save the file in the program directory.
Start
the program interactively, select a LDIF of CFL-file (this can be a dummy
file), make all your selections and set "Use Home directory From Selection
File" if you want to use the file as a definition file for home directories.
Save the set-file (the red-"floppy" button on the task-bar. If you save the
file under the name default (the program adds .set) then you change the default
settings of the program, if you don't want to do that, save the file under
another name. (like LDIF(.set) of CFL(.set)).
Start the program now with the proper parameters, e.g.
MassUser sel=f fn=test.ldif test=y log=mytest.log par=ldif.set
The program will use the file test.ldif as a selection file, do a test-run,
save the log-data to the file mytest.log and will use the settings from
ldif.set.
MassUser sel=f fn=test.ldif test=y log=mytest.log
This will do the same, except it will use default.set, or if default.set
doesn't exist, it will use the program internal defaults.
|