It appears that CentOS 6 has same netgroup section as the example while CentOS 5 doesn't include the netgroup section in its configuration file (meaning caching is disabled for netgroup by default there).  

Perhaps the most conservative thing to do would be to default to disable for this?