fgagnonks
(Just in Town)
2008-04-30 08:53 PM
Ingroup fails with a RDP session ?

I have searched the forum and could not found a related issue, so here it is:

Loging in remotly as "Administrator" to a server using Citrix, this script works and maps the Z: correctly.

IF InGroup("GroupName")
USE Z: /Delete /Persistent
USE Z: "\\DC01\ShareName"
ENDIF

But the same login to the same server using a RDP session (Terminal Server), the script starts but does not recognise the "Administrator" as being a member of "GroupName" and fails to map de Z: drive.
If I use "Debug ON" I can see it the IF InGroup("GroupName") and then the script ends.

This is with Kixtart 4.60 2010

Why ?

What is missing ?

How to fix this ?

Thanks.



NTDOCAdministrator
(KiX Master)
2008-04-30 10:49 PM
Re: Ingroup fails with a RDP session ?

Please try version 4.53 and see if that one works as expected.

If it does then let us know - it may be an unknown bug with the 4.60 version.


Mart
(KiX Supporter)
2008-04-30 11:05 PM
Re: Ingroup fails with a RDP session ?

Not a bug in 4.60 imho.
Work just fine for me on local logons and terminal (RDC) sessions from WinXP pro to Win2K server and Win2K3 server and from Vista enterprise to Win2K and Win2K3 server. Both on the local LAN and with an SSL VPN tunnel over the internet.

Not sure and cant check right now but I recall something about a Terminal server tab in the users properties. Some settings can be set there especially for TS logons.


NTDOCAdministrator
(KiX Master)
2008-05-01 12:37 AM
Re: Ingroup fails with a RDP session ?

I'm not sure either and I don't have a problem running 4.53 over Cisco VPN with RDC - have not tried the 4.60 version.

Maybe his code, or maybe something else he's running that we don't run that is causing an issue. Only takes a minute to try a different version of KiXtart though to see if that's the cause. If it too has an issue then probably need to post the entire logon script to see if someone can spot an issue.


Glenn BarnasAdministrator
(KiX Supporter)
2008-05-01 01:32 AM
Re: Ingroup fails with a RDP session ?

RDC? Is that something new - RDP over RPC? Or are you guys secretly train buffs and subliminally referencing Rail Diesel Cars?



Glenn


Les
(KiX Master)
2008-05-01 01:47 AM
Re: Ingroup fails with a RDP session ?

RDC uses RDP. Everyone knows that.

RDC = Remote Desktop Client


fgagnonks
(Just in Town)
2008-05-02 05:49 PM
Re: Ingroup fails with a RDP session ?

Problem has been identified but not fixed yet

1 - I installed KiXtart 2010 4.53 and it behaves the same way
2 - If user A logs onto B's copmputer, the Z: is mapped
3 - If user B logs onto A's computer the Z: is mapped
4 - if A or B log onto their computer the Z: is NOT mapped.

It looks like there is something in the profile that prevents the "Ingroup" to properly identify if the user really is in the group.

Why does InGroup do that ?

Thanks


BillBarnard
(Starting to like KiXtart)
2008-05-02 06:10 PM
Re: Ingroup fails with a RDP session ?

I think, the first use command, use z: /del /pers
will fail as it's incorrect syntax, you can't use both /del and /pers in the same use command, it's one or the other.
Assuming the KiXtart USE is similar syntax to the NET USE command line one.
Perhaps this affects the second use comand.
Remove /pers from the first use command.

D:\>net use z: /del /pers
You used an option with an invalid value.

The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

More help is available by typing NET HELPMSG 3505.


Regards,

Bill


AllenAdministrator
(KiX Supporter)
2008-05-02 06:34 PM
Re: Ingroup fails with a RDP session ?

Bill, I think you have the commandline net use, and kixtart use mixed up. using del and persistent with the kix use is proper, and in cases where the mapped drive is created with persistant, you have to use it to remove it.

AllenAdministrator
(KiX Supporter)
2008-05-02 06:54 PM
Re: Ingroup fails with a RDP session ?

Is the server part of the domain?
Domain or local groups?

Have you tried:
"domainname\groupname"
"servername\groupname"

Don't think this applies here, but Z: is a no no with Win9x.


fgagnonks
(Just in Town)
2008-05-02 07:21 PM
Re: Ingroup fails with a RDP session ?


Is the server part of the domain? YES
Domain or local groups? Domain Groups (Global-Security)

I have tried both and it behaves the same way, it does not work.
"domainname\groupname"
"servername\groupname"

?


NTDOCAdministrator
(KiX Master)
2008-05-02 09:51 PM
Re: Ingroup fails with a RDP session ?

Please post the full script (or at least the entire section where you do this mapping) so that we can see what you're actually coding. Hopefully we can offer further advice based on what's shown.

Mart
(KiX Supporter)
2008-05-03 01:45 AM
Re: Ingroup fails with a RDP session ?

How about flushing the token cache with the /f parameter or by deleting the regkey below?

 Quote:

HKEY_CURRENT_USER\Software\KiXtart\TokenCache


fgagnonks
(Just in Town)
2008-05-14 04:19 PM
Re: Ingroup fails with a RDP session ?

Thanks Mart, like you said we tried the /f parameter and it worked.

Problem solved ! \:\)

Thanks !


Mart
(KiX Supporter)
2008-05-14 08:31 PM
Re: Ingroup fails with a RDP session ?

It's always the simple things that are missed