Solved

reset SQL Server 2005 SQL Authentication after a number of days

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

803 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