Access Log Content
212 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Connection Number
Every external LDAP request is listed with an incremental connection number, in
this case
conn=11
or
conn=28
, starting at
conn=0
immediately after server startup.
Internal LDAP requests are not recorded in the access log by default. To activate
the logging of internal access operations, specify access logging level
4
on the
nsslapd-accesslog-level
configuration attribute (see
“nsslapd-accesslog-level,” on page 38).
File Descriptor
Every connection from an external LDAP client to Directory Server requires a file
descriptor or socket descriptor from the operating system, in this case
fd=608
.
fd=608
indicates that it was file descriptor number 608 out of the total pool of
available file descriptors which was used.
[21/Apr/2005:11:39:53 -0700] conn=13 op=1 EXT
oid="2.16.840.1.113730.3.5.3"
[21/Apr/2005:11:39:53 -0700] conn=13 op=1 RESULT err=0 tag=120
nentries=0 etime=0
21/Apr/2005:11:39:53 -0700] conn=13 op=2 ADD dn="cn=Sat Apr 21
11:39:51 MET DST 2005, dc=example,dc=com"
[21/Apr/2005:11:39:53 -0700] conn=13 op=2 RESULT err=0 tag=105
nentries=0 etime=0 csn=3b4c8cfb000000030000
[21/Apr/2005:11:39:53 -0700] conn=13 op=3 EXT
oid="2.16.840.1.113730.3.5.5"
[21/Apr/2005:11:39:53 -0700] conn=13 op=3 RESULT err=0 tag=120
nentries=0 etime=0
[21/Apr/2005:11:39:53 -0700] conn=13 op=4 UNBIND
[21/Apr/2005:11:39:53 -0700] conn=13 op=4 fd=659 closed - U1
[21/Apr/2005:11:39:55 -0700] conn=14 fd=700 slot=700 connection
from 207.1.153.51 to 192.18.122.139
[21/Apr/2005:11:39:55 -0700] conn=14 op=0 BIND dn="" method=sasl
version=3 mech=DIGEST-MD5
[21/Apr/2005:11:39:55 -0700] conn=14 op=0 RESULT err=14 tag=97
nentries=0 etime=0, SASL bind in progress
[21/Apr/2005:11:39:55 -0700] conn=14 op=1 BIND
dn="uid=jdoe,dc=example,dc=com" method=sasl version=3
mech=DIGEST-MD5
[21/Apr/2005:11:39:55 -0700] conn=14 op=1 RESULT err=0 tag=97
nentries=0 etime=0 dn="uid=jdoe,dc=example,dc=com"
[21/Apr/2005:11:39:55 -0700] conn=14 op=2 UNBIND
[21/Apr/2005:11:39:53 -0700] conn=14 op=2 fd=700 closed - U1
Code Example 5-1 Access Log Extract with Default Access Logging Level (level 256)