[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [624] branches/1.2/sql/Pg-central.sql



Revision: 624
          http://svn.sourceforge.net/ledger-smb/?rev=624&view=rev
Author:   christopherm
Date:     2006-11-15 15:23:54 -0800 (Wed, 15 Nov 2006)

Log Message:
-----------
The admin password will now only be md5() in the database

Modified Paths:
--------------
    branches/1.2/sql/Pg-central.sql

Modified: branches/1.2/sql/Pg-central.sql
===================================================================
--- branches/1.2/sql/Pg-central.sql	2006-11-15 23:23:24 UTC (rev 623)
+++ branches/1.2/sql/Pg-central.sql	2006-11-15 23:23:54 UTC (rev 624)
@@ -44,9 +44,6 @@
 COMMENT ON COLUMN users_conf.id IS 'Yes primary key with a FOREIGN KEY to users(id) is correct'; 
 COMMENT ON COLUMN users_conf.password IS 'This means we have to get rid of the current password stuff and move to presumably md5()';
 
--- Per conversation with ChrisM, if the admin user has a null password a couple of things happen.
--- 1. It is implicit that this is an initial install
--- 2. If the admin password does not match the ledger-smb.conf admin password, we throw a hijack alert
 -- The two below statements must be run from a single session
 INSERT INTO users(username) VALUES ('admin');
 INSERT INTO users_conf(id,password) VALUES (currval('users_id_seq'),NULL);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.