إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: افضل انواع طقم برشلونة,افضل ماركات طقم برشلونة,ارخص اسعار طقم برشلونة (آخر رد :بوابة الصين العربية)       :: مظلات سيارات بالرياض | مظلات حديد وقماش بأفضل الأسعار 0563866945 (آخر رد :ksa ads)       :: مقاول ساندوتش بانل بالرياض | تركيب ملاحق وهناجر ساندوتش بانل 0551033861 (آخر رد :ksa ads)       :: بناء هناجر المصانع والورش بأسعار منافسة وخبرة طويلة اتصل الآن: 0563866945 (آخر رد :ksa ads)       :: احدث موديلات بليزر حريمي,اجمل ستايلات بليزر حريمي (آخر رد :بوابة الصين العربية)       :: احدث موديلات بليزر اسود حريمي,اجمل ستايلات بليزر حريمي (آخر رد :بوابة الصين العربية)       :: بناء هناجر المصانع والورش بأسعار منافسة وخبرة طويلة اتصل الآن: 0563866945 (آخر رد :ksa ads)       :: مجالس زجاجية خارجية في الرياض | تصميم وتنفيذ فخم 0551033861 (آخر رد :ksa ads)       :: تالقي مع اجمل فساتين وعبايات وجلابيات بالمملكة (آخر رد :رودى طه)       :: اخصائية مساج الخبر منزلى 0533972744 (آخر رد :رودى طه)      

 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-30-2010, 04:00 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

How do I derive the bbpassword hashed password value stored in the cookie from the user.password value as stored in the database for a given user?

I need to be able to do this so I can fix the LDAP authentication plugin here http://www.vbulletin.org/forum/showthread.php?t=196596 which is not setting the cookie bbpassword when it sets user passwords, so its not obeying the 'remember me' tick box

The process is documented in numerous places as:

Code:
md5(md5(md5($cleartext_password) + $salt) + $license_id)
where license_id is the 'VBF*******' value of your license and $salt is user.salt value from the db.

However when I code this, I do not get the same hashed value as what is stored in the cookie.

Note that I can successfully generate the user.password hash as stored in the database with md5(md5($password) + $salt).

The code I am using is very simply:

Code:

The $calc_db_pwd matches the hashed value stored in the database for the user in question, but the $calc_cookie_pwd produced does not match the bbpassword value in the cookie.

I'm really stumped here. I think I'm doing exactly what has been documented but no go.


Has the way the cookie pwd is being generated changed recently?

Would really appreciate some help on this one
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 06:40 PM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML