i installed nethserver-ldapadmin, but when I try to login I get this:
Notice: Undefined variable: _SESSION in /usr/share/phpldapadmin/lib/page.php on line 379
Fatal error: Call to a member function getValue() on a non-object in /usr/share/phpldapadmin/lib/page.php on line 379
Could not find anything on the net to solve this issue.
Any idea?
Yes my server is uptodate. I now logged in with user admin into NS. User admin does have a password.
This error is coming before the login page of ldapadmin is shown!
(I think you are talking about the user I have to use to login into ldapadmin, but this would be the next step)
Feb 6 18:39:39 dc2 systemd: Stopping The Apache HTTP Server...
Feb 6 18:39:43 dc2 systemd: Starting The Apache HTTP Server...
Feb 6 18:39:43 dc2 systemd: Started The Apache HTTP Server.
signal-event nethserver-phpldapadmin-save
Feb 6 18:41:33 dc2 esmith::event[6562]: Event: nethserver-phpldapadmin-save
Feb 6 18:41:33 dc2 esmith::event[6562]: expanding /etc/httpd/conf.d/default-virtualhost.inc
Feb 6 18:41:33 dc2 dbus[637]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Feb 6 18:41:33 dc2 dbus-daemon: dbus[637]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Feb 6 18:41:33 dc2 systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument.
Feb 6 18:41:33 dc2 systemd: Starting Time & Date Service...
Feb 6 18:41:33 dc2 dbus[637]: [system] Successfully activated service 'org.freedesktop.timedate1'
Feb 6 18:41:33 dc2 dbus-daemon: dbus[637]: [system] Successfully activated service 'org.freedesktop.timedate1'
Feb 6 18:41:33 dc2 systemd: Started Time & Date Service.
Feb 6 18:41:33 dc2 esmith::event[6562]: expanding /etc/httpd/conf.d/phpldapadmin.conf
Feb 6 18:41:33 dc2 esmith::event[6562]: expanding /etc/phpldapadmin/config.php
Feb 6 18:41:33 dc2 esmith::event[6562]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.222282]
Feb 6 18:41:33 dc2 systemd: Reloading.
Feb 6 18:41:33 dc2 systemd: [/usr/lib/systemd/system/microcode.service:10] Trailing garbage, ignoring.
Feb 6 18:41:33 dc2 systemd: microcode.service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 6 18:41:33 dc2 esmith::event[6562]: [INFO] service httpd reload
Feb 6 18:41:34 dc2 systemd: Reloaded The Apache HTTP Server.
Feb 6 18:41:34 dc2 esmith::event[6562]: [INFO] httpd reload
Feb 6 18:41:34 dc2 esmith::event[6562]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.183784] Feb 6 18:41:34 dc2 esmith::event[6562]: Event: nethserver-phpldapadmin-save SUCCESS
Feb 6 18:42:00 dc2 clamd: SelfCheck: Database status OK.
for mee this looks normal, too. Doesnât change anything.
[Mon Feb 06 19:24:20.081635 2017] [:error] [pid 6595] [client 10.140.1.84:40627] PHP Notice: Undefined variable: kq in /etc/phpldapadmin/config.php on line 307
[Mon Feb 06 19:24:20.081999 2017] [:error] [pid 6595] [client 10.140.1.84:40627] PHP Notice: Undefined variable: _SESSION in /usr/share/phpldapadmin/lib/page.php on line 379
[Mon Feb 06 19:24:20.082009 2017] [:error] [pid 6595] [client 10.140.1.84:40627] PHP Fatal error: Call to a member function getValue() on a non-object in /usr/share/phpldapadmin/lib/page.php on line 379
Undefined variable: kq in /etc/phpldapadmin/config.php on line 307:
In this line I can find a crypted string including $kg which might be interpreted wrong!
If I change $ sign to e.g. âxâ then the error is gone and the login screen is visible! The logind doesnât work then anymore, because this seems to be my crypted PW what I changed.
So I changed my root and admin Password to see what happens: But this string on line 307 did not change (also run signal-event nethserver-phpldapadmin-save to create a new config.php).
Do you know where this string in âbind_passâ is created from? Is this a new bug I found now?
I could wait for your update -
But then I canât answer the very first question about which field in LDAP database makes us stopping to set sogos default mail addrâŠ