Solved

reset SQL Server 2005 SQL Authentication after a number of days

Posted on 2009-07-13
5
297 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

808 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