Change Active Directory Password Expiration Prompt in OS X Yosemite
From Apple AD Integration Guide:

http://training.apple.com/pdf/wp_integrating_active_directory_yosemite.pdf


  Login Window Password  Expiration Interval  An administrator can
  change the  default expiration notification for  the Login Window from
  the  command line: 
  defaults write / Library/Preferences/
  com.apple.loginwindow  PasswordExpirationDays 
  -int &lt;number of days&gt;


defaults write / Library/Preferences/com.apple.loginwindow  PasswordExpirationDays -int 14