Page 1 of 1 1
Topic Options
#59409 - 2001-09-29 12:16 AM Not strictly KIX, RMTSHARE question, but related...
Anonymous
Unregistered


We have this mundane process of creating new users at a client site, whereby the users H drive is manually created, some files copied from a template, then the profile is also copied, and using rmtshare it is shared out. All sounds ideal, and works, until you try and script the domain admins access for the users drive...

Everything works until the domain admins point:

SERVER1.KIX:
============

SHELL "net use b: \\server1\d$ /persistent:no"
? "USERNAME:"
GETS $UserName
$Selection = MESSAGEBOX ("Is the User Name $UserName", "Confirm User Name", 36)
If $Selection = 6
SHELL "XCOPY B:\USERS\TEMPLATE B:\USERS\" + $UserName + "/E /I /Q"
SHELL "XCOPY B:\PROFILES\template B:\PROFILES\" + $UserName + " /E /I /Q"
$FIRST="b:\rmtshare.exe \\UKEDEXH1\"
$SECOND="$=d:\users\"
$THIRD=" /grant "
$DOMAIN="DOMAIN\"
$FORTH=":FC"
$DOMAM="DOMAIN ADMINS"
$COMMAND1=$FIRST+$USERNAME+$SECOND+$USERNAME+$THIRD+$DOMAIN+$USERNAME+$FORTH
$COMMAND2=$FIRST+$USERNAME+$SECOND+$USERNAME+$THIRD+CHR(34)+$DOMAIN+$DOMAM+CHR(34)+FORTH
SHELL $COMMAND1
SHELL $COMMAND2
;shell "net use b: /delete"
Else

Endif
==========

Any help or pointers will be greatly appreciated...

Cheers.

Top
#59410 - 2001-09-28 08:56 PM Re: Not strictly KIX, RMTSHARE question, but related...
JensKalski Offline
Starting to like KiXtart

Registered: 2000-12-13
Posts: 186
Loc: Germany
After decrypting your script I think it is the +FORTH with missing Dollarsign, is'nt it?
_________________________
Jens Kalski

Top
#59411 - 2001-10-04 02:51 PM Re: Not strictly KIX, RMTSHARE question, but related...
Anonymous
Unregistered


Hi,

Sorry - that was my mistake - typo... Although its still not working - any ideas?

I think it is more a problem with RMTSHARE than anything to do with KiXtart.

Cheers.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.055 seconds in which 0.031 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org