s4:DSDB - DSDB_CONTROL_PASSWORD_CHANGE_OID - add a structure as value to the control
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 15 Aug 2010 18:01:27 +0000 (20:01 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 17 Aug 2010 16:45:32 +0000 (18:45 +0200)
This contains the NT and/or LM hash of the password specified by the user.

source4/dsdb/samdb/samdb.h

index 93bab7bd2c71ae9a61f28f7f6cb7bd49239b4d8f..a3d8f7952d29098af47652944e18ed386e2a1aa4 100644 (file)
@@ -82,6 +82,11 @@ struct dsdb_control_password_change_status {
 
 #define DSDB_CONTROL_PASSWORD_CHANGE_OID "1.3.6.1.4.1.7165.4.3.10"
 
+struct dsdb_control_password_change {
+       const struct samr_Password *old_nt_pwd_hash;
+       const struct samr_Password *old_lm_pwd_hash;
+};
+
 /**
    DSDB_CONTROL_APPLY_LINKS is internal to Samba4 - a token passed between repl_meta_data and linked_attributes modules
 */