Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Issues with account expiration dates #497

@Albvadi

Description

@Albvadi

Adldap2 Version: 7.0.15
LDAP Type: Active Directory
PHP Version: 7.0.9

Description:

Hi, I have 4 types of users:

  • User which does not expire
  • User which not expired yet, but have and expiration date
  • User expired
  • User which does not expire, but with and expiration date set to 31/12/9999 (do not ask why.. 🤦‍♂️)

These are the values retrieved from AD:
image

In the last user, if I try to get the isExpired() status or the date with expirationDate(), I get the following exception:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions