Re: Reading and Writing ADAM User attributes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It was the SecureSocketsLayer flag you need to add to specify an SSL connection. The Secure flag controls whether windows authentication is used or not, but that is different from SSL.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"funnypuppy" <funnypuppy.3nhenc@xxxxxxxxxxxxx> wrote in message news:funnypuppy.3nhenc@xxxxxxxxxxxxxxxx

Yes, I've specified AuthenticationTypes.Secure. The userAccountControl
read is from a code sample that I'm trying. I didn't come up with the
code sample. Again, I'm new to this and was trying something. I didn't
realize that it isn't an ADAM attribute. Thanks for pointing that out.


I will try your suggestion about checking the event logs for cert
issues and read a valid ADAM attribute. I did not suspect that the cert
is a problem though since I can connect to ADAM using
System.Web.Security.Membership. If the cert is the issue, I would think
that connecting using Membership wouldn't work either. But I will check
the event logs for cert issues.


--
funnypuppy
------------------------------------------------------------------------
funnypuppy's Profile: http://forums.techarena.in/members/funnypuppy.htm
View this thread: http://forums.techarena.in/active-directory/1120637.htm

http://forums.techarena.in


.



Relevant Pages

  • Re: ADAM wirh SSL
    ... Resource kit to generate the self-signed cert I'm using. ... The cert works perfectly with IIS as well, so I know it *can* work. ... used this same procedure on a previous XP install with ADAM and IIS and it ... No suitable default server credential exists on this system. ...
    (microsoft.public.windows.server.active_directory)
  • Re: makecert
    ... You do need to have IIS installed in order to use this tool. ... I wouldn't worry about anything in IIS getting hosed unless you had SSL ... that in the IIS MMC by putting the previous cert back. ... You can then import it into the personal store for the ADAM service account ...
    (microsoft.public.windows.server.active_directory)
  • Re: makecert
    ... Thanks for the response, Joe. ... Do you want to replace the SSL settings for site 1?y ... generating one off SSL certs and I've used that for ADAM before too. ... cert will get installed on the local machine and configured in IIS, ...
    (microsoft.public.windows.server.active_directory)
  • Re: makecert
    ... generating one off SSL certs and I've used that for ADAM before too. ... cert will get installed on the local machine and configured in IIS, ... or your clients will generally fail to connect via SSL ... This same command line succeeded the first time, ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to disable SSL in ADAM
    ... Did you also have this cert imported into computer cert ... If there's a ServerAuth cert there, then ADAM will pick it up ... > So I've successfully installed the cert and configured SSL on ADAM. ... > assigned to the ADAM service via certificate mmc snapin. ...
    (microsoft.public.windows.server.active_directory)