r9770: Couple other bugfixes
[kai/samba.git] / source / lib / samba3 / tdbsam.c
index fc293d5df9ed7cd5e4475eacb089b7561d6e2800..5397abca49691845c2f4253e95c5f149fabb2706 100644 (file)
@@ -84,14 +84,6 @@ static BOOL init_sam_from_buffer_v0(TDB_CONTEXT *tdb, struct samba3_samaccount *
                return False;
        }
 
-       if (lm_pw_len != 16) {
-               return False;
-       }
-
-       if (nt_pw_len != 16) {
-               return False;
-       }
-
        return True;
 }
 
@@ -150,14 +142,6 @@ static BOOL init_sam_from_buffer_v1(TDB_CONTEXT *tdb, struct samba3_samaccount *
                return False;
        }
 
-       if (lm_pw_len != 16) {
-               return False;
-       }
-
-       if (nt_pw_len != 16) {
-               return False;
-       }
-
        return True;
 }
 
@@ -216,14 +200,6 @@ static BOOL init_sam_from_buffer_v2(TDB_CONTEXT *tdb, struct samba3_samaccount *
                return False;
        }
 
-       if (lm_pw_len != 16) {
-               return False;
-       }
-
-       if (nt_pw_len != 16) {
-               return False;
-       }
-
        return True;
 }