summaryrefslogtreecommitdiffstats
path: root/source/include/smbldap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-07 22:46:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:09 -0500
commitdd54b2a3c45e202e504ad69d170eb798da4e6fc9 (patch)
treedb7f63080a009e94373939710d70ebd2648d0db3 /source/include/smbldap.h
parentf423a631974b9126888aff2e476882abf1f3afad (diff)
downloadsamba-dd54b2a3c45e202e504ad69d170eb798da4e6fc9.tar.gz
samba-dd54b2a3c45e202e504ad69d170eb798da4e6fc9.tar.xz
samba-dd54b2a3c45e202e504ad69d170eb798da4e6fc9.zip
r1388: Adding password history code for ldap backend, based on a patch from
"Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to linearised pstring due to ordering issues. A few other changes to fix race conditions. I will add the tdb backend code next. This code compiles but has not yet been tested with password history policy set to greater than zero. Targeted for 3.0.6. Jeremy.
Diffstat (limited to 'source/include/smbldap.h')
-rw-r--r--source/include/smbldap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index c7de7d84b37..b94577178b3 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -93,8 +93,9 @@
#define LDAP_ATTR_LOGON_COUNT 36
#define LDAP_ATTR_MUNGED_DIAL 37
#define LDAP_ATTR_BAD_PASSWORD_TIME 38
-
-#define LDAP_ATTR_SID_LIST 40
+#define LDAP_ATTR_PWD_HISTORY 39
+#define LDAP_ATTR_SID_LIST 40
+#define LDAP_ATTR_MOD_TIMESTAMP 41
typedef struct _attrib_map_entry {
int attrib;