Bug#918578: gosa: GOsa web interface missing password field

2019-02-19 Thread Wolfgang Schweer
On Mon, Feb 18, 2019 at 11:21:57PM +0100, Wolfgang Schweer wrote:
> On Sun, Feb 17, 2019 at 04:41:57PM +0100, Wolfgang Schweer wrote:
> > On Mon, Jan 14, 2019 at 03:43:26PM +, Holger Levsen wrote:
> > > On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> > > > So are you saying it's not possible to fix GOsa in this case?
> > > 
> > > it's not gosa that is broken but your php setup.
> > 
> > After upgrading a Debian Edu main server (Stretch 9.8 -> Buster) the 
> > password entry field is missing just like reported.
> > Further investigation needed...
>  
> It seems to be enough to adjust the Apache configuration like this:
> 
> a2dismod php7.0
> a2enmod php7.3
> a2enconf php7.3-cgi
> service apache2 restart
> 
> Most probably the gosa package should ship some information (NEWS).
 
Also, the existing NEWS file seems to contain no longer valid 
information:

See:
https://wiki.debian.org/DebianEdu/Documentation/Buster/Upgrades

Imo the NEWS file needs to be adjusted. 
The mentioned tool gosa-mcrypt-to-openssl-passwords requires mcrypt (not 
part of buster). The information is valid for stretch-bpo, though.

To be more precise:  
If upgrading from Stretch, gosa-mcrypt-to-openssl-passwords fails and 
leaves the user w/o any clue how to fix the GOsa access

Wolfgang


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-02-18 Thread Wolfgang Schweer
On Sun, Feb 17, 2019 at 04:41:57PM +0100, Wolfgang Schweer wrote:
> On Mon, Jan 14, 2019 at 03:43:26PM +, Holger Levsen wrote:
> > On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> > > So are you saying it's not possible to fix GOsa in this case?
> > 
> > it's not gosa that is broken but your php setup.
> 
> After upgrading a Debian Edu main server (Stretch 9.8 -> Buster) the 
> password entry field is missing just like reported.
> Further investigation needed...
 
It seems to be enough to adjust the Apache configuration like this:

a2dismod php7.0
a2enmod php7.3
a2enconf php7.3-cgi
service apache2 restart

Most probably the gosa package should ship some information (NEWS).

Wolfgang


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-02-17 Thread Wolfgang Schweer
On Mon, Jan 14, 2019 at 03:43:26PM +, Holger Levsen wrote:
> On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> > So are you saying it's not possible to fix GOsa in this case?
> 
> it's not gosa that is broken but your php setup.

After upgrading a Debian Edu main server (Stretch 9.8 -> Buster) the 
password entry field is missing just like reported.
Further investigation needed...

Wolfgang


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-01-14 Thread Holger Levsen
On Mon, Jan 14, 2019 at 05:15:59PM +0200, Eliza Ralph wrote:
> So are you saying it's not possible to fix GOsa in this case?

it's not gosa that is broken but your php setup.


-- 
cheers,
Holger

---
   holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-01-14 Thread Eliza Ralph
So are you saying it's not possible to fix GOsa in this case?

On Wed, 9 Jan 2019 at 21:48, Wolfgang Schweer  wrote:

> On Wed, Jan 09, 2019 at 02:31:08PM +0200, Eliza Ralph wrote:
> > What further information do you need?
>
> Well, I guess you already provided enough of it.
>
> > What do I do in the case when "apt-cache depends" shows multiple
> > package versions?
>
> Remove the superfluous packages? But be aware that the 'mess' you found
> might be due to some sophisticated setup by the previous admin.
> And upgrading such a system might require even more sophisticated
> skills...
>
> > If I check what version of PHP is running, I get PHP Version =>
> > 7.3.0-2.
>
> Sounds okay.
>
> > I inherited the system from the previous admin and admittedly it is in a
> > mess.
>
> No fun, wish you were able to find a way out.
>
> Wolfgang
>


Bug#918578: gosa: GOsa web interface missing password field

2019-01-09 Thread Wolfgang Schweer
On Wed, Jan 09, 2019 at 02:31:08PM +0200, Eliza Ralph wrote:
> What further information do you need?

Well, I guess you already provided enough of it.

> What do I do in the case when "apt-cache depends" shows multiple 
> package versions?

Remove the superfluous packages? But be aware that the 'mess' you found 
might be due to some sophisticated setup by the previous admin.
And upgrading such a system might require even more sophisticated 
skills...
  
> If I check what version of PHP is running, I get PHP Version => 
> 7.3.0-2.

Sounds okay.

> I inherited the system from the previous admin and admittedly it is in a
> mess.

No fun, wish you were able to find a way out.
 
Wolfgang


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-01-09 Thread Holger Levsen
control: severity -1 important
thanks

On Mon, Jan 07, 2019 at 06:36:35PM +0100, Wolfgang Schweer wrote:
> On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> > After some updates were applied, the password field disappeared from 
> > GOsa. The text label "Password" exist, but the text box is completely 
> > missing.
> Could you please provide some more information? It seems to be a rather 
> unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2 
> and 7.3):
[...]
> Maybe this mix causes the reported issue.

I guess so too, downgrading severity accordingly.


-- 
cheers,
Holger

---
   holger@(debian|reproducible-builds|layer-acht).org
   PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-01-09 Thread Eliza Ralph
What further information do you need? What do I do in the case when
"apt-cache depends" shows multiple package versions?

If I check what version of PHP is running, I get PHP Version => 7.3.0-2.

I inherited the system from the previous admin and admittedly it is in a
mess.


On Mon, 7 Jan 2019 at 19:36, Wolfgang Schweer  wrote:

> On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> > After some updates were applied, the password field disappeared from
> > GOsa. The text label "Password" exist, but the text box is completely
> > missing.
>
> Could you please provide some more information? It seems to be a rather
> unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2
> and 7.3):
>
> > ii  php  2:7.3+69
> > ii  php-cgi  2:7.3+69
> > ii  php-cli  2:7.3+69
> > ii  php-curl 2:7.3+69
> > ii  php-gd   2:7.3+69
> > ii  php-imagick  3.4.3-4
> > ii  php-imap 2:7.3+69
> > ii  php-ldap 2:7.3+69
> > ii  php-mbstring 2:7.3+69
> > ii  php-mysql2:7.3+69
> > ii  php-recode   2:7.3+69
> > ii  php-xml  2:7.3+69
> > ii  php7.0 [php] 7.0.27-1
> > ii  php7.0-cli [php-cli] 7.0.27-1
> > ii  php7.0-gd [php-gd]   7.0.27-1
> > ii  php7.0-imap [php-imap]   7.0.27-1
> > ii  php7.0-ldap [php-ldap]   7.0.27-1
> > ii  php7.0-mbstring [php-mbstring]   7.0.27-1
> > ii  php7.0-recode [php-recode]   7.0.27-1
> > ii  php7.0-xml [php-xml] 7.0.27-1
> > ii  php7.2 [php] 7.2.2-1
> > ii  php7.2-cli [php-cli] 7.2.2-1
> > ii  php7.2-gd [php-gd]   7.2.2-1
> > ii  php7.2-imap [php-imap]   7.2.2-1
> > ii  php7.2-ldap [php-ldap]   7.2.2-1
> > ii  php7.2-mbstring [php-mbstring]   7.2.2-1
> > ii  php7.2-recode [php-recode]   7.2.2-1
> > ii  php7.2-xml [php-xml] 7.2.2-1
> > ii  php7.3 [php] 7.3.0-2
> > ii  php7.3-cgi [php-cgi] 7.3.0-2
> > ii  php7.3-cli [php-cli] 7.3.0-2
> > ii  php7.3-curl [php-curl]   7.3.0-2
> > ii  php7.3-gd [php-gd]   7.3.0-2
> > ii  php7.3-imap [php-imap]   7.3.0-2
> > ii  php7.3-ldap [php-ldap]   7.3.0-2
> > ii  php7.3-mbstring [php-mbstring]   7.3.0-2
> > ii  php7.3-recode [php-recode]   7.3.0-2
> > ii  php7.3-xml [php-xml] 7.3.0-2
>
> Maybe this mix causes the reported issue.
>
> Wolfgang
>


Bug#918578: gosa: GOsa web interface missing password field

2019-01-07 Thread Wolfgang Schweer
On Mon, Jan 07, 2019 at 04:20:23PM +0200, Eliza wrote:
> After some updates were applied, the password field disappeared from 
> GOsa. The text label "Password" exist, but the text box is completely 
> missing.

Could you please provide some more information? It seems to be a rather 
unusual system setup, esp. concerning PHP (a mix of versions: 7.0, 7.2 
and 7.3):

> ii  php  2:7.3+69
> ii  php-cgi  2:7.3+69
> ii  php-cli  2:7.3+69
> ii  php-curl 2:7.3+69
> ii  php-gd   2:7.3+69
> ii  php-imagick  3.4.3-4
> ii  php-imap 2:7.3+69
> ii  php-ldap 2:7.3+69
> ii  php-mbstring 2:7.3+69
> ii  php-mysql2:7.3+69
> ii  php-recode   2:7.3+69
> ii  php-xml  2:7.3+69
> ii  php7.0 [php] 7.0.27-1
> ii  php7.0-cli [php-cli] 7.0.27-1
> ii  php7.0-gd [php-gd]   7.0.27-1
> ii  php7.0-imap [php-imap]   7.0.27-1
> ii  php7.0-ldap [php-ldap]   7.0.27-1
> ii  php7.0-mbstring [php-mbstring]   7.0.27-1
> ii  php7.0-recode [php-recode]   7.0.27-1
> ii  php7.0-xml [php-xml] 7.0.27-1
> ii  php7.2 [php] 7.2.2-1
> ii  php7.2-cli [php-cli] 7.2.2-1
> ii  php7.2-gd [php-gd]   7.2.2-1
> ii  php7.2-imap [php-imap]   7.2.2-1
> ii  php7.2-ldap [php-ldap]   7.2.2-1
> ii  php7.2-mbstring [php-mbstring]   7.2.2-1
> ii  php7.2-recode [php-recode]   7.2.2-1
> ii  php7.2-xml [php-xml] 7.2.2-1
> ii  php7.3 [php] 7.3.0-2
> ii  php7.3-cgi [php-cgi] 7.3.0-2
> ii  php7.3-cli [php-cli] 7.3.0-2
> ii  php7.3-curl [php-curl]   7.3.0-2
> ii  php7.3-gd [php-gd]   7.3.0-2
> ii  php7.3-imap [php-imap]   7.3.0-2
> ii  php7.3-ldap [php-ldap]   7.3.0-2
> ii  php7.3-mbstring [php-mbstring]   7.3.0-2
> ii  php7.3-recode [php-recode]   7.3.0-2
> ii  php7.3-xml [php-xml] 7.3.0-2

Maybe this mix causes the reported issue.

Wolfgang


signature.asc
Description: PGP signature


Bug#918578: gosa: GOsa web interface missing password field

2019-01-07 Thread Eliza
Package: gosa
Version: 2.7.4+reloaded3-7
Severity: critical
Justification: breaks unrelated software

After some updates were applied, the password field disappeared from GOsa. The 
text label "Password" exist, but the text box is completely missing.

After the update, I saw the following errors (unsure if they are related):

"Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU 
Updating class cache... 
Updating internationalization... ! Warning: you may need to reload your 
webservice! 
Updating master image for theme 
'default'.libpng
 warning: iCCP: known incorrect sRGB profile ...libpng warning: iCCP: known 
incorrect sRGB profile"

Apache has been restarted.

I don't know if it's related, but there is an error in the logs:

"PHP Notice:  Array to string conversion in 
/usr/share/gosa/include/php_setup.inc on line 179"



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gosa depends on:
ii  apache2 [httpd]  2.4.37-1
ii  fonts-liberation 1:1.07.4-9
ii  gettext  0.19.8.1-9
ii  imagemagick  8:6.9.10.14+dfsg-7
ii  imagemagick-6.q16 [imagemagick]  8:6.9.9.34+dfsg-3
ii  libcrypt-smbhash-perl0.12-4
ii  libjs-scriptaculous  1.9.0-2
ii  php  2:7.3+69
ii  php-cgi  2:7.3+69
ii  php-cli  2:7.3+69
ii  php-curl 2:7.3+69
ii  php-gd   2:7.3+69
ii  php-imagick  3.4.3-4
ii  php-imap 2:7.3+69
ii  php-ldap 2:7.3+69
ii  php-mbstring 2:7.3+69
ii  php-mysql2:7.3+69
ii  php-recode   2:7.3+69
ii  php-xml  2:7.3+69
ii  php7.0 [php] 7.0.27-1
ii  php7.0-cli [php-cli] 7.0.27-1
ii  php7.0-gd [php-gd]   7.0.27-1
ii  php7.0-imap [php-imap]   7.0.27-1
ii  php7.0-ldap [php-ldap]   7.0.27-1
ii  php7.0-mbstring [php-mbstring]   7.0.27-1
ii  php7.0-recode [php-recode]   7.0.27-1
ii  php7.0-xml [php-xml] 7.0.27-1
ii  php7.2 [php] 7.2.2-1
ii  php7.2-cli [php-cli] 7.2.2-1
ii  php7.2-gd [php-gd]   7.2.2-1
ii  php7.2-imap [php-imap]   7.2.2-1
ii  php7.2-ldap [php-ldap]   7.2.2-1
ii  php7.2-mbstring [php-mbstring]   7.2.2-1
ii  php7.2-recode [php-recode]   7.2.2-1
ii  php7.2-xml [php-xml] 7.2.2-1
ii  php7.3 [php] 7.3.0-2
ii  php7.3-cgi [php-cgi] 7.3.0-2
ii  php7.3-cli [php-cli] 7.3.0-2
ii  php7.3-curl [php-curl]   7.3.0-2
ii  php7.3-gd [php-gd]   7.3.0-2
ii  php7.3-imap [php-imap]   7.3.0-2
ii  php7.3-ldap [php-ldap]   7.3.0-2
ii  php7.3-mbstring [php-mbstring]   7.3.0-2
ii  php7.3-recode [php-recode]   7.3.0-2
ii  php7.3-xml [php-xml] 7.3.0-2
ii  smarty-gettext   1.6.0-1
ii  smarty3  3.1.33+20180830.1.3a78a21f+selfpack1-1
ii  ssmtp [mail-transport-agent] 2.64-8+b2

gosa recommends no packages.

Versions of packages gosa suggests:
pn  cyrus21-imapd  
ii  gosa-schema2.7.4+reloaded3-7
pn  php-apc
pn  php-fpdf   
pn  php-suhosin
pn  postfix-ldap   
ii  slapd  2.4.47+dfsg-1

-- no debconf information