Solved

reset SQL Server 2005 SQL Authentication after a number of days

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

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