summaryrefslogtreecommitdiffstats
path: root/source/include/smbldap.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-01-22 03:37:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:08 -0500
commit75af83dfcd8ef365b4b1180453060ae5176389f5 (patch)
tree96dbb77b3d4bbd22becc12132feb997517f21aef /source/include/smbldap.h
parent033105376ef4ed7d31ef7cab2442719ed57d29b9 (diff)
downloadsamba-75af83dfcd8ef365b4b1180453060ae5176389f5.tar.gz
samba-75af83dfcd8ef365b4b1180453060ae5176389f5.tar.xz
samba-75af83dfcd8ef365b4b1180453060ae5176389f5.zip
r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).
Does automated migration from account_policy.tdb v1 and v2 and offers a pdbedit-Migration interface. Jerry, please feel free to revert that if you have other plans. Guenther
Diffstat (limited to 'source/include/smbldap.h')
-rw-r--r--source/include/smbldap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index adb51430dc6..9a116ab7e78 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -38,6 +38,7 @@
#define LDAP_OBJ_IDPOOL "sambaUnixIdPool"
#define LDAP_OBJ_IDMAP_ENTRY "sambaIdmapEntry"
#define LDAP_OBJ_SID_ENTRY "sambaSidEntry"
+#define LDAP_OBJ_ACCOUNT_POLICY "sambaAccountPolicy"
#define LDAP_OBJ_ACCOUNT "account"
#define LDAP_OBJ_POSIXACCOUNT "posixAccount"
@@ -97,6 +98,8 @@
#define LDAP_ATTR_SID_LIST 40
#define LDAP_ATTR_MOD_TIMESTAMP 41
#define LDAP_ATTR_LOGON_HOURS 42
+#define LDAP_ATTR_ACCOUNT_POLICY_NAME 43
+#define LDAP_ATTR_ACCOUNT_POLICY_VAL 44
typedef struct _attrib_map_entry {
int attrib;
@@ -115,6 +118,7 @@ extern ATTRIB_MAP_ENTRY groupmap_attr_list[];
extern ATTRIB_MAP_ENTRY groupmap_attr_list_to_delete[];
extern ATTRIB_MAP_ENTRY idpool_attr_list[];
extern ATTRIB_MAP_ENTRY sidmap_attr_list[];
+extern ATTRIB_MAP_ENTRY acctpol_attr_list[];
/* Function declarations -- not included in proto.h so we don't
have to worry about LDAP structure types */