Learn more about SQL Server tools



solving sql server problems for millions of dbas and developers since 2006 join MSSQLTips for free SQL Server tips













































   Got a SQL tip?
            We want to know!

SQL Server Login Properties to Enforce Password Policies and Expiration

MSSQLTips author Jeremy Kadlec By:   |   Read Comments (1)   |   Related Tips: More > Auditing and Compliance

Problem
For some reason your web site is up, but none of the data is loading on your web site?  Is your SQL Server up and running?  Are you able to access the data with either your Windows account or sa?  What does your SQL Server error log report?  What is the culprit?

Solution
Chances are if the SQL Server error log reports messages of:

Logon Error: 18487, Severity: 14, State: 1.
Logon Login failed for user 'loginname'. Reason: The password of the account has expired. [CLIENT: <named pipe>]

Then the password for the login used in your web application has expired.  SQL Server 2005 introduced 'Enforce password policy' and/or the 'Enforce password expiration' configurations which use the local policies for password length, complexity and expiration.  Depending on how Active Directory, the local policies and your rights are setup, these parameters can be reviewed and changed to dictate how SQL Server uses configurations.

Where can I find the login properties?

  1. Open Management Studio and the object browser.
  2. Navigate to the Security | Logins folder.
  3. Find the login you are interested in reviewing.
  4. Right click on the login and select 'Properties' option.
  5. On the General tab, review the 'Enforce password policy' and the 'Enforce password expiration' configurations.

Where can I find the password policies?

Navigate to Start | All Programs | Administrative Tools | Local Security Policy and to review the local policies on the machine.

Next Steps



Last Update: 10/18/2006


About the author
MSSQLTips author Jeremy Kadlec
Jeremy Kadlec is the CTO @ Edgewood Solutions, co-founder of MSSQLTips.com, Baltimore SSUG co-leader and SQL Server MVP since 2009.

View all my tips
Related Resources


print tip Print  
Become a paid author





join MSSQLTips for free SQL Server tips     



Learn more about SQL Server tools
Post a comment or let the author know this tip helped you.

       All comments are reviewed, so stay on subject or we may delete your comment.

*Name   *Email Notify for updates



       Note: your email address is not published. Required fields are marked with an asterisk (*)


Get free SQL tips:

*Enter Code refresh code     



Tuesday, July 08, 2014 - 11:26:07 AM - shruthi Read The Tip

Hello,

 

The Maximum password age is 42 days .Does it mean the password expires in 42 days

 

Thanks,

shruthi

 




 
Sponsor Information







Copyright (c) 2006-2014 Edgewood Solutions, LLC All rights reserved
privacy | disclaimer | copyright | advertise | about
authors | contribute | feedback | giveaways | free t-shirt | user groups | community | events | first timer?
Some names and products listed are the registered trademarks of their respective owners.