Giter VIP home page Giter VIP logo

Comments (7)

gruberroland avatar gruberroland commented on June 3, 2024

The log indicates that the user account expires in April 2025. Therefore, no email is sent.

from lam.

informaticavera avatar informaticavera commented on June 3, 2024

from lam.

gruberroland avatar gruberroland commented on June 3, 2024

Yes, the calendar defaults to the current date + 1 year. This matches something like 80% of the cases.

from lam.

informaticavera avatar informaticavera commented on June 3, 2024

I have tried with another user and I have looked closely at the date and it seems that the emails are not sent as indicated, could it be?

2024-04-11 00:00:01 Info Running job ShadowAccountExpirationCleanupJob for server profile lam
2024-04-11 00:00:01 Debug Configuration options:
2024-04-11 00:00:01 Debug ShadowAccountExpirationCleanupJob_actionlJbrTgrdHAcyqTh: move
2024-04-11 00:00:01 Debug ShadowAccountExpirationCleanupJob_targetDNlJbrTgrdHAcyqTh: ou=NoUsers,dc=vera,dc=es
2024-04-11 00:00:01 Debug ShadowAccountExpirationCleanupJob_delaylJbrTgrdHAcyqTh: 1
2024-04-11 00:00:01 Debug Found 1 users to check.
2024-04-11 00:00:01 Debug Checking uid=mmartinezcaparros,ou=ayuntamiento,ou=Users,dc=vera,dc=es
2024-04-11 00:00:01 Debug Expiration on 2024-04-09
2024-04-11 00:00:01 Debug Action time on 2024-04-10
2024-04-11 00:00:01 Debug Performing action: move
2024-04-11 00:00:01 Info Moving uid=mmartinezcaparros,ou=ayuntamiento,ou=Users,dc=vera,dc=es to uid=mmartinezcaparros,ou=NoUsers,dc=vera,dc=es

2024-04-11 00:00:01 Info Running job ShadowAccountExpirationNotifyJob for server profile lam
2024-04-11 00:00:01 Debug Configuration options:
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailFromdnKz6b4P7kIMWwo: [email protected]
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailReplyTodnKz6b4P7kIMWwo: [email protected]
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailBCCdnKz6b4P7kIMWwo: [email protected]
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailSubjectdnKz6b4P7kIMWwo: LAM - Desactivación de cuenta
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailIsHTMLdnKz6b4P7kIMWwo: false
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailtextdnKz6b4P7kIMWwo: AYUNTAMIENTO DE VERA, La cuenta del usuario @@uid@@ será desactivada de forma automática., , FECHA DE EXPIRACION: @@EXPIRE_DATE_DDMMYYYY@@, NOMBRE y APELLIDOS: @@DisplayName@@, CODIGO DE PERSONAL: @@pager@@, , Recuerde que debe de entregar cualquier dispositivo que tenga asignado., , MOVIL CORPORATIVO: @@mobile@@, , Recuerde que debe de revisar los roles que tenga asignados., , ROLES: @@memberof@@
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailNotificationPerioddnKz6b4P7kIMWwo: 1
2024-04-11 00:00:01 Debug ShadowAccountExpirationNotifyJob_mailCCdnKz6b4P7kIMWwo: [email protected]
2024-04-11 00:00:01 Debug Found 0 users to check.

from lam.

gruberroland avatar gruberroland commented on June 3, 2024

The log shows that the a user was moved. The mail job then does not find any more users to check.
Can it be that both jobs have their action set to similar times and the (too early) move is preventing the notification?

from lam.

informaticavera avatar informaticavera commented on June 3, 2024

Maybe, can you think of a way to avoid this automatically?

from lam.

gruberroland avatar gruberroland commented on June 3, 2024

The idea is that users are notified some time before their account is moved. E.g. then they can contact responsible people if this is an error. Looks like you want to send them more like an info message that their account expired now.

I suggest to configure the mail job to send notifications 1 day before the user is moved (or move after the account expires).

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.