Re: [SOGo] Change password with SQL authentication

2020-04-21 Thread Markus Winkler

Hi Lars,

On 21.04.20 16:03, Lars Liedtke (lied...@punkt.de) wrote:
is it possible that users can change their password when they are 
authenticated via SQL (MariaDB)?


in general: yes


  * I created a view on the respective table and login works fine.
  * I set SOGoPasswordChangeEnabled = YES; .


OK


  * I gave the database user UPDATE rights on the view.


I don't think that this is necessary. At least I didn't have to do it in my 
former setups and it works. ;-)


But I cannot see the possibility to change a user's password when logging 
in as that user, so I was not able to test further. Am I missing something?


If you're going to Preferences -> General there's no tab 'PASSWORD' or did 
I misunderstand?


Are there any errors in sogo.log? Which version of SOGo are you using?

Regards,
Markus
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Change password with SQL authentication

2020-04-21 Thread Lars Liedtke
Hello,

is it possible that users can change their password when they are
authenticated via SQL (MariaDB)?

  * I created a view on the respective table and login works fine.

  * I set SOGoPasswordChangeEnabled = YES; .

  * I gave the database user UPDATE rights on the view.

But I cannot see the possibility to change a user's password when
logging in as that user, so I was not able to test further. Am I missing
something?

Cheers Lars

-- 
---
punkt.de GmbH
Lars Liedtke
.infrastructure

Kaiserallee 13a 
76133 Karlsruhe

Tel. +49 721 9109 500
https://infrastructure.punkt.de
i...@punkt.de

AG Mannheim 108285
Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

-- 
users@sogo.nu
https://inverse.ca/sogo/lists