Into main.inc.php the tag address_book_type contains array('ldap','sql') ?
If you trying to create a contact into ldap, it isn't possible (yet).