[sork] sasldb2 password change

Ralf Lang lang at b1-systems.de
Thu Mar 8 17:45:18 UTC 2012


Am 08.03.2012 18:38, schrieb Tilman Schmidt:
> Am 08.03.2012 09:02, schrieb Ralf Lang:
>
>>>       >  Does your cyrus support changing the imap password? See imp/backends.php
>>>       >  for documentation.
>>
>> Sorry, I meant imp/config/backends.php
>> It should contain examples how to setup administrative commands via imap.
>
> I see the $servers['imap'] and $servers['advanced'] entries.
> The latter has a (commented out) 'admin' section, but that
> contains only a 'params' section with entries 'admin_user',
> 'admin_password' and 'userhierarchy'. Is that what you mean?
> Are you suggesting that I switch from the default (simple) to
> the advanced IMAP server and enable the 'admin' section?
> What is the difference between the simple and advanced IMAP
> servers anyway? Just the existence of the 'admin' section?
>
> However I notice that the comment on the 'admin' property says
> only: "Use this if you want to enable mailbox management for
> administrators via Horde's user administration interface."
> Nothing about mere mort^Wusers changing their own passwords.
> Am I on the wrong track?
>
> Btw, just for fun I tried enabling $backends['hordeauth']
> in passwd/config/backends.php and then changing a password.
> This produced the error message:
>
> The current horde configuration does not allow changing passwords.
>
> which is emitted by passwd/lib/Driver/Horde.php if the expression
> $this->_params['auth']->hasCapability('update') returns false.
> Does that mean that my Cyrus IMAP server does not have the
> capability to change passwords, or just that Horde in its current
> configuration) doesn't have the capability to change passwords
> through IMAP?
>
> Thanks,
> Tilman
>
Yes, I was on the wrong track. IMP doesn't announce the update password 
capability, even when the admin params are set. So the 'horde' driver 
cannot help you here. One of the imp maintainers can probably tell me if 
this is by purpose.

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


More information about the sork mailing list