diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/idmap.h | 2 | ||||
-rw-r--r-- | source3/include/smbldap.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h index 1267ac27bc..4b38128c2f 100644 --- a/source3/include/idmap.h +++ b/source3/include/idmap.h @@ -39,7 +39,7 @@ struct idmap_methods { /* Called when backend is first loaded */ - NTSTATUS (*init)(void); + NTSTATUS (*init)( char *params ); NTSTATUS (*get_sid_from_id)(DOM_SID *sid, unid_t id, int id_type); NTSTATUS (*get_id_from_sid)(unid_t *id, int *id_type, const DOM_SID *sid); diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index 13451fa24f..c669f77425 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -39,6 +39,7 @@ #define LDAP_OBJ_ACCOUNT "account" #define LDAP_OBJ_POSIXACCOUNT "posixAccount" #define LDAP_OBJ_POSIXGROUP "posixGroup" +#define LDAP_OBJ_OU "organizationalUnit" /* some generic attributes that get reused a lot */ @@ -81,6 +82,7 @@ #define LDAP_ATTR_HOME_DRIVE 29 #define LDAP_ATTR_GROUP_SID 30 #define LDAP_ATTR_GROUP_TYPE 31 +#define LDAP_ATTR_SID 32 typedef struct _attrib_map_entry { |