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

Re: (ITS#4375) MOD operations not being logged




--On Saturday, February 11, 2006 10:56 AM -0800 Quanah Gibson-Mount 
<quanah@stanford.edu> wrote:


> And of course, ADD's still log correctly, so this out-of-order logic path
> is specific to MODs:
>
> Feb 11 01:57:39 ldap0.Stanford.EDU slapd[1153]: [ID 585459 local4.debug]
> conn=5476 op=5 ADD
> dn="suRegID=87d7de02f61311d2ae662436000baa77,cn=People,dc=Stanfo\
> rd,dc=edu"
> Feb 11 01:57:39 ldap0.Stanford.EDU slapd[1153]: [ID 588225 local4.debug]
> conn=5476 op=5 RESULT tag=105 err=19 text=some attributes not unique
>
> Or, applying your earlier comments:
>
> "I don't see any processing error here. The mod operation is rejected
> before the Statslog statement is reached. The same can occur for all of
> the operation types if input validation fails before reaching the
> Statslog. In other words, Statslog only records properly formatted
> requests."
>
>
> the DN of the ADD shouldn't be logged, either, which I think would be
> just as broken.
>
> The point here is that what is being logged is:
>
> (a) Not consistent between operations
> (b) A major change over previous releases
> (c) Not following the documented behavior for the stats loglevel in
> slapd.conf

As a further point to (a), I note that the MOD operation still logs 
*correctly* if what is being MOD'd is affected by the uniqueness overlay:

ALERT:  The following problem was found on the directory master:
-------------------------------------------------------------------------------------------
Feb 19 01:58:38 ldap0.Stanford.EDU slapd[28412]: [ID 249368 local4.debug] 
conn=5828 op=13 MOD 
dn="suRegID=087aaeb40c4a4a41bf89c579fb0a6120,cn=People,dc=Stan\
ford,dc=edu"
Feb 19 01:58:38 ldap0.Stanford.EDU slapd[28412]: [ID 396994 local4.debug] 
conn=5828 op=13 MOD attr=suvisibemail title mail suprivilegegroup 
suvisibidentity \
suprimaryorganizationid sugwaffiliation1 ou sudisplayaffiliation 
sugeneralid description suvisibaffiliation1 susunetid susearchid suunivid 
suaffiliation
Feb 19 01:58:38 ldap0.Stanford.EDU slapd[28412]: [ID 588225 local4.debug] 
conn=5828 op=13 RESULT tag=103 err=19 text=some attributes not unique
-------------------------------------------------------------------------------------------


Is there an estimation as to when this bug will get fixed, and the behavior 
reverted to the correct scenario?

--Quanah


--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html