Imported users PW in joomla set to "imported"!

Started by Benson, March 04, 2006, 04:45:17 AM

Previous topic - Next topic

Benson

Hi,

i'm migrating a board from phpbb to smf/joomla, using Oristo's latest bridge and smf login-module for joomla. After converting the phpbb database to smf, users get into the joomla database first if they once login via smf login module. Ok, now that they are now known by joomla i want to give some people Administrator privileges. But setting an imported users access level to (Super)Administrator doesn't allow him to login to the adminpanel, he get's the message about wrong password. So i change the password for this user in the adminpanel, with this new password he is able to login!

Ok, now he can at least login to the admin panel, but the passwords for the front- and backend are now different. So my question is, how can this problem be solved? I always thougt that the bridge imports the password into joomla. Looking into the database, the field password this imported user in (jos_users) is "migrated" and usertype is blank!!!

Is this a bug or i am doing something wrong???

cheers,
Benson

Orstio

Users that you want to be able to login to the Joomla admin panel should change their password in SMF once.  That will migrate their actual password to Joomla.

Because the SMF challenge login never has an unencrypted password, and Joomla cannot understand the SMF encryption, I had it just put in the word "migrated", so that the admin would know what had happened.  That doesn't mean the person's password is "migrated", because there is no way any encryption is ever going to come to that value.

Benson

Ok, i see the point with the encrypted password and that the users, which need access to the joomla adminpanel, have to change the password.

Another question regarding the database: Can i import the users-table from smf into joomla without that the users have to login once? Maybe with some queries?

cheers,
Benson

Orstio

That would be extremely difficult, given the Joomla ACL.

Joomla uses a series of mapping tables to define user permissions.  You wouldn't need to just copy values over to the Joomla users table, you would also need to define each user in the ACL.

Benson

Well then i'll write my users to login into joomla once, shouldn't be the problem but usually takes some time till everyone has done this little pice of work!  ;)

Anyway, thanks for your support!

cheers,
Benson

Orstio

You can "force" a logout by changing the name of your SMF cookie in the SMF admin panel.

Advertisement: