single sign on

A

Alain R.

Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.
 
A

Alain R.

Hi Peter,

basically i try to do the same thing as under PHP.
when the user log on, i check if he is able to connect to network
resource (basically if LDAP is able to identify him).

if he is able to retrieve resources from LDAP, is get credentials to
continue to use application.

something like that i would like to perform.

basically in PHP, steps are :
- connect to LDAP
- try to bind using login and password of user
- if successful, so everything is ok and user can continue to use
application.


Alain
 
C

Chris Mullins [MVP - C#]

I've done a fair bit of SSO stuff under windows.

What environment are you using? A web site? A winforms app? A custom sockets
application? What are you authenticating against? That is, do you have a
client app authenticating against a server app? Are you running under AD?
LDAP? Do you need Kerberos, or is NTLM good enough?

Are you trying to have users not on the AD login via SSO? Are you using AD
Federation? Trust?

There are alot of variables here, and I need more detail if I'm going to say
anything meaningfull.

In the short term, you can go take a look at:
http://msdn2.microsoft.com/en-us/library/system.net.security.negotiatestream.aspx
http://win32.mvps.org/security/sspi.html

For the code I wrote, I ended up having to write Mixed Mode C++ and do
everything by hand, similar to the way the Platform SDK samples do. You can
go pull down the Soapbox Framework (available under LGPL), and look for the
Win32 library that has the SSPI code in it. It's very clear (well, relativly
speaking0, easily callable from C#, and (hopefully!) debugged.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top