Re: ADAM and accessing it like Active Directory



Yes, the binding went through with no problem and I made sure the accounts
are active.

I use my own custom made component with checks the credentials with
LDAP..These are the values I read from config file..

I have installed this on my WinXP machine...

<property name="ADsPath">
<value>LDAP://localhost:389/CN=Sandbox,DC=IT</value>
</property>
<property name="context_name">
<value>CN=Users,CN=Sandbox,DC=IT</value>
</property>
</namespace>

and in my code I pass these values and I do a Server bind....

Thanks for all the help.

Harsimrat



"Joe Kaplan" wrote:

So, you were able to bind correctly using ldp.exe with the user you created?
You would have done an LDAP simple bind using the user's user name and
password.

The main problems people usually run into with ADAM users are:
- they forgot to enable the user account (set msds-userAccountDisabled to
FALSE)
- They don't know the username format to use (I recommend setting the
userPrincipalName attribute to a unique name and using that)
- They forget to do an LDAP simple bind from their application

What code are you using in ASP.NET? Are you using the membership provider
or something else you wrote?

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Harsimrat" <Harsimrat@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9476CFCE-029E-46A2-B856-A2544DEBC3D6@xxxxxxxxxxxxxxxx
Hello Christoffer,

When I installed ADAM I did all the steps and setup an instance name and
so
on...
Then created a User Group, and then added a User to it...Then went to
ldp.exe and setup a password and did a bind there...Other than that I
haven't
done anything else...

If you can please explain what needs to be done for me to authenticate
users
against ADAM and check if username and password is correct from ASP.NET...

Thanks,
Harsimrat

"chriss3 [MVP]" wrote:

Can you describe your ADAM implementation in more detail, have you
created a
user class with a password attribute and trying to perform a LDAP bind?

--
Regards
Christoffer Andersson
Executive Consultant - TrueSec
Microsoft MVP - Directory Services

----------------------------------------------------------------
http://www.chrisse.se - Active Directory Resources

"Harsimrat" <Harsimrat@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:89F6B6BD-ED84-430A-9808-EA9F57C8D228@xxxxxxxxxxxxxxxx
I have a client which uses Active Directory and to give the client
working
application I installed ADAM. I create everything fine (seems like) now
when
I try to authenticate a user it doesn't work.

Can someone explain me what should be the LDAP Address and the context
name.
I set it up on localhost and port 389.





.



Relevant Pages

  • Re: using userPrincipleName for ADAM login
    ... If you specify credentials in a bind, the bind will fail if he credentials ... You are likely doing LDAP simple bind with ADAM. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP from OSX Mail to Win2003 R2
    ... AD also supports simple LDAP binds, ... His Mac clients should be able to connect via simple bind. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... to specify that I need to Log on using secure password authentication. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM and accessing it like Active Directory
    ... you were able to bind correctly using ldp.exe with the user you created? ... - They forget to do an LDAP simple bind from their application ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... application I installed ADAM. ...
    (microsoft.public.windows.server.active_directory)
  • Re: How Redirect ADAM to AD ?
    ... To use a simple bind, you must create bind proxy objects in ADAM for your AD ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... LDAP bind, then a bind proxy is what you want to create. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Authentication
    ... authtype should be Negotiate and username should either be the login ... three are "bindable" username formats supported by ADAM for simple bind. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)