Page 1 of 1 1
Topic Options
#168561 - 2006-09-28 03:22 PM Force InGroup() kerberos update?
Bjöppe Offline
Fresh Scripter

Registered: 2006-06-22
Posts: 6
Hi again, been awhile since my last post!

Using InGroup() works just lovely in our menubuilder script, and kix has lowered the time to build menus at logon alot since going from vb -> kix, ROCK ON!

However, one problem persist -- Considering we have 1600 clients and a trained supportstaff, and the old menubuilder-routine could be started "on the fly" and the new ica-icon would appear in the rebuilt menu, forcing people to logoff and logon to get their new programs is getting pretty tiresome -- not least from the vb-fanatics throwing wood on the fire on the issue

Can someone think of a solution to get a new "kerberos token" to the user in some way, so the new group added to the user on the DCs will get picked up by the client and hence, the kix-script will have access to the file(s) and properly rebuild our menus?

Cheers!

Top
#168562 - 2006-09-28 03:32 PM Re: Force InGroup() kerberos update?
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
That one weird nick based on Björn

I ponder if a gpupdate would suffice *_* (prolly not)

Top
#168563 - 2006-09-28 03:59 PM Re: Force InGroup() kerberos update?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
What methodology was used in the vb script to check group membership?

How was the user forced to logoff using the vb script?

From what you wrote, it appears that the old process required a logoff and logon to work. Is this correct?

Define what happens when you say "run on the fly".
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#168564 - 2006-09-28 06:59 PM Re: Force InGroup() kerberos update?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
to reload the auth stuff, you would need to totally disconnect from the server and reconnect again.
if the credentials are part of the logon credentials, there is no way to refresh the rights than via re-logon.

Top
#168565 - 2006-09-29 08:31 AM Re: Force InGroup() kerberos update?
Bjöppe Offline
Fresh Scripter

Registered: 2006-06-22
Posts: 6
Quote:

That one weird nick based on Björn

I ponder if a gpupdate would suffice *_* (prolly not)




Yeah, it's my nickname, given by some damn consultant some 11 years ago, it has stuck

I'll try that.

Quote:

What methodology was used in the vb script to check group membership?

How was the user forced to logoff using the vb script?

From what you wrote, it appears that the old process required a logoff and logon to work. Is this correct?

Define what happens when you say "run on the fly".




The vb-script used NTFS-permissions, i.ex tried to "copy" _everything_ to the client. This did not require any logoff for some reason, but the process was really, really slow on remote sites. Hence, they did not require to logon/logoff. The KIX-script was built using InGroup() and a configfile, to just copy the files necessary, however, this is not updated and re-running the script would not gain access to the new icons/files after adding the user to a domaingroup. Hope this clears things up abit regarding my silly "on-the-fly" wording.

Quote:

to reload the auth stuff, you would need to totally disconnect from the server and reconnect again.
if the credentials are part of the logon credentials, there is no way to refresh the rights than via re-logon.




Ok, my guess is that InGroup() is using the kerberos ticket gained at logon, hence I'd guess there's no way to force a re-creation of this in a easy way.

Thanks for the input, guys!

/Weird UNIX-guy trying to do things in the MS-world.

Top
#168566 - 2006-09-29 10:43 AM Re: Force InGroup() kerberos update?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ingroup uses that and so does even windows.
ja, things are bit different on other side of the fence

Top
#168567 - 2006-09-29 02:29 PM Re: Force InGroup() kerberos update?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You can however, query AD groups for the members but that could be quite intensive. The script could determine membership without picking up a new token but the NTFS perms that rely on the new token would still require a logon.
Top
#168568 - 2006-09-29 04:08 PM Re: Force InGroup() kerberos update?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn, you are absolutely right Les.
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 1821 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.066 seconds in which 0.035 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