summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 20:01:27 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-17 18:45:32 +0200
commit895a9fbbfb06f371f4dbab3174451ace50dbb2b7 (patch)
tree50fad11173c7f9ed518c280a7c6dc7753b2bc919 /source4/dsdb/samdb
parentbbb9dc806e4399c65dee9b5dc2cde0bfaa9609bd (diff)
downloadsamba-895a9fbbfb06f371f4dbab3174451ace50dbb2b7.tar.gz
samba-895a9fbbfb06f371f4dbab3174451ace50dbb2b7.tar.bz2
samba-895a9fbbfb06f371f4dbab3174451ace50dbb2b7.zip
s4:DSDB - DSDB_CONTROL_PASSWORD_CHANGE_OID - add a structure as value to the control
This contains the NT and/or LM hash of the password specified by the user.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/samdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 93bab7bd2c..a3d8f7952d 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -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
*/