Solved

reset SQL Server 2005 SQL Authentication after a number of days

Posted on 2009-07-13
5
288 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
Comment Utility
>> 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
Comment Utility
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
Comment Utility
Yes.. Absolutely..
0
 

Author Comment

by:crompnk
Comment Utility
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
Comment Utility
>> 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now