-
Notifications
You must be signed in to change notification settings - Fork 0
/
posix-wsp-ident.h
47 lines (37 loc) · 1.61 KB
/
posix-wsp-ident.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
$Id: posix-wsp-ident.h 39 2011-06-10 08:22:11Z grzemba $
**/
#ifndef POSIX_WINSYNC_H
#define POSIX_WINSYNC_H
#define POSIX_WINSYNC_PLUGIN_NAME "posix-winsync"
#define PLUGIN_MAGIC_VENDOR_STR "contac Datentechnik GmbH"
#define PRODUCTTEXT "1.1"
#define null NULL
#define true -1
#define false 0
#define POSIX_WINSYNC_MSSFU_SCHEMA "posixWinsyncMsSFUSchema"
#define POSIX_WINSYNC_MAP_MEMBERUID "posixWinsyncMapMemberUID"
#define POSIX_WINSYNC_CREATE_MEMBEROFTASK "posixWinsyncCreateMemberOfTask"
#define POSIX_WINSYNC_LOWER_CASE "posixWinsyncLowerCaseUID"
void * posix_winsync_get_plugin_identity();
typedef struct posix_winsync_config_struct {
Slapi_Mutex *lock; /* for config access */
Slapi_Entry *config_e; /* configuration entry */
PRBool mssfuSchema; /* use W2k3 Schema msSFU30 */
PRBool mapMemberUID; /* map uniqueMember to memberUid */
PRBool lowercase; /* store the uid in group memberuid in lower case */
PRBool createMemberOfTask; /* should memberOf Plugin Task run after AD sync */
PRBool MOFTaskCreated;
Slapi_DN *rep_suffix; /* namingContext in DS of the replicated suffix */
} POSIX_WinSync_Config;
int posix_winsync_config(Slapi_Entry *config_e);
POSIX_WinSync_Config *posix_winsync_get_config();
PRBool posix_winsync_config_get_mapMemberUid();
PRBool posix_winsync_config_get_msSFUSchema();
PRBool posix_winsync_config_get_lowercase();
PRBool posix_winsync_config_get_createMOFTask();
Slapi_DN *posix_winsync_config_get_suffix();
void posix_winsync_config_reset_MOFTaskCreated();
void posix_winsync_config_set_MOFTaskCreated();
PRBool posix_winsync_config_get_MOFTaskCreated();
#endif