Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: CAO serialization on Client side Pin
Marc Clifton22-Jan-07 8:06
mvaMarc Clifton22-Jan-07 8:06 
GeneralRe: CAO serialization on Client side Pin
mdzieg22-Jan-07 8:31
mdzieg22-Jan-07 8:31 
AnswerRe: CAO serialization on Client side Pin
mdzieg22-Jan-07 11:51
mdzieg22-Jan-07 11:51 
GeneralRe: CAO serialization on Client side [modified] Pin
mdzieg23-Jan-07 6:32
mdzieg23-Jan-07 6:32 
QuestionProgrammatically sharing a drive Pin
Marc Clifton22-Jan-07 6:52
mvaMarc Clifton22-Jan-07 6:52 
AnswerRe: Programmatically sharing a drive Pin
Rick van Woudenberg22-Jan-07 9:42
Rick van Woudenberg22-Jan-07 9:42 
AnswerRe: Programmatically sharing a drive Pin
Scott Dorman28-Jan-07 6:39
professionalScott Dorman28-Jan-07 6:39 
QuestionUsing LDAP for user authentication Pin
mav.northwind22-Jan-07 6:35
mav.northwind22-Jan-07 6:35 
Hi folks!

I guess it's a newbie question in the area of AD/LDAP, but I was wondering how one could implement a single sign-on mechanism with two collaborating applications.

At the moment, I have an application (A) with its own user administration. User names and (hashed) passwords are stored in a database and the application has its own logon dialog that checks login information against the entries in the database.

Another application (B) can use (A) basically by calling the application with some command line options. One command line option is a user name and (plain) password for (A) to use. In this case, (A) stuffs the user name and password into the logon dialog and handles this information as if it was entered manually.
The disadvantage is that (B) has got to know the user names and passwords from (A) for this to work, so I have to manually keep (A)'s and (B)'s users (and passwords) in sync.

Now I wanted to add an option for (A) to use AD/LDAP for user authentication and I think the basic login dialog with AD users and checking with AD if the password is correct can be programmed easily. What I don't know (and I hope one of you can give me a hint in the right direction) is how (B) can give (A) the information that a user already has authenticated himself in (B) and (A) can use these user credentials without asking the password again. AFAIK there's no way to get the plain password out of AD, so (B) can't give the plain password to (A) like before...
Any ideas?

Thanks in advance,
mav

Regards,
mav

--
Black holes are the places where God divided by 0...

QuestionData Grid View Setting Current Row Pin
Jawa200622-Jan-07 6:31
Jawa200622-Jan-07 6:31 
AnswerRe: Data Grid View Setting Current Row Pin
Marc Clifton22-Jan-07 6:42
mvaMarc Clifton22-Jan-07 6:42 
Questionc# Pin
Member 321217722-Jan-07 6:13
Member 321217722-Jan-07 6:13 
AnswerRe: c# Pin
GaryWoodfine 23-Jan-07 6:48
professionalGaryWoodfine 23-Jan-07 6:48 
Questionc# Pin
Member 321217722-Jan-07 6:12
Member 321217722-Jan-07 6:12 
QuestionFind active user under Fast User Switching Pin
Dave Midgley22-Jan-07 5:14
Dave Midgley22-Jan-07 5:14 
QuestionWhat the heck... Pin
Ray Cassick22-Jan-07 5:01
Ray Cassick22-Jan-07 5:01 
AnswerRe: What the heck... Pin
Marc Clifton22-Jan-07 5:11
mvaMarc Clifton22-Jan-07 5:11 
AnswerRe: What the heck... Pin
tgrt22-Jan-07 5:22
tgrt22-Jan-07 5:22 
GeneralRe: What the heck... Pin
Ray Cassick22-Jan-07 5:26
Ray Cassick22-Jan-07 5:26 
QuestionMerging image segments into one image Pin
MayyMagdy22-Jan-07 4:48
MayyMagdy22-Jan-07 4:48 
AnswerRe: Merging image segments into one image Pin
Luc Pattyn22-Jan-07 6:09
sitebuilderLuc Pattyn22-Jan-07 6:09 
GeneralRe: Merging image segments into one image Pin
Rick van Woudenberg22-Jan-07 8:24
Rick van Woudenberg22-Jan-07 8:24 
GeneralRe: Merging image segments into one image Pin
Luc Pattyn22-Jan-07 8:59
sitebuilderLuc Pattyn22-Jan-07 8:59 
QuestionSitemap and role based access (custom roles) Pin
harinath22-Jan-07 4:40
professionalharinath22-Jan-07 4:40 
QuestionCompiling C# to win32 Pin
Mohamed El Gohary22-Jan-07 4:21
Mohamed El Gohary22-Jan-07 4:21 
AnswerRe: Compiling C# to win32 Pin
Obaid ur Rehman22-Jan-07 4:48
Obaid ur Rehman22-Jan-07 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.