Re: ADAM and accessing it like Active Directory
- From: Harsimrat <Harsimrat@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Mar 2007 15:58:10 -0700
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.
- References:
- Re: ADAM and accessing it like Active Directory
- From: chriss3 [MVP]
- Re: ADAM and accessing it like Active Directory
- From: Joe Kaplan
- Re: ADAM and accessing it like Active Directory
- Prev by Date: Re: allow login for remote desktop users
- Next by Date: Re: AD Multi Forest Help
- Previous by thread: Re: ADAM and accessing it like Active Directory
- Next by thread: Re: ADAM and accessing it like Active Directory
- Index(es):
Relevant Pages
|