Displaying 20 results from an estimated 29 matches for "old_password".
2005 Oct 13
2
Re: mySQL command line within rails - access denied? [solved]
--- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> Have you
2005 Jan 31
2
MySql 4.1.9, passwords, Rails
...emote MySQL 4.1.9 server via ssh tunnel and then experiencing the
password hashing issue locally when I put in passwords on my local
Mysql server, I started wondering about Rails compatibility.
Will rails now hash passwords correctly when connecting to MySql
4.1.7+, or should I stick with using old_password() when creating them
in MySQL?
Thanks
Jamie
2006 Feb 06
0
dovecot-cvs/mysql-5.0.18 OLD/PASSWORD problem
i use openbsd/i386, dovecot-cvs(today), mysql-5.0.18
today, i change the mysql_dbuser_password form OLD_PASSWORD to PASSWORD
then dovecot can't connect to mysql-server
shell$> mysql -u root -p
mysql$> SET PASSWORD FOR 'db_user'@'localhost' = PASSWORD('db_pw');
now, dovecot CAN NOT connect to mysql-server
shell$> mysql -u root -p
mysql$> SET PASSWORD FOR 'db_user...
2008 Jul 01
2
"select NULL as password..." failing after upgrade to dovecot-1.1
...,
I've upgraded mail server to dovecot-1.1, on solaris-10 with mysql user
database.
I used sql query
"SELECT NULL as password, login as user,
concat('/mail/var/dovecot/',login) AS userdb_home, 501 AS userdb_uid,
501 AS userdb_gid FROM users WHERE login='%n' AND
password=old_password('%w')" with dovecot-1.0.15 and it worked perfectly.
But since upgrade the server can not authenticate any users, complaining
in info_log: "Empty password returned without no_password".
How to set up such things in dovecot-1.1? Is it possible?
--
Sergey Ivanov.
2009 Sep 12
1
mysql query logging
Nothing I have done so far seems to work
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_allowed_packet=2MB
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
log-query=/var/log/mysql-query.log
empty
and then I added to /etc/init.d/mysqld
get_mysql_option mysqld_safe log "/var/log/mysqld-query.log"
querylogfile="$result"
-and-...
2008 Jan 02
0
why does rails keep prompting me for post?
...rted to
using .rhtml
4) end up re writing the view code as such:
<table>
<% form_for (:url =>
change_password_update_user_path(current_user.permalink), :html =>
{ :method => :put }) do |f| %>
<tr>
<td>Old Password
<%= password_field_tag ''old_password'',
@old_password, :size => 45, :class => ''text'' %></td>
</tr>
<tr>
<td>New Password
<%= password_field_tag ''password'', {}, :size => 45, :class
=> ''text'' %>
Between...
2005 Jun 09
1
astGUIclient installation problem
Hello,
This issue was just handled Monday on the astguiclient-users list:
http://sourceforge.net/mailarchive/forum.php?thread_id=7448401&forum_id=4358
6
You just need to use OLD_PASSWORD in the SET PASSWORD for your mysql server
to get the auth method for that account back to the pre 4.1.12 version
default method of login authentication.
Also, consider joining the astguiclient-users list, a lot of tweeks and
fixes come up on there that don't make it into the documentation righ...
2006 Oct 10
2
Moving Mysql data directory denied by selinux?
...b_t
tclass=lnk_file
Ok, I guess it doesnt like following symlinks so instead I edited
/etc/my.cnf to
[mysqld]
datadir=/home/mysql
socket=/home/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/home
Now SELinux complains with
Oct 10 22:04:27 intspare kernel: audit(1160481867.663:2): avc: denied
{ search } for pid=3073 comm="mysqld" name="/" dev=dm-1 ino=2
scontext=user_u:system_r:mysqld_t tcontext=system_u:object_r:home_roo...
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi,
I am having Mysql connection problem for my first AddressBook
application (which I took it from
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/)
I have gem installed the latest ruby, rails, lighttpd, fastcgi,
mysql-4.1.14 on linux. Everything looks good. When I do:
mysql -h localhost -u test -ptest -D AddressBook
mysql> SELECT COUNT(*) FROM contacts;
+----------+
|
2020 Oct 13
2
[Fwd: Joining AD - wrong DNS name, wrong keytab]
...ue : DATA_BLOB length=16
keys: struct
secrets_domain_info1_kerberos_key
keytype : 0x00000003 (3)
iteration_count : 0x00001000 (4096)
value : DATA_BLOB length=8
old_password : *
old_password: struct secrets_domain_info1_password
change_time : Tue Sep 29 10:46:45 AM 2020 CEST
change_server : 'it-czbrn-pdc102.domain.org'
cleartext_blob : DATA_BLOB length=440...
2005 Feb 02
1
Error when changing from AR 1.0.1 to 1.6
...9;'voter_id''
has_many :topic_subscriptions, :dependent => true
has_many :posts
has_many :topic_reads, :dependent => true
def self.inheritance_column() ''role'' end
include ErrorRaising, RForum::Localization, ActiveRecord::Mixins::Touch
attr_accessor :old_password, :new_password, :retyped_password
# methods
[...]
end
maybe you got an idea what i should do - im still pretty new to rails
--
thanks,
Roman mailto:rot-hxbVNg70ZfReoWH0uzbU5w@public.gmane.org
2005 Aug 26
0
portsentry and proftpd RPMs available
...tches
from FreshRPMS, updated to apply with the latest known version 1.2. I
have noticed no problems in it's operation on a production server, it's
detecting portscans and dropping IPs as expected.
ProFTPd has a backport of a patch applied that makes it work with the
default MySQL 'old_passwords=1' setting found in RHEL4/CentOS4 default
installs (proftpd bug #2644). If you don't want ProFTPd MySQL support in
CentOS4, simply rebuild the SRPM without any commandline options.
Both packages SRPMs should cleanly rebuild on CentOS3/RHEL3, but
untested by me.
-te
--
Troy Engel | S...
2006 Feb 20
0
Problems with authentication
...//article.gmane.org/gmane.mail.imap.dovecot/10321
So I decided to spice up a query to vpopmail's MySQL table, and there another
problem was waiting for me: "Access denied" just like in this thread
http://article.gmane.org/gmane.mail.imap.dovecot/9077
Only difference: in my case using OLD_PASSWORD() didn't solve the problem and
-thinking about it better- couln't possibly have solved it: that FreeBSD is a
recent fresh install and I installed MySQL 5.0.18 from sources using the "ports"
system, so a library with no support for new PASSWORD() has never seen the light
on that bo...
2007 May 31
1
Form Change Old Password
...ble to change their password.
I wrote the code below but I need help to add error if the old password
he posted did not match the current password he have.
In the controller I have:
def my_profile_password
return true unless request.post?
@user = current_user
if @user.check_password(params[:old_password])
@user.update_attributes(params[:user])
if @user.update
end
end
end
and in my model:
def check_password(password)
if self.password == User.encrypt(password)
true
end
end
PS: I know I should use @user.errors.add("", "Old password is wrong"),
but where sho...
2006 Jan 15
2
Please help - Rails hanging on mysql connection
...hly when I first installed, but after rebooting
things were out of whack. I finally got back into mysql after
re-installing, and at first when I tried to connect with Rails/Ruby I
got a message that my client was not up to date. So after reading some
info online, I set my mysql passwords with OLD_PASSWORD. At that point,
Rails just started to hang when I tried to connect. Can anyone help?
Here is the error I get below. I only get this error to show up if I
stop the browser (it hangs while trying to load) and refresh. Tests and
other direct calls to the DB just hang (for example, the test say...
2006 Jul 04
1
mysql_adapter.rb help please
I am an experienced systems programmer (20+ years) trying to get RoR
working on a Centos server with WHM, Cpanel, etc. Everything seems OK
and I am able to run the hello world apps however I am having major
problems when I enable some database access ala the cookbook tutorials.
Whether I run mongrel or webrick I am getting seg faults and/or traps in
mysql_adapter.rb when I submit a form of
2009 Dec 23
8
Where did this value in a form come from?
Newb here.
I have a form and a value that is being displayed ... and I have no idea
where the value came from.
I have done a
<%= debugger; '''' %>
in the form and, indeed, the debugger stops at the statement.
I have tried to trace through the code to see where the value came from
... and I gave up.
So ... what in Rails initializes the fields of a form?
--
Posted via
2006 Oct 31
1
mysql won't start
...l
Or maybe I'm trying to run mysql as the wrong user?
[root at urquell2 ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
...so clearly mysql is trying to tell me something but can't use the right
words to describe the problem.
In the highly unlikely event that someone knows what mysql is...
2005 Oct 30
2
Dovecot 30.10.2005 CVS Snapshot: cannot connect to MySQL
Hello,
I've compiled nightly CVS snapshot and set it up to work with MySQL database:
[...]
auth default {
mechanisms = plain
user = root
passdb sql {
args = /usr/local/dovecot/etc/sql.conf
}
userdb sql {
args = /usr/local/dovecot/etc/sql.conf
}
}
sql.conf contains next line:
connect = host=localhost
2005 Jan 22
6
Still having config problems
Hi,
Having completely failed to sort out my apache 500 error, I thought I
would work through the "Rolling with Ruby on Rails" tutorial at
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
I am using webrick, not apache - and still getting 500 errors.
When I get to page 4 where
http://127.0.0.1:3000/recipe/new
should give me a data entry screen, instead I get...