ldb:ldb.h - introduce the structures needed to implement the LDAP password change...
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 4 Nov 2010 21:02:42 +0000 (22:02 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 20 Mar 2011 16:07:35 +0000 (17:07 +0100)
According to: http://tools.ietf.org/html/draft-zeilenga-ldap-passwd-exop-05

source4/lib/ldb/include/ldb.h

index 49f8222d49c4cac172ee04905783b7ab09214de2..a9c11597299e4db2317df0cbe316dd93a6bcf18b 100644 (file)
@@ -899,6 +899,16 @@ struct ldb_seqnum_result {
        uint32_t flags;
 };
 
+struct ldb_password_change_request {
+       const char *user_identity;
+       const char *old_passwd;
+       const char *new_passwd;
+};
+
+struct ldb_password_change_result {
+       const char *gen_passwd;
+};
+
 struct ldb_result {
        unsigned int count;
        struct ldb_message **msgs;