[Slashdotjp-dev 929] [447] Fix to change LDAP password when the system create new password ( newuser and emailpasswd)

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 1月 22日 (火) 17:18:27 JST


Revision: 447
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=447
Author:   tach
Date:     2008-01-22 17:18:26 +0900 (Tue, 22 Jan 2008)

Log Message:
-----------
Fix to change LDAP password when the system create new password (newuser and emailpasswd)

Modified Paths:
--------------
    slashjp/trunk/Slash/DB/MySQL/MySQL.pm
    slashjp/trunk/debian/changelog


-------------- next part --------------
Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2008-01-20 01:04:52 UTC (rev 446)
+++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2008-01-22 08:18:26 UTC (rev 447)
@@ -1642,6 +1642,7 @@
 					passwd		=> $cryptpasswd
 				}, "uid=$uid_try_q");
 				$newpass = 1;
+				Slash::LDAPDB->new()->setUserByUid($uid_try, {passwd => $cryptpasswd});
 
 				$uid_verified = $pass[$UID];
 				# delete existing logtokens

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-01-20 01:04:52 UTC (rev 446)
+++ slashjp/trunk/debian/changelog	2008-01-22 08:18:26 UTC (rev 447)
@@ -10,8 +10,12 @@
   * Fix: slashd daemonizes correctly
   * Add cron.d to check and restart slashd
   * Fix: remaining top10Comments in sbin/portald ... changed to topComments
+  * Fix: cannot authenticate using LDAP when the users has never changed their
+    password
+    - Add to change LDAP password when the user has new passwords are
+      authenticated
 
- -- Taku YASUI <tach****@debia*****>  Sun, 20 Jan 2008 10:03:43 +0900
+ -- Taku YASUI <tach****@osdn*****>  Tue, 22 Jan 2008 17:15:39 +0900
 
 slash (2.5.0.189-1) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る