ccnet package now supports ldap, no need for patching