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

GOSa problem changing passwords after upgrade to Debian Edu 11



Hi,

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.

Nothing else of relevance logged anywhere, after that it just rolls back
things.

-nik

-- 
Dominik George (1. Vorstandsvorsitzender, pädagogischer Leiter)
Teckids e.V. — Digitale Freiheit mit Jugend und Bildung
https://www.teckids.org/


Reply to: