Page 1 of 1 1
Topic Options
#1875 - 2000-03-01 04:12 PM Ingroup problems on NT workstation
Anonymous
Unregistered


I'm running NT 4.0 SP5 on my servers, NT 4.0 SP5 on some workstations and win9.x on others. I just downloaded KiXtart 3.62 and am having trouble with the ingroup function. My win9.x workstations work fine, but my NT workstations see no group membership. I've run the "kick.kix" sample script and see no groups listed. I also see nothing in response to the HOMEDIR, HOMESHR and HOMEDRIVE macros. Am I missing something here? I want to create a single script for NT workstation and win9.x users.

Thanks in advance

Top
#1876 - 2000-03-07 11:36 AM Re: Ingroup problems on NT workstation
Anonymous
Unregistered


post a sample of your script--that would be helpful
Top
#1877 - 2000-03-07 08:41 PM Re: Ingroup problems on NT workstation
Anonymous
Unregistered


Here is a sample script that I wrote using pretty much the same dlls, batch, got it to work with both 95 and NT. Well not totally. One slight issue in this script is that it is not mapping my "Domain Users" to Z:\\server\share$. Hope someone can help me out also. But this will give you a good start.

CLS

:TIME
; REM SYNCH LOCAL TIME
SETTIME "*"

:ADMIN
IF @priv = "ADMIN"
GOTO ADMINBOX
ELSE
GOTO USERBOX
ENDIF
GOTO END

:ADMINBOX
; REM DISPLAY BOX FOR ADMINISTRATORS
small
COLOR b+/n
BOX (0,0,24,79,GRID)
COLOR b/n
BOX (8,16,21,71,Å)
COLOR g+/n
BOX (7,15,20,70,FULL)

; REM DISPLAY NT VARIABLE NAMES
Color w+/n
AT ( 9,20) "Userid : "
AT (10,20) "Full name : "
AT (11,20) "Description : "
AT (12,20) "Privilege : "
AT (13,20) "Workstation : "
AT (14,20) "Address : "
AT (15,20) "Domain : "
AT (16,20) "Logon Domain : "
AT (17,20) "Logon Server : "

; REM DISPLAY NT VARIABLES
Color y+/n
AT ( 9,35) @userid
AT (10,35) @fullname
AT (11,35) @comment
AT (12,35) @priv
AT (13,35) @wksta
AT (14,35) @address
AT (15,35) @domain
AT (16,35) @ldomain
AT (17,35) @lserver
COLOR w/n

SLEEP 3
CLS

:USERBOX
; REM DISPLAY BOX FOR USERS
SMALL
COLOR b+/n
BOX (0,0,24,79,GRID)
COLOR b/n
BOX (8,21,18,61,Å)
COLOR g+/n
BOX (7,20,17,60,FULL)

; REM DISPLAY NT VARIABLE NAMES
COLOR w+/n
AT ( 9,25) "Userid : "
AT (10,25) "Full name : "
AT (11,25) "Privilege : "
AT (12,25) "Workstation : "
AT (13,25) "Domain : "
AT (14,25) "Logon Server : "

; REM DISPLAY NT VARIABLES
COLOR y+/n
AT ( 9,40) @userid
AT (10,40) @fullname
AT (11,40) @priv
AT (12,40) @wksta
AT (13,40) @domain
AT (14,40) @lserver
COLOR w/n
SLEEP 3

CLS

SELECT
CASE INGROUP ("Domain Users")
USE Z: "\\server\@userid$"
GOTO "MANAGEMENT"
ENDSELECT

:MANAGEMENT
IF INGROUP ("Domain Admins")
USE L: "\\MANAGEMENT\IS"
ENDIF
:ENDMANAGEMENT

:END
; REM QUIT SCRIPT
CLS
EXIT

Bao

P.S.

You will need to create a home directory using User Manager for Domain. For example, under Home Directory where it said:
Connect Z: To \\server\homedirs\%username%. This will create the homedirs with the username, then you would share it as username$ for it to work with this script.


Top
#1878 - 2001-03-13 11:12 PM Re: Ingroup problems on NT workstation
Anonymous
Unregistered


I was seeing exactly the same thing. In our case we had upgraded our corporate domain controller to Win2k, and I found that adding the Domain Users global group to the 2k controllers 'Pre-Windows 2000 Compatible Access' local group solved the problem.

Hopefully in a future release of kix they will make the application fully 2000 enabled so it does not need this.

------------------
David Rose
Network Administrator
Mediware Information Systems
dave.rose@mediware.com

Top
Page 1 of 1 1


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

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

Generated in 0.061 seconds in which 0.026 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