Giter VIP home page Giter VIP logo

Comments (4)

gruberroland avatar gruberroland commented on June 1, 2024 1

You can get the shadow attributes for an LDAP user like this: getent shadow USER
Maybe there is an issue with PAM LDAP setup (see /etc/pam_ldap.conf).

from lam.

gruberroland avatar gruberroland commented on June 1, 2024

As you have set a value for shadowMax LAM will use this to set the shadowLastChange. For the white page please make sure that you do not have PHP 5.x installed.
Also check /var/log/apache2/error.log. There should be something in it when you get a 500.

from lam.

hb0nes avatar hb0nes commented on June 1, 2024

from lam.

hb0nes avatar hb0nes commented on June 1, 2024

I changed my olcAccess to be as follows:

dn: olcDatabase={1}mdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to attrs=userPassword
        by self write
        by anonymous auth
        by dn.base="cn=admin,dc=deribit,dc=internal" write
        by * none
olcAccess: {1}to attrs=givenName,sn,photo,pwdAccountLockedTime,shadowLastChange
        by self write
        by dn.base="cn=admin,dc=deribit,dc=internal" write
        by * read
olcAccess: {2}to *
        by self read
        by dn.base="cn=admin,dc=deribit,dc=internal" write
        by * read

I also enabled LDAP shadow integration during setup.

It now works.

As for the white screen, I have this installed:

ii  libapache2-mod-php                   2:7.3+69                        all          server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii  libapache2-mod-php7.3                7.3.19-1~deb10u1                amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php                                  2:7.3+69                        all          server-side, HTML-embedded scripting language (default)
ii  php-cgi                              2:7.3+69                        all          server-side, HTML-embedded scripting language (CGI binary) (default)
ii  php-common                           2:69                            all          Common files for PHP packages
ii  php-curl                             2:7.3+69                        all          CURL module for PHP [default]
ii  php-gd                               2:7.3+69                        all          GD module for PHP [default]
ii  php-gmp                              2:7.3+69                        all          GMP module for PHP [default]
ii  php-ldap                             2:7.3+69                        all          LDAP module for PHP [default]
ii  php-mbstring                         2:7.3+69                        all          MBSTRING module for PHP [default]
ii  php-monolog                          1.24.0-1                        all          send logs to various destination and web services
ii  php-pear                             1:1.10.6+submodules+notgz-1.1   all          PEAR Base System
ii  php-phpseclib                        2.0.14-1                        all          implementations of an arbitrary-precision integer arithmetic library
ii  php-psr-log                          1.1.0-1                         all          common interface for logging libraries
ii  php-xml                              2:7.3+69                        all          DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii  php-zip                              2:7.3+69                        all          Zip module for PHP [default]
ii  php7.3                               7.3.14-1~deb10u1                all          server-side, HTML-embedded scripting language (metapackage)
ii  php7.3-cgi                           7.3.19-1~deb10u1                amd64        server-side, HTML-embedded scripting language (CGI binary)
ii  php7.3-cli                           7.3.19-1~deb10u1                amd64        command-line interpreter for the PHP scripting language
ii  php7.3-common                        7.3.19-1~deb10u1                amd64        documentation, examples and common module for PHP
ii  php7.3-curl                          7.3.19-1~deb10u1                amd64        CURL module for PHP
ii  php7.3-fpm                           7.3.19-1~deb10u1                amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.3-gd                            7.3.19-1~deb10u1                amd64        GD module for PHP
ii  php7.3-gmp                           7.3.19-1~deb10u1                amd64        GMP module for PHP
ii  php7.3-json                          7.3.19-1~deb10u1                amd64        JSON module for PHP
ii  php7.3-ldap                          7.3.19-1~deb10u1                amd64        LDAP module for PHP
ii  php7.3-mbstring                      7.3.19-1~deb10u1                amd64        MBSTRING module for PHP
ii  php7.3-opcache                       7.3.19-1~deb10u1                amd64        Zend OpCache module for PHP
ii  php7.3-readline                      7.3.19-1~deb10u1                amd64        readline module for PHP
ii  php7.3-xml                           7.3.19-1~deb10u1                amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP
ii  php7.3-zip                           7.3.19-1~deb10u1                amd64        Zip module for PHP

Trying to remove the regular php packages will remove ldap-account-manager and everything related as well.

As for the white screen, there is absolutely nothing in apache2 error log, except for this:

[Wed Aug 26 09:18:53.817097 2020] [php7:notice] [pid 30139] [client 10.44.30.10:56570] PHP Notice: Undefined index: header in /usr/share/ldap-account-manager/templates/config/conflogin.php on line 68

However, this line doesn't appear on subsequent logins and retries of loading main.php.

from lam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.