From e855ded2421e73a7ac990058fc2b88feaf93a972 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 10 Aug 2006 18:46:36 +0000
Subject: [PATCH] Make sure to set the "must change password" flag on bind if the user's password needs to be changed before they can do anything else.

---
 opends/src/server/org/opends/server/core/BindOperation.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/BindOperation.java b/opends/src/server/org/opends/server/core/BindOperation.java
index 8a0fb50..d621ec1 100644
--- a/opends/src/server/org/opends/server/core/BindOperation.java
+++ b/opends/src/server/org/opends/server/core/BindOperation.java
@@ -1875,6 +1875,7 @@
       clientConnection.setAuthenticationInfo(authInfo);
       clientConnection.setSizeLimit(sizeLimit);
       clientConnection.setTimeLimit(timeLimit);
+      clientConnection.setMustChangePassword(mustChangePassword);
 
       if (returnAuthzID)
       {

--
Gitblit v1.10.0