Where does Active Directory write its logs?

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

Hi,

I need to get detailed information on why a LDAP call failed, such as object
constraint violation, object already exists, bind credentials are incorrect,
etc.

Thanks,
Scott
 
You would need to

a. Have the app return the info when it fails
b. Turn a network sniffer and watch the traffic
c. Turn up logging which will put the info in the event log, I don't have the reg key right here to say how to do that
but it is something you can find on the MS Site or in google groups. Maybe someone else here has it handy as well.
 
I need to get detailed information on why a LDAP call failed, such as object
constraint violation, object already exists, bind credentials are incorrect,
etc.
Need more info. How do you know a LDAP call failed? Was it an error
message from an application? Was it an event log message? Was it a
message from your program? The solution to your question depends on
what the problem is.

Cheers,

Cliff
 
Enkidu said:
Need more info. How do you know a LDAP call failed?
AD throws a standard LDAP error.
http://java.sun.com/products/jndi/tutorial/ldap/models/exceptions.html
Was it an error message from an application?
No, from AD...well, later the application barfs, but the problem lies in the
call to AD. It's likely a problem in the application itself, but I need the
(an) AD log to track it down.
Was it an event log message?
Not by default (see link below)
Was it a message from your program? Nope

The solution to your question depends on what the problem is.

Well, what I *asked* was where does AD write its logs. Simple as that. I
just want to get the same information from AD that I can get from iPlanet
Directory Server 5.1's access, audit, and error logs. Esp. access log.

Anyway, I found this link:
http://www.microsoft.com/windows2000/techinfo/reskit/samplechapters/dsbi/dsb
i_add_qouy.asp. I'm still investigating.

Thanks to all who replied. Usenet is great! :-)
 
Back
Top