Hey no matter what I do I can get drupal to authenticate in smf I have tried everything I have seen and nothing yet
and Help would be nice

Keith

Comments

paragon77’s picture

I am having the same issue here as well. I can login to my drupal site, and click the forums link. It takes me to my smf forums and even logs me in, but I still get that failure to authenticate message.

paragon77’s picture

I did get this resolved and working.

cepiat’s picture

can you give me the solution for resolve this i have the same problem

paragon77’s picture

I noticed that I had some path names in SMF using the www designation when my site doesn't in it's path settings. I made sure that SMF only used the url of http://rpg-fusion.com and not http://www.rpg-fusion.com in Admin--->Server Settings--->Forum URL. Just to be safe, I then went to Admin--->Themes and Layout Settings--->Themes and Settings and reset the theme to make sure the www had disappeared from these. I went back to the SMFForum module in drupal and it finally synch'd up.

I believe the consistency of either using or not using the WWW was the culprit.

ywarnier’s picture

#4 definitely helped me. Apparently, the configuration of SMF implies you have to fix the URL, which is different from the way Drupal works. If, at any point, you decide to change you Drupal URL and you have SMF installed inside your Drupal, you will need to change your SMF configuration too if you want to continue synchronising your accounts.

This might be very confusing if you don't take it step b step, so be aware that the problem exists and make sure you change both the URL you use for Drupal *and* the one you use for SMF.

Incidentally, the password for the forum admin had been changed in parallel to my problem (we are several people with access to that account)), which made it even more complicated to locate.
As found in the following forum post, the password hash method in SMF is sha1(strtolower($username) . $_POST['passwrd1']) (see http://www.simplemachines.org/community/index.php?topic=310140.0)

ctyar’s picture

for other people may face this problem you cannot use drupal in another domain or subdomain
somthing like this:
drupal: beta.example.com
forum: example.com/forum
will not work because the api cannot read your cookie and....