Re: Send notification before PWDs expire
- From: "Paul Williams [MVP]" <ptw2001@xxxxxxxxxxx>
- Date: Fri, 23 Feb 2007 09:08:56 -0000
How one deploys code in a given production environment varies considerably.
Different organisations have different processes and procedures, and
different levels of skills and experience at doing such things.
I will give you two vague answers, as there's intellectul property rights,
etc. that doesn't allow me to explain how the processes of the companies
that I've worked for work, as well as the fact I can't give you any code.
In a smaller company, a change request was received for what you ask.
Therefore, an individual was tasked with writing and deploying the script.
The person in question setup a virtual development lab and wrote a script
very similar to the examples I gave you. Some customisation was added
mainly for additional error handling and some branding, e.g. corporate name,
etc. Once happy with this is in test, it was implemented in production. It
was setup on one of the internal SMTP gateway servers, and was setup with
minimum permissions for the job. It was setup as a scheduled task that ran
once per day and e-mailed the user each day. In total two people were
mainly involved - the person tasked with writing the script and me, who
offered guidance on the environment in question, some aspects of the script,
and running with least privilege.
In a larger company more people are involved. There's more testing, by
testers who are different to the developer and architect, and an entire
process around this. For example, an architect would be given the change
who would enlist the help of a scripter or developer to write the code and
wrap it up into a format that was reasonably portable. The architect would
write some documentation around this and then pass it over to integration
and testing who would attempt to deploy it in a test environment. Any bugs
or problems would be registered into the change management system and
returned to the architect and/ or developer. The issues would be fixed and
it would be passed to integration again. If happy, it's then passed to test
who implement in pre-production. If that's fine, it is scheduled for
release and released to the live environment where the live implementation
people would implement it.
Note. I've not gone into the early requirements and planning phases, etc.
In both examples I've worked in a role with an outsourced solutions
provider. The company requesting the change was one of many supported by
the large oursoucring provider.
Eitherway the crux of the matter is this - you develop in a test lab and get
the script to meet your requirements. Once you're happy, you deploy in
live. If you test lab is limited, e.g. a simple VM environment, you can
only deploy to a fraction of the live environment by changing the scope of
the LDAP query used to find all users to a base DN with fewer users and/ or
by limiting the scope of the query.
Does this help? While I can appreciate that you might not have been overly
happy with me posting some links of example code, I must say that many
people who post here don't search the Internet first, and this is a public
forum, therefore I think it might be unreasonable to expect to be given code
and guidance on a rather vague question. Most of us who answer here have no
problems doing either of the above, however in some cases we don't have code
to give you. I would be breaking the law, as well as a code of ethics, if I
simply gave you the code that has been written by my company for another
company. Furthermore, as Joe has already said (in a better way than I) if
you want a very specific answer you must post a very specific question.
I don't tend to offend you with my response, so please do not take any. In
a multi-national forum such as this wit, sarcasm, humour, etc. are often
lost. Furthermore, dialect can further confuse things. I hope the
information provided by Joe and myself is helpful and you're actually
getting somewhere with this. If you have more questions please do ask.
--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
.
- References:
- Re: Send notification before PWDs expire
- From: "Ken Zhao [MSFT]"
- Re: Send notification before PWDs expire
- Prev by Date: Strange Entry in Active Directory
- Next by Date: Re: Strange Entry in Active Directory
- Previous by thread: Re: Send notification before PWDs expire
- Next by thread: Change AD Password from a Web Form and Notification
- Index(es):
Relevant Pages
|