Hi all!

I have a problem... I've got a mixed environment with win98 and win2k clients off a single WinNT4 PDC. I've installed/started the KXRPC service but for some reason I still can't get mappings to occur based on group memberships.

Any ideas? Here is my script for you review (please don't laugh to hard, I'm not a good programmer!)

Seth

--== Login.kix Script ==--
; Login Script for [customer]
; Written by [me]
; April 2002
;
; This script contains portions of public domain scripts (Thanks!)

; Banners
; This informs the user about the use of workstations
;
CLS
small
Color b+/n
BOX (0,0,24,79,GRID) ; 'background grid'
Color b/n
BOX (3,7,6,76,Å) ; 'shadow' of the box
Color g+/n
BOX (2,6,5,75,FULL)
Color b/n
BOX (8,23,18,61,Å) ; 'shadow' of the box
Color g+/n
BOX (7,22,17,60,FULL)

color w+/n
AT (3, 13) "This machine is for [company] business use ONLY!"
AT (4, 10) "Do not Load, Install or Open files unless specifically needed!"

Color c+/n
AT ( 9,25) "You're Login Credentials are: "
Color w+/n
AT (11,25) "Userid : " ; display some text strings
AT (12,25) "Full name : "
AT (13,25) "Privilege : "
AT (14,25) "Workstation : "
AT (15,25) "Domain : "
AT (16,25) "Logon Server : "

Color y+/n
AT (11,40) @userid ; ...and some macro's
AT (12,40) @fullname
AT (13,40) @priv
AT (14,40) @wksta
AT (15,40) @domain
AT (16,40) @lserver
SLEEP 6
CLS

; Mappings
; This maps server shares based on user credentials

Color b+/n
AT (1, 5) "*************************************************************"
AT (2, 5) "** **"
AT (3, 5) "*************************************************************"
color w+/n
AT (2, 8) "Never save an important file to the local drive!! (C:\)"
Color w/n
AT (4, 5) "Only files saved to the network are backed up! (K: or higher)"
Color c+/n
AT (24, 5)
AT (6, 10) "You're drive mappings are being established..."

color w/n
AT (8, 10) "Clearing old maps ... "
USE "*" /DELETE
color w+/n
AT (8, 32) "Done!"
color w/n
AT (9, 10) "Private share:"
USE K: @HOMESHR
color w+/n
AT (9, 40) "K:\"
color w/n
AT (10, 10) "Public share:"
USE L: \\PDC\PUBLIC
color w+/n
AT (10, 40) "L:\"

; Mapping Department Shares
$HL = 10
IF InGroup("Accounting")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Accounting Department share:"
USE M: "\\PDC\ACCOUNTING"
color w+/n
AT ($HL, 40) "M:\"
ENDIF
IF InGroup("Administrators")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Administrators share:"
USE N: "\\PDC\ADMINS"
color w+/n
AT ($HL, 40) "N:\"
ENDIF
IF InGroup("Management")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Management share:"
USE O: "\\PDC\MANAGEMENT"
color w+/n
AT ($HL, 40) "O:\"
ENDIF
IF InGroup("Parts")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Parts Department share:"
USE P: "\\PDC\PARTS"
color w+/n
AT ($HL, 40) "P:\"
ENDIF
IF InGroup("Payroll")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Payroll Department share:"
USE Q: "\\PDC\PAYROLL"
color w+/n
AT ($HL, 40) "Q:\"
ENDIF
IF InGroup("Sales")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Sales Department share:"
USE R: "\\PDC\SALES"
color w+/n
AT ($HL, 40) "R:\"
ENDIF
IF InGroup("Services")
let $HL = $HL + 1
color w/n
AT ($HL, 10) "Service Department share:"
USE S: "\\PDC\SERVICE"
color w+/n
AT ($HL, 40) "S:\"
ENDIF
SLEEP 10
CLS

; Misc
; Various little things I want to do
; Not used yet
;
; Set a common time. See MS Q131715 for info.
;AT (2, 10) "Synch'ing Time with the server ...
; SETTIME \\PDC
;AT (2, 45) "Done!"
SLEEP 10

exit
_________________________
-=-=-=-=-=-=-=-=-=-=-=-=-=- Constructive Self-Delusion -=-=-=-=-=-=-=-=-=-=-=-=-=-