Head over to the user authentication forums, where this other users of LDAP/CAS are. This is a known bug in 1.5, and there's a suitable workaround. I haven't had time to fix it yet.
Installing and upgrading help
Moodle 1.5 : CAS/LDAP configuration issue
This discussion has been locked so you can no longer reply to it.