Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripts

Status
Not open for further replies.

terry712

Technical User
Joined
Oct 1, 2002
Messages
2,175
Location
GB
save me looking if someone knows
see how on a script you may have something like

IF MEMBER OF ".plutogroup.blah.blah" THEN
MAP ROOT H:=minerva\DATA:\pluto\blah
MAP ROOT L:=minerva\DATA:\pluto\moreblah
END

can you do this with a container rather than a group

ie if user is in container blah then do the procedure or does it have to be a group
 
Why don't you just put the script in that containers login script so it only runs for users under that container?

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
coz i'm lazy and i want just includes in the lowers containers and all the stuff coming from the immediate parent.
 
ditto what TheLad says.. in netware you can run scripts as organization level, container level, or user etc.. wicked kewl.. ;) I generally try to keep my script at the container level and then use groups for individual kinds of tweaks. If you really have something unique, add it to the user login script.
For ex, at the container level you can do something like

; Map a drive to everyone's home directory.
MAP ROOT F:=%HOME_DIRECTORY

; Map a shared volume + s'ware dist dir for the Acme folks
IF MEMBER OF ".ACME.MYOU.O" THEN
MAP ROOT S:=\\192.168.100.38\ACME\shared\
MAP ROOT J:=\\192.168.100.39\UADMIN\DIST\
END

IF MEMBER OF ".LOSERS.MYOU.O" THEN
MAP ... etc etc

MAP ROOT INS S1:=\\192.168.100.40\DATA\PUBLIC\
NO_DEFAULT

hth - Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top