[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 2.4.13, accesslog and logops



--On Monday, January 19, 2009 9:20 PM +0100 Turbo Fredriksson <turbo@bayour.com> wrote:

I just upgraded my 2.4 CVS from earlier this year to 2.4.13, but can't get
the accesslog overlay to log _both_ reads and writes at the same time!

Either one by itself works fine, but not combined. If I specify 'reads
writes',
all I get is reads. Same if I specify all the operation types ('add
delete modify
modrdn compare search abandon bind unbind').

Actually, not 100% true - I get the deletes, but nothing else (other than
the read
types).


Hi Turbo,

I just tested with my build of 2.4.13, and cannot duplicate the issue you report.

For example, with reads and writes as logops, and then doing searches mixed with adds, modifies and deletes, I get:

# 20090121220809.000011Z, accesslog
dn: reqStart=20090121220809.000011Z,cn=accesslog
objectClass: auditSearch
reqStart: 20090121220809.000011Z
reqEnd: 20090121220809.000012Z
reqType: search
reqSession: 565
reqAuthzID: uid=zimbra,cn=admins,cn=zimbra
reqDN:
reqResult: 0
reqScope: sub
reqDerefAliases: always
reqAttrsOnly: FALSE
reqFilter: (&(|(zimbraMailDeliveryAddress=ham.mi4xifzaj@freelancer.lab.zimbra.
com)(zimbraMailAlias=ham.mi4xifzaj@freelancer.lab.zimbra.com))(objectClass=z
i
mbraAccount))
reqEntries: 1
reqTimeLimit: -1
reqSizeLimit: -1


# 20090121220809.000014Z, accesslog
dn: reqStart=20090121220809.000014Z,cn=accesslog
objectClass: auditAdd
reqStart: 20090121220809.000014Z
reqEnd: 20090121220809.000016Z
reqType: add
reqSession: 566
reqAuthzID: uid=zimbra,cn=admins,cn=zimbra
reqDN: uid=testuser1,ou=people,dc=freelancer,dc=lab,dc=zimbra,dc=com
reqResult: 0
reqMod: zimbraMailTransport:+ lmtp:freelancer.lab.zimbra.com:7025
reqMod: zimbraAccountStatus:+ active
reqMod: zimbraMailDeliveryAddress:+ testuser1@freelancer.lab.zimbra.com
reqMod: sn:+ testuser1
reqMod: userPassword:+ {SSHA}cXY27Jm1Mh08PnAgFIOrGytC6VeT+xKd
reqMod: zimbraId:+ da9ba046-dce3-41c0-affd-d01a033c0f00
reqMod: zimbraMailStatus:+ enabled
reqMod: zimbraCreateTimestamp:+ 20090121220809Z
reqMod: mail:+ testuser1@freelancer.lab.zimbra.com
reqMod: uid:+ testuser1
reqMod: objectClass:+ organizationalPerson
reqMod: objectClass:+ zimbraAccount
reqMod: objectClass:+ amavisAccount
reqMod: zimbraPasswordModifiedTime:+ 20090121220809Z
reqMod: cn:+ testuser1
reqMod: zimbraMailHost:+ freelancer.lab.zimbra.com
reqMod: structuralObjectClass:+ organizationalPerson
reqMod: entryUUID:+ bb6634de-7c53-102d-9282-df8828039f6f
reqMod: creatorsName:+ uid=zimbra,cn=admins,cn=zimbra
reqMod: createTimestamp:+ 20090121220809Z
reqMod: entryCSN:+ 20090121220809.514603Z#000000#000#000000
reqMod: modifiersName:+ uid=zimbra,cn=admins,cn=zimbra
reqMod: modifyTimestamp:+ 20090121220809Z

# 20090121221107.000000Z, accesslog
dn: reqStart=20090121221107.000000Z,cn=accesslog
objectClass: auditModify
reqStart: 20090121221107.000000Z
reqEnd: 20090121221107.000001Z
reqType: modify
reqSession: 595
reqAuthzID: cn=config
reqDN: uid=testuser1,ou=people,dc=freelancer,dc=lab,dc=zimbra,dc=com
reqResult: 0
reqMod: givenName:+ joe
reqMod: entryCSN:= 20090121221107.550930Z#000000#000#000000
reqMod: modifiersName:= cn=config
reqMod: modifyTimestamp:= 20090121221107Z

# 20090121221130.000003Z, accesslog
dn: reqStart=20090121221130.000003Z,cn=accesslog
objectClass: auditModify
reqStart: 20090121221130.000003Z
reqEnd: 20090121221130.000004Z
reqType: modify
reqSession: 595
reqAuthzID: cn=config
reqDN: uid=testuser1,ou=people,dc=freelancer,dc=lab,dc=zimbra,dc=com
reqResult: 0
reqMod: givenName:= joseph
reqMod: entryCSN:= 20090121221130.751755Z#000000#000#000000
reqMod: modifiersName:= cn=config
reqMod: modifyTimestamp:= 20090121221130Z

# 20090121221301.000012Z, accesslog
dn: reqStart=20090121221301.000012Z,cn=accesslog
objectClass: auditDelete
reqStart: 20090121221301.000012Z
reqEnd: 20090121221301.000013Z
reqType: delete
reqSession: 626
reqAuthzID: uid=zimbra,cn=admins,cn=zimbra
reqDN: uid=testuser1,ou=people,dc=freelancer,dc=lab,dc=zimbra,dc=com
reqResult: 0

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration