#33865 - 2002-12-04 06:40 AM
Re: INGROUP problem
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Get my GrpMaint.exe from my web site. Enumerate the members of the group: code:
Grpmaint --enum --sam \\servername --Global --name REALEC1 --outfile grp.txt
You may want try this command against all your DCs to verify the the group replication has taken place. Are all the results as you would expect?
What versions of KiXtart have you tried? I recommend that you use 4.02 or 4.12.
There has to be a logical explanation but you will have to apply a disciplined approach to troubleshooting this issue. We will have to move one step at a time. [ 04. December 2002, 14:21: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#33867 - 2002-12-04 02:31 PM
Re: INGROUP problem
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Steve,
As an alternative to Howard's utility..
code:
BREAK ON $domainstring = "DOMAINNAME" $GroupString = "REALC1" $GroupObj = GetObject("WinNT://" + $DomainString + "/" + $GroupString) IF EXIST("H:\USERLIST.CSV") DEL "H:\USERLIST.CSV" ENDIF IF Open( 3 , "H:\USERLIST.CSV" , 5 ) = 0 $hdr = "GROUPNAME" $x = WriteLine( 3 , $hdr + @crlf) For each $UserObj in $GroupObj.Members $List = $List + $UserObj.Name Next $x = WriteLine( 3 , $list + @crlf) ?$list + @crlf $x = CLOSE(3) ENDIF
$groupobj = 0 ?"Process is complete.." SLEEP 2
You can use this to check and write the group list to a log from the domain:
code:
BREAK ON $domainstring = "DOMAINNAME" $domainobj = GetObject("WinNT://" + $domainstring) $domainobj.filter = Array("group") IF EXIST("H:\GRPLIST.CSV") DEL "H:\GRPLIST.CSV" ENDIF IF Open( 3 , "H:\GRPLIST.CSV" , 5 ) = 0 $hdr = "GROUPNAME" $x = WriteLine( 3 , $hdr + @crlf) FOR EACH $groupobj IN $domainobj IF $groupobj.class = "Group" $list = $list + $groupobj.name ENDIF NEXT $x = WriteLine( 3 , $list + @crlf) ?$list + @crlf $x = CLOSE(3) ENDIF
$domainobj = 0 ?"Process is complete.." SLEEP 2
Or.. Groups of a user:
code:
BREAK ON $domainstring="ComputerName" $userstring = "jdoe" $userobj = GetObject("WinNT://" + $domainstring + "/" + $userstring) IF EXIST("H:\PGRP.CSV") DEL "H:\PGRP.CSV" ENDIF IF Open( 3 , "H:\PGRP.CSV" , 5 ) = 0 $hdr = "GROUPNAME" $x = WriteLine( 3 , $hdr + @crlf) FOR EACH $groupobj IN $userobj.groups $list = $list + $groupobj.name NEXT $x = WriteLine( 3 , $list + @crlf) ?$list + @crlf $x = CLOSE(3) ENDIF
$userobj = 0 ?"Process is complete.." SLEEP 2
HTH,
Kent [ 04. December 2002, 14:37: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#33868 - 2002-12-04 02:45 PM
Re: INGROUP problem
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Kent the reason I suggested using GrpMaint was that if this is W2K AD and he has replication intervals set too high then he may actually be creating the group on one DC and the client may be query a different DC. GrpMaint can easily check the group on each server. I would not want to troubleshoot this problem by connecting to the domain because we do not know for sure which server is being enumerated. [ 04. December 2002, 14:48: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#33869 - 2002-12-04 02:52 PM
Re: INGROUP problem
|
Steve M
Fresh Scripter
Registered: 2002-05-08
Posts: 40
Loc: Orange,California
|
This is interesting, I put a ; infront of the ifingroup which means this should apply to everyone globaly and it did not map code:
;if INGROUP("RealEC") USE R: /delete /Persistent USE R: "\\FS1\RealEC" ? "Member of RealEC group" endif
_________________________
Steve
|
|
Top
|
|
|
|
#33871 - 2002-12-04 04:42 PM
Re: INGROUP problem
|
Steve M
Fresh Scripter
Registered: 2002-05-08
Posts: 40
Loc: Orange,California
|
If I try 4.12 do I have to replace the kxrpc service on the server also?
_________________________
Steve
|
|
Top
|
|
|
|
#33873 - 2002-12-04 04:58 PM
Re: INGROUP problem
|
GRF
Fresh Scripter
Registered: 2002-02-15
Posts: 45
Loc: Ohio
|
Maybe it doesn't like the R:. Try using S:.
_________________________
GF
|
|
Top
|
|
|
|
#33877 - 2002-12-04 05:19 PM
Re: INGROUP problem
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Just a sec..
I think Jens may have hit the nail on the head.
quote:
Only if you support Windows 9x computers. During testing you won't need to do anything. Additionally, there's a batch file in the KiXtart distribution that enables you to remotely update the KiXtart RPC Server. Installing/updating the KiXtart RPC SErver does not require a reboot fo the server.
Is this 9x you are having trouble with?
Kent
|
|
Top
|
|
|
|
#33881 - 2002-12-04 05:32 PM
Re: INGROUP problem
|
Steve M
Fresh Scripter
Registered: 2002-05-08
Posts: 40
Loc: Orange,California
|
Looking at my netlogon directory the kx95.dll is version 3.60 and the kix I downloaded this morning 4.12 has kx95.dll version 4.1.0.0 the kx32.dll is the same verion 3.61.1.0 as I am running in my netlogon Kix32.exe in my netlogon is 4.11.0.0 In conclusion the only files I need to replace on my netlogon would be the kix32.exe and kx95.dll am I correct assuming this?
_________________________
Steve
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 837 anonymous users online.
|
|
|