Re: The server is not operational
From: CalSun (calsun_at_gmail.com)
Date: 07/26/05
- Next message: Todd B: "CreateProcessWithLogonW"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Jul 2005 08:38:31 -0700
Hi Joe,
thanks for the informative message. I got ldp and could connect to the DC
using the domain as mycompany.com. I din't specify SSL or Connectionless, it
still goes.
Back to IIS, I checked on the Anonymous option and specified a local user
name + password to handle all the Anonymous loging. It fails to
connect/authenticate.
Do we need a domain user to handle the authentication process (at IIS box)?
If so, my web server (iis box) is in dmz and I can't see user list from the
domain. I tried manualy to assign a domain user to the Anonymous option such
as: domain\user + pw. And it didn't work. This got to be a local user to
this IIS box (web server).
I use form authentication. When a page is requested, client is redirected to
a login page.
Again, thanks for all the help.
CalSun
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:upn9fIfkFHA.2916@TK2MSFTNGP14.phx.gbl...
> Ldp.exe ships with the Windows Server Admin Pack which comes on the CD and
> also ships with ADAM. The most recent released version is with ADAM or
> the Windows Server R2 beta if you can get that. I'm pretty sure there is
> no separate download for it, but I can also send you a copy if you email
> me offline.
>
> LDP can be used for testing the connection to various directories using
> different values for the server name.
>
> The other important thing to know is that the ADSI binding string consists
> of three parts:
> <scheme>://<server>/<objectname>
>
> The scheme is obviously "LDAP" (case-senstive; watch out!). The server
> part is OPTIONAL though. If you don't supply a server name, then the LDAP
> API tries to discover a server for you based on the security context of
> the current thread. This is the thing that tends to trip people up in web
> applications as they are often running under a local machine account which
> has no domain affiliation, so the request for a "serverless bind" as it is
> called fails with this exact error.
>
> The server name can contain DNS names, IP addresses or NETBIOS names.
> However, DNS names are the way to go as both Kerberos and SSL/LDAP need
> DNS names to work properly. The DNS name can be the name of the domain or
> the DNS name of a specific server.
>
> The <objectname> is also optional, but I generally think you should always
> specify something. If you want to search the root of the domain, specify
> the distinguished name of the domain root. This is usually something like
> "DC=yourdomain,DC=com" with AD. You can find out this value dynamically
> by getting the "RootDSE" object and looking at its "defaultNamingContext"
> attribute. This is better than hard-coding. :)
>
> HTH,
>
> Joe K.
> "Rinks Singh" <singhmultani@hotmail.com> wrote in message
> news:%23FHQw2ekFHA.3148@TK2MSFTNGP09.phx.gbl...
>> Thanks Joe and Cal for the information on this thread. I am also getting
>> the same error while trying connect to the AD.
>>
>> Can I use LDP.EXE from the workstation to make sure about the
>> connection.? From where I can downlaod LDP.EXE tool?
>>
>> I am able to connect to Directory using command prompt by giving like:
>> Run LDAP//:DomainName
>>
>> After that search box appears and I can search based on Object Type.But
>> when I try from program I get an error "The server is not Operational"
>>
>> Need some help to solve this
>>
>>
>> *** Sent via Developersdex http://www.developersdex.com ***
>
>
- Next message: Todd B: "CreateProcessWithLogonW"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: The server is not operational"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|