We are experimenting with using wpCAS-w-LDAP with our WP3 multisite blog network.
I have the following options in my wpcasldap-conf.php file:
'useradd' => 'yes',
'useldap' => 'yes',
'email_suffix' => 'princeton.edu',
'userrole' => 'subscriber'
We have the plugin working; however, each time a user logs in via CAS, the user's role is reset to whatever role is supplied by the 'userrole' variable. We want new users to become subscribers when they log in, but we want manually-promoted users to retain their designated role.
With a test subdirectory blog, I had a colleague who had the site role of Administrator. As soon as he clicked the "Log In" link for that that subdirectory blog and authenticated though CAS, he became a 'Subscriber.' I manually changed him back to Administrator. Then I changed 'userrole' in the conf file to contributor and repeated the test. With the last test, I set 'userrole' to author. Each time, his administrator role became whatever was set as the 'userrole.'
Any ideas? Do I have an incorrect setting somewhere?