Click to See Complete Forum and Search --> : Gina - Nothing is happening
e_vakili
December 17th, 2004, 05:27 PM
I was wrote a gina dll based on MSDN example codes on the section "Using GINA Export Functions". But when the computer is started and gina is loaded a black screen with a movable mouse pointer is displayed and then nothing....
I find out that WlxInitialize is executed successfully. Could anyone help me?
Applogize for my bad english...:blush:
j0nas
December 17th, 2004, 05:55 PM
Fixing your Windows installation:
a) If FAT -- Boot from a floppy and overwrite (copy) your gina dll with the original msgina.dll
b) If NTFS -- Get ERD Commander (bootable CD which can "mount" NTFS partitions) and boot from that CD, then do same overwriting stuff...
or
c) Remote Registry -- Remove the GinaDll entry in Winlogon registry key from a remote computer (by running regedit remotely).
As for the code you're writing, begin with a proxy (ginastub) version frist... see if you can manage without having the implement your own replacement GINA. Writing a full-blown replacement GINA is not easy, especially if you want to implement all MSGINA features (like for instance Remote Desktop).
e_vakili
December 19th, 2004, 02:14 AM
Thanks j0nas.
I was test (ginastub) and it's worked perfectly. For fixing the problem I used Windows Installation CD and went to the repair section. Then do as the same you said.
Then I want to writing a custom authentication package or subauthentication package, but I can't find any samples about it. Could you help me?
Again thanks for your reply.
Esmaeil
Applogize for my bad english...:blush:
j0nas
December 22nd, 2004, 04:02 AM
I think threre are two samples of writing autentication packages in the Platform SDK.
Why do you want to write a custom authentication package? What are you trying to solve with that?
e_vakili
January 12th, 2005, 11:59 AM
Thanks j0nas.
I want to control over windows authentication. I have wrote a custom gina, but the gina only controls the interactive logon process. If we want to login to a computer from a network, our logon system is bypassed with windows logon system. Or if the user uses runas api function or runas command it can run a program with windows native authentication. Is there any way to control this?
Esmaeil
Applogize for my bad english...:blush:
j0nas
January 12th, 2005, 04:39 PM
Do you mean that whenever LogonUser (or LsaLogonUser) is called to perform an interactive or network logon, your auth system should be invoked to do the authentication instead of the native one?
Which WinNT versions should it work for? (NT4, W2K and XP??)
raju510
February 2nd, 2005, 06:59 PM
I am also in the process of doing the same thing. I have made the custom GINA to capture the userid/password, But on the server side I want to authenticate the user myself.
How do I do whenever LogonUser (or LsaLogonUser) is called to perform an interactive or network logon, my auth system should be invoked to do the authentication instead of the native one.
I have looked at the Custom Authentication Package and SubAuthentication package. I can get the SubAuthentication package to be called. But its only get called after the window authentication is successfully authenticated. I want to by pass the windows authentication and do my own.
Please let me know if you have any idea.
e_vakili
March 28th, 2005, 11:20 AM
My Gina is going to be completed but i have some problems:
I can only use UserLogon but I want to use LsaUserLogon. I can't find any sample for it (for kereberos authentication)
The screensaver can not be activated. After timeout for activating screensaver when a Gina dialog is opened nothig is happening.
Could you help me.
Thanks for your attention
Esmaeil
Applogize for my bad english...:blush:
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.