Page 1 of 1 1
Topic Options
#177044 - 2007-06-19 12:05 AM INGROUP not seeing groups in AD randomly
Bowacer Offline
Fresh Scripter

Registered: 2006-12-18
Posts: 14
We have had this issue since we started using kixtart, it works great when it works. What it doesn't do is randomly see groups in AD. One boot they get all their drives and printers, next boot it skips thru. I can specify items outside ingroups in the script and they run fine everytime. But it randlomly won't work. I used debug and stepped thru one of the logins as it failed and it acts like it either doesn't see the group or see the person in the group, is there a way to do a fully qualified for the groups or is there something else I could try? BTW I use the /F command on reboots to clear the token cache. Server 2003 and all XP workstations.
Top
#177046 - 2007-06-19 12:15 AM Re: INGROUP not seeing groups in AD randomly [Re: Bowacer]
Bowacer Offline
Fresh Scripter

Registered: 2006-12-18
Posts: 14
Here is a small portion of the login script:

;kixstart.kix
;PFS Login Script 10/26/06

BREAK OFF

SetConsole ("MAXIMIZE")

cls

;Avoid installing unneeded applications on PFS servers
If @WKSTA = "server"
or @WKSTA = "server"
or @WKSTA = "server"
?"This is a Server, exiting script"
Sleep 2
Return

ELSE
ENDIF

?"SYSTEM***************"
?"User: @FULLNAME"
?"System: @HOSTNAME"
?"DC: @LSERVER"
?"Domain: @DOMAIN"
SETTIME "\\server"
?" "

?"PRINTERS***************"

DelPrinterConnection ("\\server\Accounting")
DelPrinterConnection ("\\server\Administration")
DelPrinterConnection ("\\server\Bankruptcy")
DelPrinterConnection ("\\server\Collections East")
DelPrinterConnection ("\\server\Collections West")
DelPrinterConnection ("\\server\Customer Service")
DelPrinterConnection ("\\server\IS-Dept")
DelPrinterConnection ("\\server\IT-Dept")
DelPrinterConnection ("\\server\Recovery")
DelPrinterConnection ("\\server\Funding")
DelPrinterConnection ("\\server\Tellers")
DelPrinterConnection ("\\server\Underwriting")

IF INGROUP ("Accounting PRN")
?"Adding Printers for Accounting Print Group->"
AddPrinterConnection ("\\server\Accounting")
AddPrinterConnection ("\\server\Check Printer")
AddPrinterConnection ("\\server\Collections West")
AddPrinterConnection ("\\server\Collections East")
AddPrinterConnection ("\\server\Recovery")
AddPrinterConnection ("\\server\Funding")
AddPrinterConnection ("\\server\Underwriting")
SetDefaultPrinter ("\\server\Accounting")
?"Default Printer \\server\Accounting"
ENDIF

Top
#177049 - 2007-06-19 12:50 AM Re: INGROUP not seeing groups in AD randomly [Re: Bowacer]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Look up Token Cache - try clearing it and see if that helps.

/f = flush token cache

Top
#177050 - 2007-06-19 12:54 AM Re: INGROUP not seeing groups in AD randomly [Re: NTDOC]
Bowacer Offline
Fresh Scripter

Registered: 2006-12-18
Posts: 14
Yes, doing that. Thats the /F I was referring to in the original post, I know that is working because of the changes to the printers I sometimes have to make.
Top
#177053 - 2007-06-19 01:03 AM Re: INGROUP not seeing groups in AD randomly [Re: Bowacer]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
May want to use DNSDIAG to check and verify that all your DNS is working properly and systems are finding all the right Servers. Check and verify that REPLICATION is working correctly.

Sound more like a Network issue then a KiX issue.

Top
#177078 - 2007-06-19 10:16 PM Re: INGROUP not seeing groups in AD randomly [Re: NTDOC]
Bowacer Offline
Fresh Scripter

Registered: 2006-12-18
Posts: 14
Just a quick update about this. I found that if I changed the groups in the OUs to domain local instead of global, the login script works flawlessly for the whole company. I don't really get that since we use one domain name.
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
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.053 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

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