Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



SSL with ADAM

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-07-2009
Kerry
 
Posts: n/a
SSL with ADAM

Can we enable SSL with ADAM? Is there a step-by-step that i can follow to
achieve that.

I am a lil confused between ldaps and ssl...currently i am using simple
binds with ADAM, which i understand sends passwords in clear text, if i use
ldaps, are passwords still sent in clear text? or should i implement SSL to
mitigate that risk?


Reply With Quote
  #2  
Old 27-07-2009
Lee Flight
 
Posts: n/a
Re: SSL with ADAM

Hi

if you are using LDAP simple binds then the credentials are sent in
clear text, using LDAPS the credentials are still sent in clear text
but over an secure (encrypted) channel so LDAPS is really what you
need for a secure approach.

Microsoft documentation for SSL configuration for AD LDS is here [1],
the only major difference with ADAM cf AD LDS is the location of the
keys in the notes at [1]
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

is the WS08 location whereas for ADAM on WS03 the keys are at

c:\documents and settings\All
Users\ApplicationData\Microsoft\Crypto\RSA\MachineKeys

There are some more notes linked from here [2].

Lee Flight

[1] http://technet.microsoft.com/en-us/l...67(WS.10).aspx
[2]
http://groups.google.co.uk/group/mic...087f26f2175f9f




"Kerry" <Kerry@live.com> wrote in message
news:uUzq8jsDKHA.1340@TK2MSFTNGP05.phx.gbl...
> Can we enable SSL with ADAM? Is there a step-by-step that i can follow to
> achieve that.
>
> I am a lil confused between ldaps and ssl...currently i am using simple
> binds with ADAM, which i understand sends passwords in clear text, if i
> use ldaps, are passwords still sent in clear text? or should i implement
> SSL to mitigate that risk?
>



Reply With Quote
  #3  
Old 29-07-2009
Kerry
 
Posts: n/a
Re: SSL with ADAM

Thanks for the direction.

Now i can connect using LDP to connect to the ADAM Server over port 9001
(LDAP over SSL). However i am not able to bind using ADAM user accounts.
Whenever i use simple bind with a adam account, i get the below error:
0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)
res = ldap_simple_bind_s(ld, 'adam', <unavailable>); // v.3
Error <49>: ldap_simple_bind_s() failed: Invalid Credentials

My AD Domain is abbi.com and my ADAM DN is DC=Customer,DC=Com. While i login
to the workstation using Abbi credentials, i would like to connect to my
application using a ADAM user account.

How should i configure adam to be able to handle the above mentioned
requirement.


"Lee Flight" <lef@le.ac.uk-nospam> wrote in message
news:uE4t3EtDKHA.1248@TK2MSFTNGP04.phx.gbl...
> Hi
>
> if you are using LDAP simple binds then the credentials are sent in
> clear text, using LDAPS the credentials are still sent in clear text
> but over an secure (encrypted) channel so LDAPS is really what you
> need for a secure approach.
>
> Microsoft documentation for SSL configuration for AD LDS is here [1],
> the only major difference with ADAM cf AD LDS is the location of the
> keys in the notes at [1]
> C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
>
> is the WS08 location whereas for ADAM on WS03 the keys are at
>
> c:\documents and settings\All
> Users\ApplicationData\Microsoft\Crypto\RSA\MachineKeys
>
> There are some more notes linked from here [2].
>
> Lee Flight
>
> [1] http://technet.microsoft.com/en-us/l...67(WS.10).aspx
> [2]
> http://groups.google.co.uk/group/mic...087f26f2175f9f
>
>
>
>
> "Kerry" <Kerry@live.com> wrote in message
> news:uUzq8jsDKHA.1340@TK2MSFTNGP05.phx.gbl...
>> Can we enable SSL with ADAM? Is there a step-by-step that i can follow to
>> achieve that.
>>
>> I am a lil confused between ldaps and ssl...currently i am using simple
>> binds with ADAM, which i understand sends passwords in clear text, if i
>> use ldaps, are passwords still sent in clear text? or should i implement
>> SSL to mitigate that risk?
>>

>
>



Reply With Quote
  #4  
Old 29-07-2009
Joe Kaplan
 
Posts: n/a
Re: SSL with ADAM

You can only bind to ADAM using simple bind with an ADAM user account or a
bind proxy object that points to an AD object. It looks like you tried to
use a object with username "adam" so if that is a user in ADAM with a valid
password that is not disabled, that will work IF either the displayName or
userPrincipalName attribute is set to "adam". Otherwise it won't because
you won't have a matching user. It also won't work if you have more than
one user with that username in either attribute but that seems less likely.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Kerry" <Kerry@live.com> wrote in message
news:eI09h36DKHA.4168@TK2MSFTNGP05.phx.gbl...
> Thanks for the direction.
>
> Now i can connect using LDP to connect to the ADAM Server over port 9001
> (LDAP over SSL). However i am not able to bind using ADAM user accounts.
> Whenever i use simple bind with a adam account, i get the below error:
> 0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)
> res = ldap_simple_bind_s(ld, 'adam', <unavailable>); // v.3
> Error <49>: ldap_simple_bind_s() failed: Invalid Credentials
>
> My AD Domain is abbi.com and my ADAM DN is DC=Customer,DC=Com. While i
> login to the workstation using Abbi credentials, i would like to connect
> to my application using a ADAM user account.
>
> How should i configure adam to be able to handle the above mentioned
> requirement.
>
>
> "Lee Flight" <lef@le.ac.uk-nospam> wrote in message
> news:uE4t3EtDKHA.1248@TK2MSFTNGP04.phx.gbl...
>> Hi
>>
>> if you are using LDAP simple binds then the credentials are sent in
>> clear text, using LDAPS the credentials are still sent in clear text
>> but over an secure (encrypted) channel so LDAPS is really what you
>> need for a secure approach.
>>
>> Microsoft documentation for SSL configuration for AD LDS is here [1],
>> the only major difference with ADAM cf AD LDS is the location of the
>> keys in the notes at [1]
>> C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
>>
>> is the WS08 location whereas for ADAM on WS03 the keys are at
>>
>> c:\documents and settings\All
>> Users\ApplicationData\Microsoft\Crypto\RSA\MachineKeys
>>
>> There are some more notes linked from here [2].
>>
>> Lee Flight
>>
>> [1] http://technet.microsoft.com/en-us/l...67(WS.10).aspx
>> [2]
>> http://groups.google.co.uk/group/mic...087f26f2175f9f
>>
>>
>>
>>
>> "Kerry" <Kerry@live.com> wrote in message
>> news:uUzq8jsDKHA.1340@TK2MSFTNGP05.phx.gbl...
>>> Can we enable SSL with ADAM? Is there a step-by-step that i can follow
>>> to achieve that.
>>>
>>> I am a lil confused between ldaps and ssl...currently i am using simple
>>> binds with ADAM, which i understand sends passwords in clear text, if i
>>> use ldaps, are passwords still sent in clear text? or should i implement
>>> SSL to mitigate that risk?
>>>

>>
>>

>
>


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "SSL with ADAM"
Thread Thread Starter Forum Replies Last Post
MS ADAM authentication with Java app - can authenticate with local ADAM accounts; CANNOT authenticate with proxy accounts sync'd from AD domain bert213 Active Directory 1 22-05-2011 04:41 AM
ADAM and REIP jskalicky Active Directory 1 16-10-2009 11:44 PM
ADAM 2008 (LDS) not replicating with ADAM v1 W2K3 Jim S Active Directory 5 09-10-2009 02:57 PM
Can Win2008 ADAM replicate with ADAM v1.0 instance on W2K3? Jim S Active Directory 1 03-10-2009 02:06 AM
ADAM: VBS to Disable ADAM accounts that password has expired elibbis Active Directory 0 10-11-2008 02:13 PM


All times are GMT +5.5. The time now is 09:38 PM.