[sork] passwd MYSQL VPOPMAIL

akanksha prabhat akanksha_18 at yahoo.com
Fri Apr 18 08:16:24 PDT 2003


I have download the latest CVS version of passwd. MY
horde and iMp are working. 
When i try to change password 
I get this 
Notice: Undefined offset: 1 in
/var/www/html/horde/passwd/lib/Driver/vpopmail.php on
line 115

Warning: Cannot add header information - headers
already sent by (output started at
/var/www/html/horde/passwd/lib/Driver/vpopmail.php:115)
in
/var/www/html/horde/passwd/templates/common-header.inc
on line 4

Warning: Cannot add header information - headers
already sent by (output started at
/var/www/html/horde/passwd/lib/Driver/vpopmail.php:115)


  Failure in changing password: User not found

THis is my Backends.php

$backends['vpopmail'] = array (
    'name' => 'vpopmail Authentication',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 8,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0
    ),
    'driver' => 'vpopmail',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'username'   => 'vpopmail',
        'password'   => 'akanksha',
        //'encryption' => '',
        'database'   => 'vpopmail',
        'table'      => 'hdfcbank_com',
        'name'    => 'pw_name',
        'domain'  => 'pw_domain',
	'passwd' =>  'pw_passwd',
	'clear_passwd' => 'pw_clear_passwd',
	'use_clear_passwd' => true
    )
);

Also this is my database


mysql> SELECT * FROM vpopmail.hdfcbank_com;
+------------------+---------------------------------+--------+--------+--------------------+------------------------------------------------------+------------------+-----------------+
| pw_name          | pw_passwd                       |
pw_uid | pw_gid | pw_gecos           | pw_dir
                      | pw_shell         |
pw_clear_passwd |
+------------------+---------------------------------+--------+--------+--------------------+------------------------------------------------------+------------------+-----------------+
| postmaster       | $1$Eq6;v$Po1F62dL2KS82apGwAR5q/ |
     0 |      0 | Postmaster         |
/home/vpopmail/domains/hdfcbank.com/postmaster       |
10000000S,10000C | soumya          |
| soumya           | $1$eBBgA$kfEg5evrBHM84KgxDS/Up1 |
     0 |      0 | soumya s           |
/home/vpopmail/domains/hdfcbank.com/soumya           |
20000            | soumya          |
| akanksha         | $1$5RDnr$M96VMRkAdCOSprNcu5Mcn0 |
     0 |      0 | akanksha           |
/home/vpopmail/domains/hdfcbank.com/akanksha         |
20000            | akanksha        |
| shrehman         | $1$MOcek$MFgb/ZOAGPJcRVyaDtu5t0 |
     0 |      0 | shrehman           |
/home/vpopmail/domains/hdfcbank.com/shrehman         |
20000            | rehman          |
| anand.sankararam | $1$j5RZu$kZcGam0h04taB8TCurGMK0 |
     0 |      0 | anand+sankararaman |
/home/vpopmail/domains/hdfcbank.com/anand.sankararam |
20000            | anand           |
| harish.shetty    | $1$lAWRj$LjktnjxuoBvjIieebqmM2. |
     0 |      0 | harish             |
/home/vpopmail/domains/hdfcbank.com/harish.shetty    |
20000            | harish          |
| cnram            | $1$GVLMh$dHgEVmxCfJk8EMUmIWue20 |
     0 |      0 | c+n+ram            |
/home/vpopmail/domains/hdfcbank.com/cnram            |
20000            | ram             |
| s#rehman         | $1$GT.J7$p/3W2if.gLz53z1kHL002/ |
     0 |      0 | rehman+s           |
/home/vpopmail/domains/hdfcbank.com/s#rehman         |
2000             | rehman          |
| s.h.rehman       | $1$rLtZ6$i.a017dG8m3DPvwkzAjyR/ |
     0 |      0 | rehman+sh          |
/home/vpopmail/domains/hdfcbank.com/s.h.rehman       |
2000             | rehman          |
+------------------+---------------------------------+--------+--------+--------------------+------------------------------------------------------+------------------+-----------------+
9 rows in set (0.00 sec)

thanks 
akanksha

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com


More information about the sork mailing list