Solved

reset SQL Server 2005 SQL Authentication after a number of days

Posted on 2009-07-13
5
299 Views
Last Modified: 2012-05-07
Hi is there,

Can SQL 2005 prompt you to change the SQL Authentication password after a certain period, i.e. 90 days.

Thanks
0
Comment
Question by:crompnk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24838476
>> Can SQL 2005 prompt you to change the SQL Authentication password after a certain period, i.e. 90 days.

Yes.. Provided you have a domain group policy enforcing password expiry for every 90 days.

And you have to enable Password Expiration through Enforce password policy and Enforce Password Expiration for the associated users to get it implemented.

Hope this helps.
0
 

Author Comment

by:crompnk
ID: 24838534
Hi,

Thanks for the info.
The domain user account (NT Authentaication) has a a 90 day password change policy.
So when creating a new user login in sql server and using sql authentication, does 'Enforce Password Expiration' use the domain account to force them to re-set the sql authentication password.
Is this correct?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24838774
Yes.. Absolutely..
0
 

Author Comment

by:crompnk
ID: 24839104
Thanks again,

Would this just report a login error saying the account/password has expired, would it prompt the user to change the password, or would this have to be done through the management studio.
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 24839167
>> Would this just report a login error saying the account/password has expired, would it prompt the user to change the password, or would this have to be done through the management studio.

By default, SQL Server wont intimate you about expiration of passwords of users associated.
It will throw an error message no 18487 after you try to use the login after password expires.

And hence we have to manually do the things mentioned below to handle it proactively:

http://blogs.msdn.com/mosharaf/archive/2009/01/22/how-to-handle-expired-sql-logins-passwords-in-client-code.aspx
http://www.mssqltips.com/tip.asp?tip=1478

Hope this helps
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question