[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GOSa problem changing passwords after upgrade to Debian Edu 11



[ Dominik George, 2021-06-16 ]
> after upgrade to Debian Edu 11, GOSa² cannot change user passwords anymore.
> 
> It successfully changes the Samba password, then fails in a postmodify hook:
> 
>   Password change - postmodify hook execution! - FAILED
> 
> I dug around a bit and the only other rror I found (after fixing the
> logging code) is this:
> 
>   Jun 16 14:54:33 tjener php: GOsa[nik]: (view) error : PHP error: Array to string conversion (/usr/share/gosa/include/class_log.inc, line 129) 
>   Jun 16 14:54:33 tjener php: GOsa[nik]: (view) error : PHP error: array (
>   Jun 16 14:54:33 tjener php:   'user' => 'uid=nik,ou=people,ou=Teachers,dc=skole,dc=skolelinux,dc=no',
>   Jun 16 14:54:33 tjener php:   'timestamp' => 1623848073,
>   Jun 16 14:54:33 tjener php:   'action' => 'modify',
>   Jun 16 14:54:33 tjener php:   'objecttype' => 'users/passwordMethod',
>   Jun 16 14:54:33 tjener php:   'object' => 'uid=nik,ou=people,ou=Teachers,dc=skole,dc=skolelinux,dc=no',
>   Jun 16 14:54:33 tjener php:   'changes' => '',
>   Jun 16 14:54:33 tjener php:   'result' => 
>   Jun 16 14:54:33 tjener php:   array (
>   Jun 16 14:54:33 tjener php:     0 => 'WARNING: tempfile is deprecated; consider using mktemp instead.',
>   Jun 16 14:54:33 tjener php:   ),
>   Jun 16 14:54:33 tjener php: ) (/usr/share/gosa/include/class_log.inc, line 130)
> 
> (The first line is the rror when writing the log; the rest after it is
> logging added by myself; the interesting part is
> 
>   WARNING: tempfile is deprecated; consider using mktemp instead.
> 
> This is logged directly after the postmodify failure above, I have no
> idea whether it is related.

I guess the tempfile issue is unrelated. On a rather fresh Bullseye 
system, things work like expected; so the hook scripts and GOsa seem to be ok.
I figure this to be an upgrade issue…

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: