[sork] /usr/lib/php/Crypt/CHAP.php

Jan Schneider jan at horde.org
Thu Aug 25 00:24:20 PDT 2005


Zitat von Otto Kucera <ok at geeks.at>:

> Eric Rostetter schrieb:
>
>> Quoting Otto Kucera <ok at geeks.at>:
>>
>>
>>
>>> i have installed the new "Passwd H3" and have a problem with smbldap.
>>> when i try to change the password i get this message:
>>> *Fatal error*: changepassword(): Failed opening required 'Crypt/CHAP.php'
>>>
>>>
>>
>> It is looking for the PEAR module Crypt/CHAP.
>>
>>
>>
>>> *when i follow the instructions in this manual
>>> http://www.horde.org/passwd/docs/?f=INSTALL.html i have to build php
>>> with "*--with-mhash" but i gess this is not possible with php4.
>>>
>>>
>>
>> This is not built into php normally (though parts of PEAR may be packaged
>> with php).  You can install PEAR stuff separately.
>>
>>
>>
>>> have some one a idea where this file is incluted?
>>>
>>>
>>
>> No, but you can install it with "pear install" on most systems.  Or you can
>> download them as tar files and install them in the appropriate place on
>> your system (see php.ini for the location, as it will be in your include
>> paths).
>>
>> See http://pear.php.net/ for more info on PEAR.
>>
>>
>>
> i have download and install "Crypt_CHAP-1.0.0.tgz
> File_Passwd-1.1.5.tgz  File_SMBPasswd-1.0.2.tgz".
>
> so far so good ... but something works wrong. i get following error when
> i try to change the password with smbldap:
>
> *Notice*: Object to string conversion in
> */var/www/localhost/htdocs/horde/passwd/lib/Driver/ldap.php* on line *255*

This shouldn't be possible if you use 3.0-BETA. Which version *exactly* 
are you using?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the sork mailing list