Segmentation fault with LDAP authentication and rate control?