|
From: Dave I. <dav...@en...> - 2006-02-14 16:15:22
|
In my case the password is NOT blank (I am trying to change the password of
the user I am currently logged in as). Could there be another problem?
Thanks
Dave I
-----Original Message-----
From: web...@li...
[mailto:web...@li...] On Behalf Of Jamie
Cameron
Sent: Tuesday, February 14, 2006 3:14 AM
To: web...@li...
Subject: RE: [webmin-l] Change Password error
Hi Dave,
Thanks, I see the cause of this problem now ... it can happen if changing
the password of a user whose password is currently blank. The next release
of Webmin will fix it though.
- Jamie
-----Original Message-----
From: Dave Isaacs <dav...@en...>
Subj: RE: [webmin-l] Change Password error
Date: Tue 14 Feb 2006 1:08 am
Size: 4K
To: "'web...@li...'"
<web...@li...>
RE: [webmin-l] Change Password error
I am using the standard Change Password (passwd) module that is packaged
with Webmin 1.260.
Thanks
Dave I
-----Original Message-----
From: web...@li...
[mailto:web...@li...] On Behalf Of Jamie
Cameron
Sent: Saturday, February 11, 2006 4:56 AM
To: web...@li...
Subject: Re: [webmin-l] Change Password error
Hi Dave,
That looks like a bug in Webmin.
Which module are you doing the password change in though? It seems that the
caller of unix_crypt is passing in the wrong parameters.
- Jamie
-----Original Message-----
From: Dave Isaacs dav...@en...
Subj: [webmin-l] Change Password error
Date: Sat 11 Feb 2006 5:01 am
Size: 2K
To: 'web...@li...'
web...@li...
Message
Previously, whenI was using the Webmin 1.230 (on RedHat EL3)passwd module,
there were no problems.
Now, using the Webmin 1.250 version, I get the error Failed to change
password : Failed to encrypt password :.
Looking at web-funcs-lib.pl, at the unix_crypt() subroutine, I can see that
if the call to crypt() fails, then Crypt::UnixCrypt is used instead. Indeed,
in my case the
$rv = eval crypt(\$pass, \$salt);
call is resulting in $rv being undef. The fallback to Crypt::UnixCrypt does
not work because I do not have that perl module installed.
Now my question is: why is the call to crypt() failing? It was not failing
previously. Doing a little digging, I discovered the when the failure
occurs, $pass is equal to the old password and $salt is equal to undef.
Without salt, crypt() appears to return nothing. Why is the salt undef?
Thanks
Dave Isaacs
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes searching
your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
-
Forwarded by the Webmin mailing list at web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
-
Forwarded by the Webmin mailing list at web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
|