clifgriffin/simple-ldap-login — pull request #10 by peterhartree (2014-06-19 09:28:44+00:00)
Title: Default user role should be specified by slug, not nicename

The WordPress docs don't make this particularly clear, but at least on 3.9.x, role assignation will fail silently unless you use the lowercase role slug (i.e. 'contributor' NOT 'Contributor').

http://codex.wordpress.org/Function_Reference/wp_insert_user