Re: ADAM Binding

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



The account likely does not have permssions to see the configration
container, you should be able to see the content with an ADAM administrator
account. For other application naming contexts that you create in ADAM you
will need to grant them permissions to see the content, any easy way to
get started with this is to add the "Authenticated Users" principal to
the membership of the ADAM Readers role for the application partition.

Lee Flight

"eivkectisn" <eivkectisn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:90A2401A-A972-4FE9-9716-773A21037F08@xxxxxxxxxxxxxxxx
Thanks Joe,

That helped me bind with ldp, but now if I go to View/Tree and select the
Configuration I get the following:

Expanding base 'CN=Configuration,CN={5D5CC776-539E-4D52-AFB0-ECB25BB4F817}'...
ldap_get_next_page_s failed: 52
Server error:
Error<94>: ldap_parse_result failed: No result present in message
Server error:
Getting 0 entries:

And if I click the + under configuration it displays "No Children".

Thanks




"Joe Kaplan" wrote:

Simple bind only works on ADAM security principals or bind proxy objects
that point to Windows security principals. If you want to bind directly as
a Windows user (local or domain), you must do a secure bind. In LDP, use
the radio button for "bind with credentials" instead of simple bind.

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
"eivkectisn" <eivkectisn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D6EFB260-9582-4226-8F4E-AEFAB51C14AD@xxxxxxxxxxxxxxxx
>I misspoke and did not install the MUI version, I installed the English
> version of ADAM.
>
> Additionally I have removed the instance of ADAM and created a new
> instance
> with no imports as part of the install. I then went into the ldp tool > and
> did a connect to my localhost port 389. I tried the bind with the > local
> Workstation ID I have created and did a "Simple Bind" the format I used
> was:
>
> "MachineName\MachineUserid"
> "password"
>
> in the text boxes supllied in ldp.
>
> The error I get back from ldp is:
> 0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)
> res = ldap_simple_bind_s(ld, 'MachineName\UserID', <unavailable>); // > v.3
> Error <49>: ldap_simple_bind_s() failed: Invalid Credentials
> Server error: <empty>
>
>
> I removed my real Machine Name and User ID from this posting. It seems > to
> have something to do with the local user ID I'm using. Again I am > running
> a
> standalone Windows XP workstation with a local ID.
>
> Thanks.
>
>
>
>
>
>
> "Lee Flight" wrote:
>
>> Hi
>>
>> is there a step between 1 and 2 where you installed ADAMSP_SP1 or did
>> you just install the MUI pack?
>>
>> Also the latest adamsetup.log in %windir%\Debug when the install is
>> hanging
>> may give a clue.
>>
>> Lee Flight
>>
>> "eivkectisn" <eivkectisn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:51C924E6-4FF9-4A94-AFEF-9BBC007D1AD0@xxxxxxxxxxxxxxxx
>> > 1. I am running Windows XP Professional SP3 on a standalone system
>> > (not
>> > part of a Domain)
>> > 2. I have installed ADAMSP1MUI_x86.exe
>> > 3. I created an instance named Test and kept all the other >> > defaults
>> > for
>> > the screens prompted in the install process.
>> > 4. I selected the imports of all but AZMan as part of the install
>> > process.
>> > 5. The installs runs and displays that it is Starting the Service, >> > it
>> > then
>> > hangs.
>> > 6. I go over to my Services and see that the Test Serrvice is now
>> > there
>> > and Running.
>> > 7. I Stop the service and the installation of the Instance prompts
>> > for a
>> > User ID and password. I defaulted to the User ID that I have logged >> > on
>> > as
>> > in
>> > the instance creation prompts.
>> > 8. I enter a valid Workstation ID/Password in the prompt and I >> > keep
>> > getting that the credentials are invalid and will not progress and
>> > import
>> > the
>> > .ldf files into the instance.
>> > 9. I then cancel the install and restart the service and none of >> > the
>> > tools
>> > (adam-adsiedit, ldifde, etc.) or the ability to write a .Net
>> > application
>> > (using a DirectoryEntry object) will bind to the Instance and they
>> > never
>> > return, they just hang, just like the instance creation import. >> > Even
>> > if I
>> > do
>> > not import any .ldf files as part of instancance creation, I can >> > never
>> > bind
>> > to the instance with the tools or an application, it just hangs.
>> >
>> >
>> > Any Ideas or what I am doing wrong would be greatly appreciated.
>> >
>> > Thanks!
>> >
>>
>>
>>



.



Relevant Pages

  • Re: Adam Sync Issue
    ... You need to use simple bind in LDP to authenticate an ADAM user. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Binding
    ... That helped me bind with ldp, but now if I go to View/Tree and select the ... Server error: ... with no imports as part of the install. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM cant logon with any user, except domain user
    ... ADAM users can be authenticated via LDAP simple bind or DIGEST auth, ... with Negotiate auth. ... LDP to do simple bind. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM bind proxy failing after w2k to w2k3 domain upgrade
    ... How do I get back the server error on a simple bind with ldp, ... RequireSecureSimpleBind and then try a simple bind in ldp on an unsecure ... You should see a batch of messages in the ADAM Instance ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM Binding
    ... Simple bind only works on ADAM security principals or bind proxy objects that point to Windows security principals. ... with no imports as part of the install. ...
    (microsoft.public.windows.server.active_directory)