29 Jun
2010
29 Jun
'10
8:33 a.m.
How to debug the unknown attributes? Put some prints in the code or have clear way to do this?
Adam Lewis wrote:
My solution to this - not necessarily the way forward, but at least a workaround - was to rename rc_avpair_gen() to old_rc_avpair_gen() and then wrap it a new version of rc_avpair_gen() which adds a dummy pair and then removes it when old_rc_avpair_gen() returns. For what it's worth, the code for (the new) rc_avpair_gen() is as follows:
The real fix is to do what the server does. Mark unknown attributes as "unknown", and pass them straight through the system.
Alan DeKok.