LDAP Connection Issue

Discussion in 'ASP .Net' started by Hutty, Aug 18, 2008.

  1. Hutty

    Hutty Guest

    I am new at trying to authenticate users against LDAP. I am getting the error
    "Unable to establish secure connection with the server" with my current code.
    Here's what I have thus far.

    <add name="ADConnectionString"
    connectionString="LDAP://ldap-r.hutty.com:389/cn=finmed,ou=roles,dc=hutty,dc=com"/>
    <add name="MyADMembershipProvider"
    type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
    Version=2.0.0.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    connectionStringName="ADConnectionString"
    connectionUsername="cn=finmed,ou=roles,dc=hutty,dc=com"
    connectionPassword="password" />


    This is the information that directory services provided to me.

    Name= Value
    LDAP Username (Simple Bind)= cn=finmed,ou=roles,dc=hutty,dc=com
    LDAP URL= ldaps://ldap-r.hutty.com:636
    LDAP Searchbase= ou=people,dc=hutty,dc=com
    UserID Attribute Name= uid
    Simple or Anonymous Bind?= Simple


    Any help appreciated. Thanks.

    --
    Hutty
     
    Hutty, Aug 18, 2008
    #1
    1. Advertising

  2. On Aug 18, 2:35 pm, Hutty <> wrote:
    > I am new at trying to authenticate users against LDAP. I am getting the error
    > "Unable to establish secure connection with the server" with my current code.
    > Here's what I have thus far.
    >
    > <add name="ADConnectionString"
    > connectionString="LDAP://ldap-r.hutty.com:389/cn=finmed,ou=roles,dc=hutty,d­c=com"/>
    > <add name="MyADMembershipProvider"
    > type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web,
    > Version=2.0.0.0,
    >           Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    > connectionStringName="ADConnectionString"
    >           connectionUsername="cn=finmed,ou=roles,dc=hutty,dc=com"
    >           connectionPassword="password" />
    >
    > This is the information that directory services provided to me.
    >
    > Name=   Value
    > LDAP Username (Simple Bind)=    cn=finmed,ou=roles,dc=hutty,dc=com
    > LDAP URL=       ldaps://ldap-r.hutty.com:636  
    > LDAP Searchbase=        ou=people,dc=hutty,dc=com
    > UserID Attribute Name=  uid
    > Simple or Anonymous Bind?=      Simple
    >
    > Any help appreciated. Thanks.
    >
    > --
    > Hutty


    http://support.microsoft.com/kb/321051
     
    Alexey Smirnov, Aug 18, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    534
    Raymond DeCampo
    Feb 21, 2006
  2. rcmn
    Replies:
    1
    Views:
    340
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Nov 6, 2006
  3. Jason Wold

    using LDAP Controls in ruby-ldap

    Jason Wold, Nov 4, 2004, in forum: Ruby
    Replies:
    5
    Views:
    255
  4. Ian Macdonald
    Replies:
    0
    Views:
    220
    Ian Macdonald
    Mar 15, 2005
  5. James Hughes
    Replies:
    4
    Views:
    331
    James Hughes
    Dec 13, 2005
Loading...

Share This Page