diff options
author | Jim McDonough <jmcd@samba.org> | 2004-02-23 02:47:33 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-02-23 02:47:33 +0000 |
commit | 401959b7d7b3a29dbd1734318e5f6eb1248859f8 (patch) | |
tree | 7b0f001c1343bfa0cf31a8906c51dfb42201e2f5 /source3 | |
parent | b9c35e961d44958f64e72a1c0986b998c193c570 (diff) | |
download | samba-401959b7d7b3a29dbd1734318e5f6eb1248859f8.tar.gz samba-401959b7d7b3a29dbd1734318e5f6eb1248859f8.tar.bz2 samba-401959b7d7b3a29dbd1734318e5f6eb1248859f8.zip |
Add bad password count/time attributes
(This used to be commit 003318939f7e476f5f2a5f345e8a81a228fc89a7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smbldap.h | 1 | ||||
-rw-r--r-- | source3/lib/smbldap.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index 14ea2de012..9ef66a14ef 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -91,6 +91,7 @@ #define LDAP_ATTR_BAD_PASSWORD_COUNT 35 #define LDAP_ATTR_LOGON_COUNT 36 #define LDAP_ATTR_MUNGED_DIAL 37 +#define LDAP_ATTR_BAD_PASSWORD_TIME 38 typedef struct _attrib_map_entry { int attrib; diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index dc2f425c09..e122acd188 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -98,6 +98,8 @@ ATTRIB_MAP_ENTRY attrib_map_v30[] = { { LDAP_ATTR_OBJCLASS, "objectClass" }, { LDAP_ATTR_ACB_INFO, "sambaAcctFlags" }, { LDAP_ATTR_MUNGED_DIAL, "sambaMungedDial" }, + { LDAP_ATTR_BAD_PASSWORD_COUNT, "sambaBadPasswordCount" }, + { LDAP_ATTR_BAD_PASSWORD_TIME, "sambaBadPasswordTime" }, { LDAP_ATTR_LIST_END, NULL } }; |