Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Citrix, MSGina.dll and Custom Problem

Hi,

I have written a new custom gina that passes the commands onto the original microsoft gina, and now need to install this gina on a citrix machine.  However citrix also have there own custom gina. How can i get mine GINA to work with the Ctrix Gina.

i.e  Citrix Gina to call into MycustomGina to call into MSgina.dll

Please help?
0
lee_ingram
Asked:
lee_ingram
1 Solution
 
Knut HunstadCommented:
Are you sure Citrix Gina calls into MSgina.dll at all? If it does, you should be able to achieve this by:

- letting MycustomGina export the exact same functions as MSgina
- rename MSgina.dll to e.g. OriginalGina.dll and MycustomGina.dll to MSgina.dll
- load OriginalGina.dll dynamically so you can rename the functions in it to avoid collision with the ones you have in your Gina (with the exact same names).

thereby tricking the Citrix Gina into thinking your Gina is the original one.
0
 
lee_ingramAuthor Commented:
Hi,

I have tried what you have suggested, and for some reason it did not appear to work.  I have however fixed the problem.  

It was either one of the two things i changed which were:

1)... I placed the custom gina first and then passed all calls through to the Citrix Gina, then citrix onto the orginal MSGina.dll
2).. I updated the dispatch table to support version 1.4 of the MSgina.  

Thanks for you help.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now