The branch, master has been updated
       via  1fc3676... s4:samdb_set_password - fix formatting
      from  af3c6a4... s4:passwords.py - proof the most important extended 
error codes

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1fc3676974b254fd5fd402e7fa600b9020748734
Author: Matthias Dieter Wallnöfer <m...@samba.org>
Date:   Sun Aug 15 19:45:29 2010 +0200

    s4:samdb_set_password - fix formatting
    
    (Sorry, I've overseen this)

-----------------------------------------------------------------------

Summary of changes:
 source4/dsdb/common/util.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 3ce0b2c..a69ae80 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -2154,7 +2154,8 @@ NTSTATUS samdb_set_password(struct ldb_context *ldb, 
TALLOC_CTX *mem_ctx,
                                status = NT_STATUS_WRONG_PASSWORD;
                        }
                        if (W_ERROR_EQUAL(werr, WERR_PASSWORD_RESTRICTION)) {
-                               status = NT_STATUS_PASSWORD_RESTRICTION;        
                        }
+                               status = NT_STATUS_PASSWORD_RESTRICTION;
+                       }
                }
        } else if (ret == LDB_ERR_NO_SUCH_OBJECT) {
                /* don't let the caller know if an account doesn't exist */


-- 
Samba Shared Repository

Reply via email to