Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
7b1ba221
Commit
7b1ba221
authored
Feb 17, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 225973: Fix logins on systems that use Blorfish for crypt(). r=wurblzap, a=myk
parent
8c3f0e1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
checksetup.pl
checksetup.pl
+8
-4
No files found.
checksetup.pl
View file @
7b1ba221
...
...
@@ -1919,7 +1919,7 @@ $table{products} =
$table
{
profiles
}
=
'userid mediumint not null auto_increment primary key,
login_name varchar(255) not null,
cryptpassword varchar(
34
),
cryptpassword varchar(
128
),
realname varchar(255),
disabledtext mediumtext not null,
mybugslink tinyint not null default 1,
...
...
@@ -3196,6 +3196,12 @@ if (-d 'shadow') {
DropField
(
"profiles"
,
"emailnotification"
);
DropField
(
"profiles"
,
"newemailtech"
);
# 2003-11-19; chicks@chicks.net; bug 225973: fix field size to accomodate
# wider algorithms such as Blowfish. Note that this needs to be run
# before recrypting passwords in the following block.
ChangeFieldType
(
'profiles'
,
'cryptpassword'
,
'varchar(128)'
);
# 2001-06-12; myk@mozilla.org; bugs 74032, 77473:
# Recrypt passwords using Perl &crypt instead of the mysql equivalent
# and delete plaintext passwords from the database.
...
...
@@ -3226,10 +3232,8 @@ ENDTEXT
}
print
"$i... Done.\n"
;
# Drop the plaintext password field
and resize the cryptpassword field
.
# Drop the plaintext password field.
DropField
(
'profiles'
,
'password'
);
ChangeFieldType
(
'profiles'
,
'cryptpassword'
,
'varchar(34)'
);
}
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment