RE: Can somebody help me with Gina DLL

Hi All,

I have a question regarding Gina DLL on Windows XP
platform.

Currently, we are testing a customized Gina DLL on
Windows XP machine.

On the dialog box displayed from Gina DLL, we have a
link that when we click on is supposed to show a
program window (for eg: PublicBrowser window).
But it doesnt open up although the process runs in the
background but the window doesnt show up.

We tried running notepad.exe. Notepad process keeps
running in the background when we check the Tasks
running by pressing Ctrl-Alt-Del key, but the notepad
window doesnt show up on the screen.

Would anybody be able to help me ???

I am kindof stuck because of this little problem.

Thanks,

— “Maxim S. Shatskih”
wrote:
> LSA subauth package seems to be a better way of
> being notified on
> logons then the NP DLL.
>
> Max
>
> ----- Original Message -----
> From: “Bikramjeet”
> To: “File Systems Developers”
> Sent: Friday, February 21, 2003 11:50 PM
> Subject: [ntfsd] RE: Can somebody help me with
> NPLogonNotify() ??? Cr
> eden tial Manager …
>
>
> >
> > On MSDN, the documentation about LogonUser() says
> that
> > if the LogonUser() call is successful, the system
> > notifies network providers that the logon occurred
> by
> > calling the provider’s NPLogonNotify entry-point
> > function.
> >
> > In my case, I am calling the function LogonUser
> with
> > the
> > parameters as follows.
> >
> > LogonUser( pAccount->pszUsername,
> > pAccount->pszDomain,
> > pAccount->pszPassword,
> > LOGON32_LOGON_INTERACTIVE,
> > LOGON32_PROVIDER_DEFAULT,
> > &hUser))
> >
> > DO the parameters used in the function call have
> to be
> > different or is it ok ??
> >
> > Because I have tried setting the provider as
> > credential manager by setting the Class subkey to
> > WN_CREDENTIAL_CLASS | WN_NETWORK_CLASS.
> >
> > I am returning 0x1 for WNNC_START case value in
> the
> > NPGetCaps() function call.
> >
> > I have tried changing the provider order.
> >
> > Now my customized network provider gets called and
> > then LANMAN and others.
> >
> > I have tried changing it the other way around but
> no
> > results.
> >
> > Somehow NPLogonNotify() is not getting called.
> >
> > Would anybody be able to help me on this ??
> >
> > Thanks for helping.
> >
> > Bikramjeet.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > — Mitch Kuninsky
> wrote:
> > > My version of MSDN man page for NPGetCaps
> doesn’t
> > > mention
> > > WNNC_AUTHENTICATION, so I don’t know about that.
> > > Our network provider does
> > > not respond to that query. However, we do
> return
> > > 0x1 for WNNC_START when
> > > our file system is ready and we do get calls to
> > > NPLoginNotify as expected.
> > >
> > > -----Original Message-----
> > > From: Bikramjeet [mailto:xxxxx@yahoo.com]
> > > Sent: Thursday, February 20, 2003 4:19 PM
> > > To: File Systems Developers
> > > Subject: [ntfsd] RE: Can somebody help me with
> > > NPLogonNotify() ??? Creden
> > > tial Manager …
> > >
> > >
> > > Mitch,
> > >
> > > I tried to set the Class key inside of
> > >
> >
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > provider name>\NetworkProvider\ registry key
> as
> > > both
> > > WN_CREDENTIAL_CLASS and WN_NETWORK_CLASS.
> > >
> > > But yet NPLogonNotify() function doesnt get
> called.
> > > Does it have to do with the NPGetCaps() function
> ??
> > > In NPGetCaps() function, what about the case
> option,
> > > WNNC_AUTHENTICATION and
> > > WNNC_START.
> > >
> > > In WNNC_START, I am returning 0xFFFFFFFF.
> > > What about WNNC_AUTHENTICATION ???
> > >
> > > I am exporting the NPLogonNotify() function
> inside
> > > of
> > > .DEF file.
> > > But I am exporting by function name and not by
> > > ordinal
> > > name.
> > >
> > > What could be the problem since I am not yet
> able to
> > > get NPLogonNotify() function call working.
> > >
> > > Thanks.
> > >
> > > Bikramjeet.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > — Mitch Kuninsky
> wrote:
> > > > Make sure that you register as a Credential
> > > Manager
> > > > as well as a Network
> > > > Provider. To do this,
> > > >
> > > >
> > > >
> > >
> >
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > provider name>\NetworkProvider\Class
> > > >
> > > > should have the WN_CREDENTIAL_CLASS bit set as
> > > well
> > > > as the WN_NETWORK_CLASS
> > > > bit.
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Bikramjeet
> [mailto:xxxxx@yahoo.com]
> > > > Sent: Thursday, February 20, 2003 3:27 PM
> > > > To: File Systems Developers
> > > > Subject: [ntfsd] Can somebody help me with
> > > > NPLogonNotify() ??? Credential
> > > > Manager …
> > > >
> > > >
> > > > Hi ALL,
> > > >
> > > > Currently I am working on customizing the
> > > > authentication DLL, GinaDLL.
> > > > I have customized GinaDLL to the point where
> the
> > > > user
> > > > account gets created on the local machine and
> the
> > > > user
> > > > gets authenticated against the LDAP server
> where
> > > all
> > > > the accounts are stored.
> > > >
> > > > Now along with logging onto the Windows XP
> > > > workstation, the students would also log on
> the
> > > > Novell
> > > > server by using the Novell client.
> > > >
> > > > Now, at boot time MPR calls all the network
> > > > providers
> > > > in order as specified in the registry and logs
> > > onto
>
=== message truncated ===

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook™.
http://calendar.yahoo.com

Hi,

If I’m right, when the GINA DLL is shown, the desktop will not be
visible.

Rajiv.

-----Original Message-----
From: Bikramjeet [mailto:xxxxx@yahoo.com]
Sent: Monday, June 02, 2003 11:29 PM
To: File Systems Developers
Subject: [ntfsd] RE: Can somebody help me with Gina DLL

Hi All,

I have a question regarding Gina DLL on Windows XP
platform.

Currently, we are testing a customized Gina DLL on
Windows XP machine.

On the dialog box displayed from Gina DLL, we have a
link that when we click on is supposed to show a
program window (for eg: PublicBrowser window).
But it doesnt open up although the process runs in the background but
the window doesnt show up.

We tried running notepad.exe. Notepad process keeps
running in the background when we check the Tasks
running by pressing Ctrl-Alt-Del key, but the notepad
window doesnt show up on the screen.

Would anybody be able to help me ???

I am kindof stuck because of this little problem.

Thanks,

— “Maxim S. Shatskih”
wrote:
> LSA subauth package seems to be a better way of
> being notified on
> logons then the NP DLL.
>
> Max
>
> ----- Original Message -----
> From: “Bikramjeet”
> To: “File Systems Developers”
> Sent: Friday, February 21, 2003 11:50 PM
> Subject: [ntfsd] RE: Can somebody help me with
> NPLogonNotify() ??? Cr
> eden tial Manager …
>
>
> >
> > On MSDN, the documentation about LogonUser() says
> that
> > if the LogonUser() call is successful, the system
> > notifies network providers that the logon occurred
> by
> > calling the provider’s NPLogonNotify entry-point
> > function.
> >
> > In my case, I am calling the function LogonUser
> with
> > the
> > parameters as follows.
> >
> > LogonUser( pAccount->pszUsername,
> > pAccount->pszDomain,
> > pAccount->pszPassword,
> > LOGON32_LOGON_INTERACTIVE,
> > LOGON32_PROVIDER_DEFAULT,
> > &hUser))
> >
> > DO the parameters used in the function call have
> to be
> > different or is it ok ??
> >
> > Because I have tried setting the provider as
> > credential manager by setting the Class subkey to
> > WN_CREDENTIAL_CLASS | WN_NETWORK_CLASS.
> >
> > I am returning 0x1 for WNNC_START case value in
> the
> > NPGetCaps() function call.
> >
> > I have tried changing the provider order.
> >
> > Now my customized network provider gets called and
> > then LANMAN and others.
> >
> > I have tried changing it the other way around but
> no
> > results.
> >
> > Somehow NPLogonNotify() is not getting called.
> >
> > Would anybody be able to help me on this ??
> >
> > Thanks for helping.
> >
> > Bikramjeet.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > — Mitch Kuninsky
> wrote:
> > > My version of MSDN man page for NPGetCaps
> doesn’t
> > > mention
> > > WNNC_AUTHENTICATION, so I don’t know about that.
> > > Our network provider does
> > > not respond to that query. However, we do
> return
> > > 0x1 for WNNC_START when
> > > our file system is ready and we do get calls to NPLoginNotify as
> > > expected.
> > >
> > > -----Original Message-----
> > > From: Bikramjeet [mailto:xxxxx@yahoo.com]
> > > Sent: Thursday, February 20, 2003 4:19 PM
> > > To: File Systems Developers
> > > Subject: [ntfsd] RE: Can somebody help me with
> > > NPLogonNotify() ??? Creden
> > > tial Manager …
> > >
> > >
> > > Mitch,
> > >
> > > I tried to set the Class key inside of
> > >
> >
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > provider name>\NetworkProvider\ registry key
> as
> > > both
> > > WN_CREDENTIAL_CLASS and WN_NETWORK_CLASS.
> > >
> > > But yet NPLogonNotify() function doesnt get
> called.
> > > Does it have to do with the NPGetCaps() function
> ??
> > > In NPGetCaps() function, what about the case
> option,
> > > WNNC_AUTHENTICATION and
> > > WNNC_START.
> > >
> > > In WNNC_START, I am returning 0xFFFFFFFF.
> > > What about WNNC_AUTHENTICATION ???
> > >
> > > I am exporting the NPLogonNotify() function
> inside
> > > of
> > > .DEF file.
> > > But I am exporting by function name and not by
> > > ordinal
> > > name.
> > >
> > > What could be the problem since I am not yet
> able to
> > > get NPLogonNotify() function call working.
> > >
> > > Thanks.
> > >
> > > Bikramjeet.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > — Mitch Kuninsky
> wrote:
> > > > Make sure that you register as a Credential
> > > Manager
> > > > as well as a Network
> > > > Provider. To do this,
> > > >
> > > >
> > > >
> > >
> >
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > provider name>\NetworkProvider\Class
> > > >
> > > > should have the WN_CREDENTIAL_CLASS bit set as
> > > well
> > > > as the WN_NETWORK_CLASS
> > > > bit.
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Bikramjeet
> [mailto:xxxxx@yahoo.com]
> > > > Sent: Thursday, February 20, 2003 3:27 PM
> > > > To: File Systems Developers
> > > > Subject: [ntfsd] Can somebody help me with
> > > > NPLogonNotify() ??? Credential
> > > > Manager …
> > > >
> > > >
> > > > Hi ALL,
> > > >
> > > > Currently I am working on customizing the authentication DLL,
> > > > GinaDLL. I have customized GinaDLL to the point where
> the
> > > > user
> > > > account gets created on the local machine and
> the
> > > > user
> > > > gets authenticated against the LDAP server
> where
> > > all
> > > > the accounts are stored.
> > > >
> > > > Now along with logging onto the Windows XP
> > > > workstation, the students would also log on
> the
> > > > Novell
> > > > server by using the Novell client.
> > > >
> > > > Now, at boot time MPR calls all the network
> > > > providers
> > > > in order as specified in the registry and logs
> > > onto
>
=== message truncated ===

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook™.
http://calendar.yahoo.com


You are currently subscribed to ntfsd as: xxxxx@wipro.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Displaying windows in a GINA DLL can be problematic if the active desktop
changes after you create the window, but before the user can interact with
it. Your problem may be that the window is created on the Winlogon
desktop, which would make it inaccessible from the user’s.

See WlxSwitchDesktopToUser() and WlxSwitchDesktopToWinlong() in the
Platform SDK – they may be of aid to you.

  • Michael

Hi All,

I have a question regarding Gina DLL on Windows XP
platform.

Currently, we are testing a customized Gina DLL on
Windows XP machine.

On the dialog box displayed from Gina DLL, we have a
link that when we click on is supposed to show a
program window (for eg: PublicBrowser window).
But it doesnt open up although the process runs in the
background but the window doesnt show up.

We tried running notepad.exe. Notepad process keeps
running in the background when we check the Tasks
running by pressing Ctrl-Alt-Del key, but the notepad
window doesnt show up on the screen.

Would anybody be able to help me ???

I am kindof stuck because of this little problem.

Thanks,

— “Maxim S. Shatskih”
> wrote:
> > LSA subauth package seems to be a better way of
> > being notified on
> > logons then the NP DLL.
> >
> > Max
> >
> > ----- Original Message -----
> > From: “Bikramjeet”
> > To: “File Systems Developers”
> > Sent: Friday, February 21, 2003 11:50 PM
> > Subject: [ntfsd] RE: Can somebody help me with
> > NPLogonNotify() ??? Cr
> > eden tial Manager …
> >
> >
> > >
> > > On MSDN, the documentation about LogonUser() says
> > that
> > > if the LogonUser() call is successful, the system
> > > notifies network providers that the logon occurred
> > by
> > > calling the provider’s NPLogonNotify entry-point
> > > function.
> > >
> > > In my case, I am calling the function LogonUser
> > with
> > > the
> > > parameters as follows.
> > >
> > > LogonUser( pAccount->pszUsername,
> > > pAccount->pszDomain,
> > > pAccount->pszPassword,
> > > LOGON32_LOGON_INTERACTIVE,
> > > LOGON32_PROVIDER_DEFAULT,
> > > &hUser))
> > >
> > > DO the parameters used in the function call have
> > to be
> > > different or is it ok ??
> > >
> > > Because I have tried setting the provider as
> > > credential manager by setting the Class subkey to
> > > WN_CREDENTIAL_CLASS | WN_NETWORK_CLASS.
> > >
> > > I am returning 0x1 for WNNC_START case value in
> > the
> > > NPGetCaps() function call.
> > >
> > > I have tried changing the provider order.
> > >
> > > Now my customized network provider gets called and
> > > then LANMAN and others.
> > >
> > > I have tried changing it the other way around but
> > no
> > > results.
> > >
> > > Somehow NPLogonNotify() is not getting called.
> > >
> > > Would anybody be able to help me on this ??
> > >
> > > Thanks for helping.
> > >
> > > Bikramjeet.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > — Mitch Kuninsky
> > wrote:
> > > > My version of MSDN man page for NPGetCaps
> > doesn’t
> > > > mention
> > > > WNNC_AUTHENTICATION, so I don’t know about that.
> > > > Our network provider does
> > > > not respond to that query. However, we do
> > return
> > > > 0x1 for WNNC_START when
> > > > our file system is ready and we do get calls to
> > > > NPLoginNotify as expected.
> > > >
> > > > -----Original Message-----
> > > > From: Bikramjeet [mailto:xxxxx@yahoo.com]
> > > > Sent: Thursday, February 20, 2003 4:19 PM
> > > > To: File Systems Developers
> > > > Subject: [ntfsd] RE: Can somebody help me with
> > > > NPLogonNotify() ??? Creden
> > > > tial Manager …
> > > >
> > > >
> > > > Mitch,
> > > >
> > > > I tried to set the Class key inside of
> > > >
> > >
> >
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > > provider name>\NetworkProvider\ registry key
> > as
> > > > both
> > > > WN_CREDENTIAL_CLASS and WN_NETWORK_CLASS.
> > > >
> > > > But yet NPLogonNotify() function doesnt get
> > called.
> > > > Does it have to do with the NPGetCaps() function
> > ??
> > > > In NPGetCaps() function, what about the case
> > option,
> > > > WNNC_AUTHENTICATION and
> > > > WNNC_START.
> > > >
> > > > In WNNC_START, I am returning 0xFFFFFFFF.
> > > > What about WNNC_AUTHENTICATION ???
> > > >
> > > > I am exporting the NPLogonNotify() function
> > inside
> > > > of
> > > > .DEF file.
> > > > But I am exporting by function name and not by
> > > > ordinal
> > > > name.
> > > >
> > > > What could be the problem since I am not yet
> > able to
> > > > get NPLogonNotify() function call working.
> > > >
> > > > Thanks.
> > > >
> > > > Bikramjeet.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > — Mitch Kuninsky
> > wrote:
> > > > > Make sure that you register as a Credential
> > > > Manager
> > > > > as well as a Network
> > > > > Provider. To do this,
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<network>> > > > > provider name>\NetworkProvider\Class
> > > > >
> > > > > should have the WN_CREDENTIAL_CLASS bit set as
> > > > well
> > > > > as the WN_NETWORK_CLASS
> > > > > bit.
> > > > >
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Bikramjeet
> > [mailto:xxxxx@yahoo.com]
> > > > > Sent: Thursday, February 20, 2003 3:27 PM
> > > > > To: File Systems Developers
> > > > > Subject: [ntfsd] Can somebody help me with
> > > > > NPLogonNotify() ??? Credential
> > > > > Manager …
> > > > >
> > > > >
> > > > > Hi ALL,
> > > > >
> > > > > Currently I am working on customizing the
> > > > > authentication DLL, GinaDLL.
> > > > > I have customized GinaDLL to the point where
> > the
> > > > > user
> > > > > account gets created on the local machine and
> > the
> > > > > user
> > > > > gets authenticated against the LDAP server
> > where
> > > > all
> > > > > the accounts are stored.
> > > > >
> > > > > Now along with logging onto the Windows XP
> > > > > workstation, the students would also log on
> > the
> > > > > Novell
> > > > > server by using the Novell client.
> > > > >
> > > > > Now, at boot time MPR calls all the network
> > > > > providers
> > > > > in order as specified in the registry and logs
> > > > onto
> >
> === message truncated ===
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook™.
> http://calendar.yahoo.com