Astra Linux Directory Client Core API
1.7.0
Титульная страница
Группы
Пространства имен
Классы
Файлы
Файлы
Список членов всех файлов
Указатель
Классы
Пространства имен
Файлы
Функции
Переменные
Определения типов
Перечисления
Элементы перечислений
Макросы
Группы
Страницы
ldap-definitions.h
См. документацию.
1
6
#ifndef ALD_LDAP_DEFINITIONS
7
#define ALD_LDAP_DEFINITIONS
8
9
#include <ldap.h>
10
23
#define ALD_LDAP_LOG_TPL(type, name) ALD_LDAP_##type##_NAME "=" name "," ALD_LDAP_##type##_BASE
25
26
// ALD LDAP STRUCT
28
#define ALD_LDAP_USER_BASE "ou=users"
30
#define ALD_LDAP_USER_OCLASS "person,posixAccount,shadowAccount,x-ald-user, inetOrgPerson"
31
#define ALD_LDAP_USER_CLASS "objectClass=x-ald-user"
32
#define ALD_LDAP_USER_NAME "uid"
33
#define ALD_LDAP_USER_UID "uidNumber"
34
#define ALD_LDAP_USER_GID "gidNumber"
35
#define ALD_LDAP_USER_GECOS "gecos"
36
#define ALD_LDAP_USER_HOME "homeDirectory"
37
#define ALD_LDAP_USER_SHELL "loginShell"
38
#define ALD_LDAP_USER_DESC "description"
39
#define ALD_LDAP_USER_FULL_NAME "cn"
40
#define ALD_LDAP_USER_SURNAME "sn"
41
#define ALD_LDAP_USER_POLICY "x-ald-kppolicy"
42
#define ALD_LDAP_USER_CAP "x-ald-user-cap"
43
#define ALD_LDAP_USER_CAPS "x-ald-user-caps"
44
#define ALD_LDAP_USER_HOSTS "x-ald-allowed-hosts"
45
#define ALD_LDAP_USER_HGROUPS "x-ald-allowed-host-groups"
46
#define ALD_LDAP_USER_HOME_TYPE "x-ald-user-home-type"
47
#define ALD_LDAP_USER_HOME_SRV "x-ald-user-home-server"
48
#define ALD_LDAP_USER_LGROUPS "x-ald-user-local-groups"
49
#define ALD_LDAP_USER_MICLVL "x-ald-user-mic-level"
50
#define ALD_LDAP_USER_PHOTO "jpegPhoto"
51
54
#define ALD_LDAP_GROUP_BASE "ou=users"
56
#define ALD_LDAP_GROUP_OCLASS "posixGroup"
57
#define ALD_LDAP_GROUP_CLASS "objectClass=posixGroup"
58
#define ALD_LDAP_GROUP_NAME "cn"
59
#define ALD_LDAP_GROUP_GID "gidNumber"
60
#define ALD_LDAP_GROUP_DESC "description"
61
#define ALD_LDAP_GROUP_MEMBER "memberUid"
62
65
#define ALD_LDAP_TASK_BASE "ou=tasks,ou=ald-config"
67
#define ALD_LDAP_TASK_OCLASS "x-ald-task-object"
68
#define ALD_LDAP_TASK_CLASS "objectClass=x-ald-task-object"
69
#define ALD_LDAP_TASK_ID "x-ald-id"
70
#define ALD_LDAP_TASK_NAME ALD_LDAP_TASK_ID
71
#define ALD_LDAP_TASK_TYPE "x-ald-task"
72
#define ALD_LDAP_TASK_STATUS "x-ald-status"
73
#define ALD_LDAP_TASK_TIMESTAMP "x-ald-timestamp"
74
#define ALD_LDAP_TASK_DATA "x-ald-task-data"
75
#define ALD_LDAP_TASK_ERROR "x-ald-err-desc"
76
77
#define ALD_LDAP_EVTASK_BASE "ou=event-tasks,ou=ald-config"
78
81
#define ALD_LDAP_POLICY_BASE "ou=policies,ou=ald-config"
83
#define ALD_LDAP_POLICY_OCLASS "x-ald-krb5-pass-policy"
84
#define ALD_LDAP_POLICY_CLASS "objectClass=x-ald-krb5-pass-policy"
85
#define ALD_LDAP_POLICY_NAME "cn"
86
#define ALD_LDAP_POLICY_MAXLIFE "x-ald-kpp-maxlife"
87
#define ALD_LDAP_POLICY_MINLIFE "x-ald-kpp-minlife"
88
#define ALD_LDAP_POLICY_MINLEN "x-ald-kpp-minlen"
89
#define ALD_LDAP_POLICY_MINCLASSES "x-ald-kpp-minclasses"
90
#define ALD_LDAP_POLICY_HISTORY "x-ald-kpp-history"
91
94
#define ALD_LDAP_SGROUP_BASE "ou=ald-config"
96
#define ALD_LDAP_SGROUP_OCLASS "groupOfNames"
97
#define ALD_LDAP_SGROUP_CLASS "objectClass=groupOfNames"
98
#define ALD_LDAP_SGROUP_NAME "cn"
99
#define ALD_LDAP_SGROUP_DESC "description"
100
#define ALD_LDAP_SGROUP_MEMBER "member"
101
104
#define ALD_LDAP_HGROUP_BASE "ou=hosts"
106
#define ALD_LDAP_HGROUP_OCLASS "x-ald-host-group-object"
107
#define ALD_LDAP_HGROUP_CLASS "objectClass=x-ald-host-group-object"
108
#define ALD_LDAP_HGROUP_NAME "cn"
109
#define ALD_LDAP_HGROUP_DESC "description"
110
#define ALD_LDAP_HGROUP_HOSTS "x-ald-hosts"
111
114
#define ALD_LDAP_HOST_BASE "ou=hosts"
116
#define ALD_LDAP_HOST_OCLASS "x-ald-host-object"
117
#define ALD_LDAP_HOST_CLASS "objectClass=x-ald-host-object"
118
#define ALD_LDAP_HOST_NAME "cn"
119
#define ALD_LDAP_HOST_DESC "description"
120
#define ALD_LDAP_HOST_FLAGS "x-ald-host-flags"
121
#define ALD_LDAP_SERVER_ID "x-ald-id"
122
125
#define ALD_LDAP_CONFIG_CLASS "objectClass=organizationalUnit"
127
#define ALD_LDAP_CONFIG_FNAME "ou=ald-config"
128
#define ALD_LDAP_CONFIG_BASE "ou=ald-config"
129
#define ALD_LDAP_TMSTMP_OCLASS "x-ald-timestamp-object"
130
#define ALD_LDAP_TMSTMP_CLASS "objectClass=x-ald-timestamp-object"
131
#define ALD_LDAP_TMSTMP_NAME "cn"
132
#define ALD_LDAP_TMSTMP_VALUE "x-ald-timestamp"
133
#define ALD_LDAP_SRV_TMSTMP_NAME "server-timestamp"
134
#define ALD_LDAP_CLNT_TMSTMP_NAME "client-timestamp"
135
#define ALD_LDAP_NO_TIMESTAMP "NO_TIMESTAMP"
136
139
#define ALD_LDAP_TASKSET_BASE "ou=tasks,ou=ald-config"
141
#define ALD_LDAP_TASKSET_CLASS "objectClass=x-ald-task-settings-object"
142
#define ALD_LDAP_TASKSET_FNAME "cn=task-settings"
143
#define ALD_LDAP_TASKSET_HISTORY "x-ald-task-history"
144
147
#define ALD_AGROUP_ADMINISTRATORS "administrators"
149
#define ALD_AGROUP_HOSTADDERS "hostadders"
150
#define ALD_LDAP_AGROUP_BASE "ou=ald-config"
151
#define ALD_LDAP_AGROUP_OCLASS "groupOfNames"
152
#define ALD_LDAP_AGROUP_CLASS "objectClass=groupOfNames"
153
#define ALD_LDAP_AGROUP_NAME "cn"
154
#define ALD_LDAP_AGROUP_DESC "description"
155
#define ALD_LDAP_AGROUP_MEMBER "member"
156
159
#define ALD_LDAP_TD_BASE "ou=trustedDomains"
161
#define ALD_LDAP_TD_OCLASS "x-ald-trusted-domain-object"
162
#define ALD_LDAP_TD_CLASS "objectClass=x-ald-trusted-domain-object"
163
#define ALD_LDAP_TD_NAME "cn"
164
#define ALD_LDAP_TD_KDC "host"
165
#define ALD_LDAP_TD_DESC "description"
166
#define ALD_LDAP_TD_DIR "x-ald-trust-direction"
167
170
#define ALD_LDAP_LOG_CONFIG "aldlog"
172
#define ALD_LDAP_LOG_CONFIG_CLASS "objectClass=olcALDLogConfig"
173
#define ALD_LDAP_LOG_CONFIG_FNAME "olcOverlay=aldlog"
174
#define ALD_LDAP_LOG_CONFIG_BASE "olcDatabase={1}hdb,cn=config"
175
#define ALD_LDAP_LOG_CONFIG_NAME "olcOverlay"
176
#define ALD_LDAP_LOG_CONFIG_DEST "olcALDLogFile"
177
#define ALD_LDAP_LOG_CONFIG_TPL "olcALDLogTpl"
178
181
#define ALD_LDAP_DOC_BASE "ou=documents,ou=ald-config"
183
#define ALD_LDAP_DOC_OCLASS "document"
184
#define ALD_LDAP_DOC_CLASS "objectClass=document"
185
#define ALD_LDAP_DOC_NAME "documentIdentifier"
186
#define ALD_LDAP_DOC_TITLE "documentTitle"
187
#define ALD_LDAP_DOC_VERSION "documentVersion"
188
#define ALD_LDAP_DOC_LOCATION "documentLocation"
189
#define ALD_LDAP_DOC_DESC "description"
190
191
#define ALD_LDAP_DOC_INTERNAL "ALD://LDAP"
192
195
#define ALD_LDAP_DOM_ORG "o"
197
#define ALD_LDAP_DOM_STATE "st"
198
#define ALD_LDAP_DOM_TEL "telephoneNumber"
199
#define ALD_LDAP_DOM_ADDR "postalAddress"
200
#define ALD_LDAP_DOM_DESC "description"
201
204
#define ALD_LDAP_CREATE_TIMESTAMP "createTimestamp"
206
#define ALD_LDAP_MODIFY_TIMESTAMP "modifyTimestamp"
207
#define ALD_LDAP_CREATORS_NAME "creatorsName"
208
#define ALD_LDAP_MODIFIERS_NAME "modifiersName"
209
210
#define ALD_LDAP_ALL_OBJECTS "(objectClass=*)"
211
#define ALD_LDAP_CLASS_FILTER(class) (string("(")+class+")").c_str()
212
213
#define ALD_ALDD_TIMESTAMP_NAME "aldd-timestamp"
214
216
218
219
#endif // ALD_LDAP_DEFINITIONS
src
include
ldap-definitions.h
Документация по Astra Linux Directory Client Core API. Последние изменения: Вт 7 Мар 2017 10:41:28. Создано системой
1.8.7