
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Confluence 2.5.4 massive, Java 1.5, Linux
|
|
Issue Links:
|
Reference
|
|
|
|
This issue is related to:
|
|
CONF-9195
Confluence 2.5.6 ldap configuration failing on osuser2atluser.jsp migration
|
|
|
|
|
|
|
In https://support.atlassian.com/browse/CSP-10738 it was stated that the solution for the NullPointerException when migrating users with null passwords from osuser to atlassian-user was to populate the password field with some arbitrary value. The reason those users had null passwords, is that the confluence API allows them to be created with null passwords, so this is definitely a bug in the migration utility, because the migration utility must be able to migrate users that were created with the confluence API (specifically com.atlassian.user.UserManager in this case, but am pretty sure userAccessor in user-atlassian API also lets you create users without a password).
Support issue relating to bug: https://support.atlassian.com/browse/CSP-10738
|
|
Description
|
In https://support.atlassian.com/browse/CSP-10738 it was stated that the solution for the NullPointerException when migrating users with null passwords from osuser to atlassian-user was to populate the password field with some arbitrary value. The reason those users had null passwords, is that the confluence API allows them to be created with null passwords, so this is definitely a bug in the migration utility, because the migration utility must be able to migrate users that were created with the confluence API (specifically com.atlassian.user.UserManager in this case, but am pretty sure userAccessor in user-atlassian API also lets you create users without a password).
Support issue relating to bug: https://support.atlassian.com/browse/CSP-10738 |
Show » |
|
Sample SQL for this fix is:
This fix assumes that your authenticator doesn't care at all what is in the passwd column. Since the value of this column (passwd) is a hash, if you put in a non-hash value like "apple", it will likely not match any password, even if the authenticator got switched back to the default.