« Return to Thread: Change_Passwd 4.2e

Change_Passwd 4.2e

by Steven Gonzales-3 :: Rate this Message:

Reply to Author | View in Thread

Hello all.

General Information:
Fedora 11 Preview
Apache 2.2.11, both user and group are apache
PHP 5.2.9

Directory Listing of the Plugin Directory (ls -laF)
total 120
drwxr-xr-x  3 root root    4096 2009-05-21 15:58 ./
drwxr-xr-x 22 root root    4096 2009-05-21 12:51 ../
-rwsr-x---  1 root apache 10744 2009-01-03 18:23 chpasswd*
-rw-r--r--  1 root root    7290 2009-01-03 18:23 chpasswd.c
-rw-r--r--  1 root root    1588 2009-05-21 15:54 config.php
-rw-r--r--  1 root root    1587 2009-01-03 18:23 config.php.sample
-rw-r--r--  1 root root   15802 2009-01-03 18:23 COPYING
-rw-r--r--  1 root root     610 2009-01-03 18:23 exec_test.php
-rw-r--r--  1 root root    2068 2009-01-03 18:23 functions.php
-rw-r--r--  1 root root     114 2009-01-03 18:23 getpot
-rw-r--r--  1 root root     466 2009-01-03 18:23 index.php
-rw-r--r--  1 root root    2120 2009-01-03 18:23 INSTALL
-rwxr-xr-x  1 root root    4322 2009-01-03 18:23 ldap-chpasswd*
-rw-r--r--  1 root root    1018 2009-01-03 18:23 ldap-chpasswd.cfg.sample
drwxr-xr-x  3 root root    4096 2009-01-03 18:23 locale/
-rw-r--r--  1 root root   11997 2009-01-03 18:23 options.php
-rw-r--r--  1 root root    9119 2009-01-03 18:23 README
-rw-r--r--  1 root root    1356 2009-01-03 18:23 setup.php
-rw-r--r--  1 root root      19 2009-01-03 18:23 version

$seeOutput results:
Current password is incorrect
Command output:
Current password is incorrect
Return code: 9

$debug results:
cd /usr/local/squirrelmail/www/plugins/change_passwd
../../plugins/change_passwd/chpasswd '<userid>' '<oldPasswd>'
'<newPasswd>' 2>&1

When run the above in a console, the result of these commands is:
Current password is incorrect

Squirrelmail 1.4.17 was installed per the instruction set:
http://squirrelmail.org/docs/admin/admin-3.html#ss3.2
starting at "Prepare SquirrelMail directories" since the other
requirements were already installed from source.

Plugins installed and configured into Squirrelmail:
Compatibility 2.0.14-1.0
Local_autorespond_forward 3.0.1-1.4.0
Change_passwd 4.2e

The CompatibilityDependencies list shows that change_passwd requires
compatibility 1.x, but that "an updated version that works with 2.x is
available from the author."  The latest version I have been able to find
is 4.2e which was released January 4, 2009, per
http://www.linuxmail.info/change_passwd/.


I have searched the email lists (all four) and found something from Mr.
Lesniewski that states to recompile the binary.  Per the head of the C
file, I have even attempted a recompile of the code using both versions
contained with the C file... as well as compiling per the bottom of:

http://www.linuxmail.info/squirrelmail-change-password-howto/

The C file does show that PASSWD is /etc/passwd and SHADOW is
/etc/shadow, both of which are correct.

When the error occurs, nothing changes in either /var/log/messages,
/var/log/maillog, or /var/log/secure.

I have turned off SELinux prior to troubleshooting this concern.

Is there something I'm missing?

Many thanks for your time and help with this.

Respectfully,
Steven Gonzales


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

 « Return to Thread: Change_Passwd 4.2e