Class Passwd_Driver_servuftp

Description

The serv-u ftp class attempts to change a user's password via the SITE PSWD command used by Serv-u ftpd for windows.

$Horde: passwd/lib/Driver/servuftp.php,v 1.14.2.5 2009/01/06 15:25:23 jan Exp $

Copyright 2000-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.php.

  • author: Lucas Nelan (screen@brainkrash.com)

Located in /lib/Driver/servuftp.php (line 16)

Passwd_Driver
   |
   --Passwd_Driver_servuftp
Variable Summary
Method Summary
 void changePassword ( $user_name,  $old_password,  $new_password)
 void checkPassword ( $user_name,  $user_password)
 void connect ( $server,  $port, [ $timeout = 30])
 void getPrompt ()
 void sendCommand ( $cmd,  $arg)
 void _disconnect ()
Variables
mixed $fp (line 18)
mixed $ftpd_connected = '220' (line 19)
mixed $ftpd_goodbye = '221' (line 20)
mixed $ftpd_passwordbad = '530' (line 23)
mixed $ftpd_passwordok = '230' (line 21)
mixed $ftpd_usernameok = '331' (line 22)

Inherited Variables

Inherited from Passwd_Driver

Passwd_Driver::$_errorstr
Passwd_Driver::$_params
Methods
changePassword (line 64)
void changePassword ( $user_name,  $old_password,  $new_password)
  • $user_name
  • $old_password
  • $new_password

Redefinition of:
Passwd_Driver::changePassword()
Change the user's password.
checkPassword (line 91)
void checkPassword ( $user_name,  $user_password)
  • $user_name
  • $user_password
connect (line 25)
void connect ( $server,  $port, [ $timeout = 30])
  • $server
  • $port
  • $timeout
getPrompt (line 45)
void getPrompt ()
sendCommand (line 57)
void sendCommand ( $cmd,  $arg)
  • $cmd
  • $arg
_disconnect (line 37)
void _disconnect ()

Inherited Methods

Inherited From Passwd_Driver

 Passwd_Driver::Passwd_Driver()
 Passwd_Driver::changePassword()
 Passwd_Driver::comparePasswords()
 Passwd_Driver::encryptPassword()
 Passwd_Driver::factory()

Documentation generated on Sun, 30 Jan 2011 05:36:08 +0000 by phpDocumentor 1.4.3