[dev] ActiveSync: got "ERR: Invalid address book" on Nokia Mail for exchange, but worked on WindowsMobile 6.1

Lukas Gradl horde at ssn.at
Tue May 25 20:42:00 UTC 2010


On 2010-05-25 22:19, Michael Rubinsky wrote:
>
>>
>> When using Nokia there is a PEAR_Error in Turba_Driver::&singleton():
>>
>> The Message is "Bind failed: (53) Server is unwilling to perform"
>>
>> It seems that the Password to connect to the LDAP-Server is not
>> provided correctly.
>>
>> I defined the LDAP-Access in sources.php as following:
>>
>> 'bind_dn' => 'cn='.Horde_Auth::getAuth().',ou=Users,dc=demo,dc=com',
>> 'bind_password' => Horde_Auth::getCredential('password'),
>>
>> the Horde_Auth::getAuth() is correct, the
>> Horde_Auth::getCredential('password') is empty.
>
> Ok. That's a good piece of information. I have a feeling the
> authorization header isn't being sent or parsed correctly.
> Can you check to see the value of $pass in Horde_Rpc_ActiveSync
> (framework/Rpc/lib/Horde/Rpc/ActiveSync.php) on line 178? This should
> (obviously) be the user's horde password.
>

Yes, it contains the Users horde-Password.

The problem seems to sit within the way I'm authenticating in sources.php.

To use the Horde-Password as the password to authenticate against LDAP I 
use the line:
'bind_password' => Horde_Auth::getCredential('password'),
in my sources.php.

When the sources.php get's included in Turba_Application::_init() this 
variable is empty.

Is there another way to provide the Password to LDAP?

regards
Lukas




-- 

----------------------------
software security networks
Lukas Gradl <horde#ssn.at>
Eduard-Bodem-Gasse 5
A - 6020 Innsbruck
Tel: +43-512-214040-0
Fax: +43-512-214040-21
----------------------------


More information about the dev mailing list