Repo to help notify and identity expired users in Active Directory
608
Scripts to help notify and identity expired users in Active Directory.
This repository contains Dockerfile definitions for
lambda3/notifypasswordexpiration.
You need to set pass the parameters according to each script. The main script is MessageExpiringUsers.ps1. Call it like this from PowerShell (example with GMail server):
docker run --rm -ti -v c:\path\to\your\templates:c:\temp\:ro -v c:\path\to\your\logs\:c:\logs\ lambda3/notifypasswordexpiration `
-adUsername [email protected] `
-adPassword YourPassword `
-adDomain 'youraddomain.com.br' `
-adSearchBase "'OU=Some OU,OU=YourDomain,DC=youraddomain,DC=com,DC=br'" `
-emailBodyTemplateFile c:\temp\BodyTemplate_Expiring.tpl `
-emailSubjectTemplateFile c:\temp\SubjectTemplate_Expiring.tpl `
-logFile 'c:\logs\expiring_mail.csv' `
-excludeExpiredUsers `
-smtpServer smtp.gmail.com `
-smtpPort 587 `
-from [email protected] `
-smtpPassword YourSMTPPassword
To run it with the other 3 scripts, you have to inform the entrypoint and the script (which is in the scripts folder), like so:
docker run --rm -ti -v c:\path\to\your\templates:c:\temp\:ro -v c:\path\to\your\logs\:c:\logs\ --entrypoint powershell lambda3/notifypasswordexpiration c:\script\MessageExpiredUsers.ps1 (...other parameters)
This software is open source, licensed under the MIT. See LICENSE for details. Check out the terms of the license before you contribute, fork, copy or do anything with the code. If you decide to contribute you agree to grant copyright of all your contribution to this project, and agree to mention clearly if do not agree to these terms. Your work will be licensed with the project at Apache V2, along the rest of the code.
Content type
Image
Digest
sha256:c378600e6…
Size
1.6 GB
Last updated
over 3 years ago
docker pull lambda3/notifypasswordexpiration