Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

694 lines
22 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. NdsAttr.h
  5. Abstract:
  6. This module defines NDS Class names and NDS Attributes supported by
  7. the NDS object manipulation API found in Nds32.h.
  8. Author:
  9. Glenn Curtis [GlennC] 15-Dec-1995
  10. --*/
  11. #ifndef __NDSATTR_H
  12. #define __NDSATTR_H
  13. /**************************************************/
  14. /* Supported NetWare Directory Service Attributes */
  15. /**************************************************/
  16. /*
  17. Account Balance:
  18. Single valued, nonremovable, sync immediate (4.1)
  19. (Counter)
  20. */
  21. #define ACCOUNT_BALANCE_name L"Account Balance"
  22. #define ACCOUNT_BALANCE_syntax NDS_SYNTAX_ID_22
  23. #define NDS_ACCOUNT_BALANCE ACCOUNT_BALANCE_name,ACCOUNT_BALANCE_syntax
  24. /*
  25. ACL:
  26. Multivalued, nonremovable, Sync Immediate (4.1)
  27. (Object ACL)
  28. */
  29. #define ACL_name L"ACL"
  30. #define ACL_syntax NDS_SYNTAX_ID_17
  31. #define NDS_ACL ACL_name,ACL_syntax
  32. /*
  33. Aliased Object Name:
  34. Single valued, nonremovable, sync immediate (4.1)
  35. (Distinguished Name)
  36. */
  37. #define ALIASED_OBJECT_NAME_name L"Aliased Object Name"
  38. #define ALIASED_OBJECT_NAME_syntax NDS_SYNTAX_ID_1
  39. #define NDS_ALIASED_OBJECT_NAME ALIASED_OBJECT_NAME_name,ALIASED_OBJECT_NAME_syntax
  40. /*
  41. Allow Unlimited Credit:
  42. Single valued, nonremovable, sync immediate (4.1)
  43. (Boolean)
  44. */
  45. #define ALLOW_UNLIMITED_CREDIT_name L"Allow Unlimited Credit"
  46. #define ALLOW_UNLIMITED_CREDIT_syntax NDS_SYNTAX_ID_7
  47. #define NDS_ALLOW_UNLIMITED_CREDIT ALLOW_UNLIMITED_CREDIT_name,ALLOW_UNLIMITED_CREDIT_syntax
  48. /*
  49. Authority Revocation:
  50. Single valued, nonremovable, read only, sync immediate (4.1)
  51. (Octet String)
  52. */
  53. #define AUTHORITY_REVOCATION_name L"Authority Revocation"
  54. #define AUTHORITY_REVOCATION_syntax NDS_SYNTAX_ID_9
  55. #define NDS_AUTHORITY_REVOCATION AUTHORITY_REVOCATION_name,AUTHORITY_REVOCATION_syntax
  56. /*
  57. Back Link:
  58. Single valued, nonremovable, read only
  59. (Back Link)
  60. */
  61. #define BACK_LINK_name L"Back Link"
  62. #define BACK_LINK_syntax NDS_SYNTAX_ID_23
  63. #define NDS_BACK_LINK BACK_LINK_name,BACK_LINK_syntax
  64. /*
  65. Bindery Object Restriction:
  66. Single valued, nonremovable, read only
  67. (Integer)
  68. */
  69. #define BINDERY_OBJECT_RESTRICTION_name L"Bindery Object Restriction"
  70. #define BINDERY_OBJECT_RESTRICTION_syntax NDS_SYNTAX_ID_8
  71. #define NDS_BINDERY_OBJECT_RESTRICTION BINDERY_OBJECT_RESTRICTION_name,BINDERY_OBJECT_RESTRICTION_syntax
  72. /*
  73. Bindery Property:
  74. Multivalued, nonremovable, read only
  75. (Octet String)
  76. */
  77. #define BINDERY_PROPERTY_name L"Bindery Property"
  78. #define BINDERY_PROPERTY_syntax NDS_SYNTAX_ID_9
  79. #define NDS_BINDERY_PROPERTY BINDERY_PROPERTY_name,BINDERY_PROPERTY_syntax
  80. /*
  81. Bindery Type:
  82. Single valued, nonremovable, read only
  83. (Numeric String)
  84. */
  85. #define BINDERY_TYPE_name L"Bindery Type"
  86. #define BINDERY_TYPE_syntax NDS_SYNTAX_ID_5
  87. #define NDS_BINDERY_TYPE BINDERY_TYPE_name,BINDERY_TYPE_syntax
  88. /*
  89. C (Country):
  90. Single valued, nonremovable, sized attr (2,2), sync immediate (4.1)
  91. (Case Ignore String)
  92. */
  93. #define COUNTRY_NAME_name L"C"
  94. #define COUNTRY_NAME_syntax NDS_SYNTAX_ID_3
  95. #define NDS_COUNTRY_NAME COUNTRY_NAME_name,COUNTRY_NAME_syntax
  96. /*
  97. CA Private Key:
  98. Single valued, nonremovable, sync immediate, hidden, read only
  99. (Octet String)
  100. */
  101. #define CA_PRIVATE_KEY_name L"CA Private Key"
  102. #define CA_PRIVATE_KEY_syntax NDS_SYNTAX_ID_9
  103. #define NDS_CA_PRIVATE_KEY CA_PRIVATE_KEY_name,CA_PRIVATE_KEY_syntax
  104. /*
  105. CA Public Key:
  106. Single valued, nonremovable, sync immediate, public read, read only
  107. (Octet String)
  108. */
  109. #define CA_PUBLIC_KEY_name L"CA Public Key"
  110. #define CA_PUBLIC_KEY_syntax NDS_SYNTAX_ID_9
  111. #define NDS_CA_PUBLIC_KEY CA_PUBLIC_KEY_name,CA_PUBLIC_KEY_syntax
  112. /*
  113. Cartridge:
  114. Multivalued, nonremovable, sync immediate (4.1)
  115. (Case Ignore String)
  116. */
  117. #define CARTRIDGE_name L"Cartridge"
  118. #define CARTRIDGE_syntax NDS_SYNTAX_ID_3
  119. #define NDS_CARTRIDGE CARTRIDGE_name,CARTRIDGE_syntax
  120. /*
  121. Certificate Revocation:
  122. Single valued, nonremovable, sync immediate (4.1), read only
  123. (Octet String)
  124. */
  125. #define CERTIFICATE_REVOCATION_name L"Certificate Revocation"
  126. #define CERTIFICATE_REVOCATION_syntax NDS_SYNTAX_ID_9
  127. #define NDS_CERTIFICATE_REVOCATION CERTIFICATE_REVOCATION_name,CERTIFICATE_REVOCATION_syntax
  128. /*
  129. CN (Common Name):
  130. Multivalued, nonremovable, sized attr (1..64), sync immediate (4.1)
  131. (Case Ignore String)
  132. */
  133. #define COMMON_NAME_name L"CN"
  134. #define COMMON_NAME_syntax NDS_SYNTAX_ID_3
  135. #define NDS_COMMON_NAME COMMON_NAME_name,COMMON_NAME_syntax
  136. /*
  137. Convergence:
  138. Single valued, nonremovable, sized attr (0,1), sync immediate (4.1)
  139. (Integer)
  140. */
  141. #define CONVERGENCE_name L"Convergence"
  142. #define CONVERGENCE_syntax NDS_SYNTAX_ID_8
  143. #define NDS_CONVERGENCE CONVERGENCE_name,CONVERGENCE_syntax
  144. /*
  145. Cross Certificate Pair:
  146. Multivalued, nonremovable, sync immediate (4.1)
  147. (Octet String)
  148. */
  149. #define CROSS_CERTIFICATE_PAIR_name L"Cross Certificate Pair"
  150. #define CROSS_CERTIFICATE_PAIR_syntax NDS_SYNTAX_ID_9
  151. #define NDS_CROSS_CERTIFICATE_PAIR CROSS_CERTIFICATE_PAIR_name,CROSS_CERTIFICATE_PAIR_syntax
  152. /*
  153. Default Queue:
  154. Single valued, nonremovable, server read, sync immediate (4.1)
  155. (Distinguished Name)
  156. */
  157. #define DEFAULT_QUEUE_name L"Default Queue"
  158. #define DEFAULT_QUEUE_syntax NDS_SYNTAX_ID_1
  159. #define NDS_DEFAULT_QUEUE DEFAULT_QUEUE_name,DEFAULT_QUEUE_syntax
  160. /*
  161. Description:
  162. Multivalued, nonremovable, sized attr (1..1024), sync immediate (4.1)
  163. (Case Ignore String)
  164. */
  165. #define DESCRIPTION_name L"Description"
  166. #define DESCRIPTION_syntax NDS_SYNTAX_ID_3
  167. #define NDS_DESCRIPTION DESCRIPTION_name,DESCRIPTION_syntax
  168. /*
  169. Detect Intruder:
  170. Single valued, nonremovable, sync immediate (4.1)
  171. (Boolean)
  172. */
  173. #define DETECT_INTRUDER_name L"Detect Intruder"
  174. #define DETECT_INTRUDER_syntax NDS_SYNTAX_ID_
  175. #define NDS_DETECT_INTRUDER DETECT_INTRUDER_name,DETECT_INTRUDER_syntax
  176. /*
  177. Device:
  178. Multivalued, nonremovable, sync immediate (4.1)
  179. (Distinguished Name)
  180. */
  181. #define DEVICE_name L"Device"
  182. #define DEVICE_syntax NDS_SYNTAX_ID_1
  183. #define NDS_DEVICE DEVICE_name,DEVICE_syntax
  184. /*
  185. EMail Address:
  186. Multivalued, nonremovable, public read, sync immediate (4.1)
  187. (EMail Address)
  188. */
  189. #define EMAIL_ADDRESS_name L"EMail Address"
  190. #define EMAIL_ADDRESS_syntax NDS_SYNTAX_ID_14
  191. #define NDS_EMAIL_ADDRESS EMAIL_ADDRESS_name,EMAIL_ADDRESS_syntax
  192. /*
  193. Equivalent To Me:
  194. Multivalued, nonremovable, server read, sync immediate
  195. (Distinguished Name)
  196. */
  197. #define EQUIVALENT_TO_ME_name L"Equivelent To Me"
  198. #define EQUIVALENT_TO_ME_syntax NDS_SYNTAX_ID_1
  199. #define NDS_EQUIVALENT_TO_ME EQUIVALENT_TO_ME_name,EQUIVALENT_TO_ME_syntax
  200. /*
  201. Facsimile Telephone Number:
  202. Multivalued, nonremovable, sync immediate (4.1)
  203. (Facsimile Telephone Number)
  204. */
  205. #define FAX_NUMBER_name L"Facsimile Telephone Number"
  206. #define FAX_NUMBER_syntax NDS_SYNTAX_ID_11
  207. #define NDS_FAX_NUMBER FAX_NUMBER_name,FAX_NUMBER_syntax
  208. /*
  209. Full Name:
  210. Multivalued, nonremovable, sized attr (0..127), sync immediate (4.1)
  211. (Case Ignore String)
  212. */
  213. #define FULL_NAME_name L"Full Name"
  214. #define FULL_NAME_syntax NDS_SYNTAX_ID_3
  215. #define NDS_FULL_NAME FULL_NAME_name,FULL_NAME_syntax
  216. /*
  217. Generational Qualifier:
  218. Single valued, nonremovable, public read, sized attr (1..8), sync immediate
  219. (Case Ignore String)
  220. */
  221. #define GENERATIONAL_QUALIFIER_name L"Generational Qualifier"
  222. #define GENERATIONAL_QUALIFIER_syntax NDS_SYNTAX_ID_3
  223. #define NDS_GENERATIONAL_QUALIFIER GENERATIONAL_QUALIFIER_name,GENERATIONAL_QUALIFIER_syntax
  224. /*
  225. GID (Group ID):
  226. Single valued, nonremovable, sync immediate (4.1)
  227. (Integer)
  228. */
  229. #define GROUP_ID_name L"GID"
  230. #define GROUP_ID_syntax NDS_SYNTAX_ID_8
  231. #define GROUP_ID GROUP_ID_name,GROUP_ID_syntax
  232. /*
  233. Given Name:
  234. Single valued, nonremovable, public read (4.1), sized attr (1..32),
  235. sync immediate
  236. (Case Ignore String)
  237. */
  238. #define GIVEN_NAME_name L"Given Name"
  239. #define GIVEN_NAME_syntax NDS_SYNTAX_ID_3
  240. #define NDS_GIVEN_NAME GIVEN_NAME_name,GIVEN_NAME_syntax
  241. /*
  242. Group Membership:
  243. Multivalued, nonremovable, sync immediate, write managed
  244. (Distinguished Name)
  245. */
  246. #define GROUP_MEMBERSHIP_name L"Group Membership"
  247. #define GROUP_MEMBERSHIP_syntax NDS_SYNTAX_ID_1
  248. #define NDS_GROUP_MEMBERSHIP GROUP_MEMBERSHIP_name,GROUP_MEMBERSHIP_syntax
  249. /*
  250. High Convergence Sync Interval:
  251. Single valued, nonremovable, sync immediate (4.1)
  252. (Interval)
  253. */
  254. #define HIGH_CON_SYNC_INTERVAL_name L"High Convergence Sync Interval"
  255. #define HIGH_CON_SYNC_INTERVAL_syntax NDS_SYNTAX_ID_27
  256. #define NDS_HIGH_CON_SYNC_INTERVAL HIGH_CON_SYNC_INTERVAL_name,HIGH_CON_SYNC_INTERVAL_syntax
  257. /*
  258. Higher Privileges:
  259. Multivalued, nonremovable, sync immediate, write managed
  260. (Distinguished Name)
  261. */
  262. #define HIGHER_PRIVILEGES_name L"Higher Privileges"
  263. #define HIGHER_PRIVILEGES_syntax NDS_SYNTAX_ID_1
  264. #define NDS_HIGHER_PRIVILEGES HIGHER_PRIVILEGES_name,HIGHER_PRIVILEGES_syntax
  265. /*
  266. Home Directory:
  267. Single valued, nonremovable, sized attr (1..255), sync immediate (4.1)
  268. (Path)
  269. */
  270. #define HOME_DIRECTORY_name L"Home Directory"
  271. #define HOME_DIRECTORY_syntax NDS_SYNTAX_ID_15
  272. #define NDS_HOME_DIRECTORY HOME_DIRECTORY_name,HOME_DIRECTORY_syntax
  273. /*
  274. Host Device:
  275. Single valued, nonremovable, sync immediate (4.1)
  276. (Distinguished Name)
  277. */
  278. #define HOST_DEVICE_name L"Host Device"
  279. #define HOST_DEVICE_syntax NDS_SYNTAX_ID_1
  280. #define NDS_HOST_DEVICE HOST_DEVICE_name,HOST_DEVICE_syntax
  281. /*
  282. Host Resource Name:
  283. Single valued, nonremovable, sync immediate (4.1)
  284. (Case Ignore String)
  285. */
  286. #define HOST_RESOURCE_NAME_name L"Host Resource Name"
  287. #define HOST_RESOURCE_NAME_syntax NDS_SYNTAX_ID_3
  288. #define NDS_HOST_RESOURCE_NAME HOST_RESOURCE_NAME_name,HOST_RESOURCE_NAME_syntax
  289. /*
  290. Host Server:
  291. Single valued, nonremovable, sync immediate (4.1)
  292. (Distinguished Name)
  293. */
  294. #define HOST_SERVER_name L"Host Server"
  295. #define HOST_SERVER_syntax NDS_SYNTAX_ID_1
  296. #define NDS_HOST_SERVER HOST_SERVER_name,HOST_SERVER_syntax
  297. /*
  298. Inherited ACL:
  299. Multivalued, nonremovable, read only, sync immediate (4.1)
  300. (Object ACL)
  301. */
  302. #define INHERITED_ACL_name L"Inherited ACL"
  303. #define INHERITED_ACL_syntax NDS_SYNTAX_ID_17
  304. #define NDS_INHERITED_ACL INHERITED_ACL_name,INHERITED_ACL_syntax
  305. /*
  306. Initials:
  307. Single valued, nonremovable, public read, sized attr (1..8), sync immediate
  308. (Case Ignore String)
  309. */
  310. #define INITIALS_name L"Initials"
  311. #define INITIALS_syntax NDS_SYNTAX_ID_3
  312. #define NDS_INITIALS INITIALS_name,INITIALS_syntax
  313. /*
  314. Intruder Attempt Reset Interval:
  315. Single valued, nonremovable, sync immediate (4.1)
  316. (Interval)
  317. */
  318. #define INTRUDER_ATTEMPT_RESET_INTERVAL_name L"Intruder Attempt Reset Interval"
  319. #define INTRUDER_ATTEMPT_RESET_INTERVAL_syntax NDS_SYNTAX_ID_27
  320. #define NDS_INTRUDER_ATTEMPT_RESET_INTERVAL INTRUDER_ATTEMPT_RESET_INTERVAL_name,INTRUDER_ATTEMPT_RESET_INTERVAL_syntax
  321. /*
  322. Intruder Lockout Reset Interval:
  323. Single valued, nonremovable, sync immediate (4.1)
  324. (Interval)
  325. */
  326. #define INTRUDER_LOCKOUT_RESET_INTERVAL_name L"Intruder Lockout Reset Interval"
  327. #define INTRUDER_LOCKOUT_RESET_INTERVAL_syntax NDS_SYNTAX_ID_27
  328. #define NDS_INTRUDER_LOCKOUT_RESET_INTERVAL INTRUDER_LOCKOUT_RESET_INTERVAL_name,INTRUDER_LOCKOUT_RESET_INTERVAL_syntax
  329. /*
  330. L (Locality):
  331. Multi valued, nonremovable, sync immediate (4.1)
  332. (Case Ignore String)
  333. */
  334. #define LOCALITY_NAME_name L"L"
  335. #define LOCALITY_NAME_syntax NDS_SYNTAX_ID_3
  336. #define NDS_LOCALITY_NAME LOCALITY_NAME_name,LOCALITY_NAME_syntax
  337. /*
  338. Language:
  339. Single valued, nonremovable, sync immediate (4.1)
  340. (Case Ignore List)
  341. */
  342. #define LANGUAGE_name L"Language"
  343. #define LANGUAGE_syntax NDS_SYNTAX_ID_6
  344. #define NDS_LANGUAGE LANGUAGE_name,LANGUAGE_syntax
  345. /*
  346. Login Allowed Time Map:
  347. A 42 byte buffer (6 Time Intervals X 7 Days)
  348. 1 Time Interval = 1 Byte = 4 Hours
  349. First Byte = Saturday, 4:00 PM
  350. If Byte = 0xFF, then access is allowed (4 hrs).
  351. If Byte = 0x00, then access is not allowed (4 hrs).
  352. Each bit represents a 1/2 hour time interval.
  353. Single valued, nonremovable, sized attr (42,42), sync immediate (4.1)
  354. (Octet String)
  355. */
  356. #define LOGIN_ALLOWED_TIME_MAP_name L"Login Allowed Time Map"
  357. #define LOGIN_ALLOWED_TIME_MAP_syntax NDS_SYNTAX_ID_9
  358. #define NDS_LOGIN_ALLOWED_TIME_MAP LOGIN_ALLOWED_TIME_MAP_name,LOGIN_ALLOWED_TIME_MAP_syntax
  359. /*
  360. Login Disabled:
  361. Single valued, nonremovable, sync immediate (4.1)
  362. (Boolean)
  363. */
  364. #define LOGIN_DISABLED_name L"Login Disabled"
  365. #define LOGIN_DISABLED_syntax NDS_SYNTAX_ID_7
  366. #define NDS_LOGIN_DISABLED LOGIN_DISABLED_name,LOGIN_DISABLED_syntax
  367. /*
  368. Login Expiration Time:
  369. Single valued, nonremovable, sync immediate (4.1)
  370. (Time)
  371. */
  372. #define LOGIN_EXPIRATION_TIME_name L"Login Expiration Time"
  373. #define LOGIN_EXPIRATION_TIME_syntax NDS_SYNTAX_ID_24
  374. #define NDS_LOGIN_EXPIRATION_TIME LOGIN_EXPIRATION_TIME_name,LOGIN_EXPIRATION_TIME_syntax
  375. /*
  376. Login Grace Limit:
  377. Single valued, nonremovable, sync immediate (4.1)
  378. (Integer)
  379. */
  380. #define LOGIN_GRACE_LIMIT_name L"Login Grace Limit"
  381. #define LOGIN_GRACE_LIMIT_syntax NDS_SYNTAX_ID_8
  382. #define NDS_LOGIN_GRACE_LIMIT LOGIN_GRACE_LIMIT_name,LOGIN_GRACE_LIMIT_syntax
  383. /*
  384. Login Grace Remaining:
  385. Single valued, nonremovable, sync immediate (4.1)
  386. (Counter)
  387. */
  388. #define LOGIN_GRACE_REMAINING_name L"Login Grace Remaining"
  389. #define LOGIN_GRACE_REMAINING_syntax NDS_SYNTAX_ID_22
  390. #define NDS_LOGIN_GRACE_REMAINING LOGIN_GRACE_REMAINING_name,LOGIN_GRACE_REMAINING_syntax
  391. /*
  392. Login Maximum Simultaneous:
  393. Single valued, nonremovable, sync immediate (4.1)
  394. (Integer)
  395. */
  396. #define LOGIN_MAXIMUM_SIMULTANEOUS_name L"Login Maximum Simultaneous"
  397. #define LOGIN_MAXIMUM_SIMULTANEOUS_syntax NDS_SYNTAX_ID_8
  398. #define NDS_LOGIN_MAXIMUM_SIMULTANEOUS LOGIN_MAXIMUM_SIMULTANEOUS_name,LOGIN_MAXIMUM_SIMULTANEOUS_syntax
  399. /*
  400. Mailbox Id:
  401. Single valued, nonremovable, public read, sized attr (1..8), sync immediate
  402. (Case Ignore String)
  403. */
  404. #define MAILBOX_ID_name L"Mailbox ID"
  405. #define MAILBOX_ID_syntax NDS_SYNTAX_ID_3
  406. #define NDS_MAILBOX_ID MAILBOX_ID_name,MAILBOX_ID_syntax
  407. /*
  408. Member:
  409. Multivalued, nonremovable, sync immediate (4.1)
  410. (Distinguished Name)
  411. */
  412. #define MEMBER_name L"Member"
  413. #define MEMBER_syntax NDS_SYNTAX_ID_1
  414. #define NDS_MEMBER MEMBER_name,MEMBER_syntax
  415. /*
  416. Messaging Server:
  417. Multivalued, nonremovable, sync immediate
  418. (Distinguished Name)
  419. */
  420. #define MESSAGING_SERVER_name L"Messaging Server"
  421. #define MESSAGING_SERVER_syntax NDS_SYNTAX_ID_1
  422. #define NDS_MESSAGING_SERVER MESSAGING_SERVER_name,MESSAGING_SERVER_syntax
  423. /*
  424. Minimum Accout Balance:
  425. Single valued, nonremovable, sync immediate (4.1)
  426. (Integer)
  427. */
  428. #define MINIMUM_ACCOUNT_BALANCE_name L"Minimum Account Balance"
  429. #define MINIMUM_ACCOUNT_BALANCE_syntax NDS_SYNTAX_ID_8
  430. #define NDS_MINIMUM_ACCOUNT_BALANCE MINIMUM_ACCOUNT_BALANCE_name,MINIMUM_ACCOUNT_BALANCE_syntax
  431. /*
  432. O (Organization):
  433. Multivalued, nonremovable, sized attr (1..64), sync immediate (4.1)
  434. (Case Ignore String)
  435. */
  436. #define ORGANIZATION_NAME_name L"O"
  437. #define ORGANIZATION_NAME_syntax NDS_SYNTAX_ID_3
  438. #define NDS_ORGANIZATION_NAME ORGANIZATION_NAME_name,ORGANIZATION_NAME_syntax
  439. /*
  440. Object Class:
  441. Multivalued, nonremovable, read only, sync immediate (4.1)
  442. (Class Name)
  443. */
  444. #define OBJECT_CLASS_name L"Object Class"
  445. #define OBJECT_CLASS_syntax NDS_SYNTAX_ID_20
  446. #define NDS_OBJECT_CLASS OBJECT_CLASS_name,OBJECT_CLASS_syntax
  447. /*
  448. OU (Organizational Unit):
  449. Multivalued, nonremovable, sized attr (1..64), sync immediate (4.1)
  450. (Case Ignore String)
  451. */
  452. #define ORGANIZATIONAL_UNIT_NAME_name L"OU"
  453. #define ORGANIZATIONAL_UNIT_NAME_syntax NDS_SYNTAX_ID_3
  454. #define NDS_ORGANIZATIONAL_UNIT_NAME ORGANIZATIONAL_UNIT_NAME_name,ORGANIZATIONAL_UNIT_NAME_syntax
  455. /*
  456. Owner:
  457. Multivalued, nonremovable, sync immediate (4.1)
  458. (Distinguished Name)
  459. */
  460. #define OWNER_name L"Owner"
  461. #define OWNER_syntax NDS_SYNTAX_ID_1
  462. #define NDS_OWNER OWNER_name,OWNER_syntax
  463. /*
  464. Password Allow Change:
  465. Single valued, nonremovable, sync immediate (4.1)
  466. (Boolean)
  467. */
  468. #define PASSWORD_ALLOW_CHANGE_name L"Password Allow Change"
  469. #define PASSWORD_ALLOW_CHANGE_syntax NDS_SYNTAX_ID_7
  470. #define NDS_PASSWORD_ALLOW_CHANGE PASSWORD_ALLOW_CHANGE_name,PASSWORD_ALLOW_CHANGE_syntax
  471. /*
  472. Password Expiration Interval:
  473. Single valued, nonremovable, sync immediate (4.1)
  474. (Interval)
  475. */
  476. #define PASSWORD_EXPIRATION_INTERVAL_name L"Password Expiration Interval"
  477. #define PASSWORD_EXPIRATION_INTERVAL_syntax NDS_SYNTAX_ID_27
  478. #define NDS_PASSWORD_EXPIRATION_INTERVAL PASSWORD_EXPIRATION_INTERVAL_name,PASSWORD_EXPIRATION_INTERVAL_syntax
  479. /*
  480. Password Expiration Time:
  481. Single valued, nonremovable, sync immediate (4.1)
  482. (Time)
  483. */
  484. #define PASSWORD_EXPIRATION_TIME_name L"Password Expiration Time"
  485. #define PASSWORD_EXPIRATION_TIME_syntax NDS_SYNTAX_ID_24
  486. #define NDS_PASSWORD_EXPIRATION_TIME PASSWORD_EXPIRATION_TIME_name,PASSWORD_EXPIRATION_TIME_syntax
  487. /*
  488. Password Minimun Length:
  489. Single valued, nonremovable, sync immediate (4.1)
  490. (Integer)
  491. */
  492. #define PASSWORD_MINIMUM_LENGTH_name L"Password Minimum Length"
  493. #define PASSWORD_MINIMUM_LENGTH_syntax NDS_SYNTAX_ID_8
  494. #define NDS_PASSWORD_MINIMUM_LENGTH PASSWORD_MINIMUM_LENGTH_name,PASSWORD_MINIMUM_LENGTH_syntax
  495. /*
  496. Password Required:
  497. Single valued, nonremovable, sync immediate (4.1)
  498. (Boolean)
  499. */
  500. #define PASSWORD_REQUIRED_name L"Password Required"
  501. #define PASSWORD_REQUIRED_syntax NDS_SYNTAX_ID_7
  502. #define NDS_PASSWORD_REQUIRED PASSWORD_REQUIRED_name,PASSWORD_REQUIRED_syntax
  503. /*
  504. Password Unique Required:
  505. Single valued, nonremovable, sync immediate (4.1)
  506. (Boolean)
  507. */
  508. #define PASSWORD_UNIQUE_REQUIRED_name L"Password Unique Required"
  509. #define PASSWORD_UNIQUE_REQUIRED_syntax NDS_SYNTAX_ID_7
  510. #define NDS_PASSWORD_UNIQUE_REQUIRED PASSWORD_UNIQUE_REQUIRED_name,PASSWORD_UNIQUE_REQUIRED_syntax
  511. /*
  512. Physical Delivery Office Name:
  513. Multivalued, nonremovable, sized attr (1..128), sync immediate (4.1)
  514. (Case Ignore String)
  515. */
  516. #define CITY_NAME_name L"Physical Delivery Office Name"
  517. #define CITY_NAME_syntax NDS_SYNTAX_ID_3
  518. #define NDS_PHYSICAL_DELIVERY_OFFICE_NAME CITY_NAME_name,CITY_NAME_syntax
  519. /*
  520. Postal Address:
  521. Multivalued, nonremovable, sync immediate (4.1)
  522. (Postal Address)
  523. */
  524. #define POSTAL_ADDRESS_name L"Postal Address"
  525. #define POSTAL_ADDRESS_syntax NDS_SYNTAX_ID_18
  526. #define NDS_POSTAL_ADDRESS POSTAL_ADDRESS_name,POSTAL_ADDRESS_syntax
  527. /*
  528. Postal Code:
  529. Multivalued, nonremovable, sized attr (0..40), sync immediate (4.1)
  530. (Case Ignore String)
  531. */
  532. #define POSTAL_CODE_name L"Postal Code"
  533. #define POSTAL_CODE_syntax NDS_SYNTAX_ID_3
  534. #define NDS_POSTAL_CODE POSTAL_CODE_name,POSTAL_CODE_syntax
  535. /*
  536. Postal Office Box:
  537. Multivalued, nonremovable, sized attr (0..40), sync immediate (4.1)
  538. (Case Ignore String)
  539. */
  540. #define POSTAL_OFFICE_BOX_name L"Postal Office Box"
  541. #define POSTAL_OFFICE_BOX_syntax NDS_SYNTAX_ID_3
  542. #define NDS_POSTAL_OFFICE_BOX POSTAL_OFFICE_BOX_name,POSTAL_OFFICE_BOX_syntax
  543. /*
  544. Profile:
  545. Single valued, nonremovable, sync immediate (4.1)
  546. (Distinguished Name)
  547. */
  548. #define PROFILE_name L"Profile"
  549. #define PROFILE_syntax NDS_SYNTAX_ID_1
  550. #define NDS_PROFILE PROFILE_name,PROFILE_syntax
  551. /*
  552. S (State Or Province):
  553. Multivalued, nonremovable, sized attr (1..128), sync immediate (4.1)
  554. (Case Ignore String)
  555. */
  556. #define STATE_OR_PROVINCE_NAME_name L"S"
  557. #define STATE_OR_PROVINCE_NAME_syntax NDS_SYNTAX_ID_3
  558. #define NDS_STATE_OR_PROVINCE_NAME STATE_OR_PROVINCE_NAME_name,STATE_OR_PROVINCE_NAME_syntax
  559. /*
  560. SA (Street Address):
  561. Multivalued, nonremovable, sized attr (1..128), sync immediate (4.1)
  562. (Case Ignore String)
  563. */
  564. #define STREET_ADDRESS_name L"SA"
  565. #define STREET_ADDRESS_syntax NDS_SYNTAX_ID_3
  566. #define NDS_STREET_ADDRESS STREET_ADDRESS_name,STREET_ADDRESS_syntax
  567. /*
  568. Security Equals:
  569. Multivalued, nonremovable, server read, write managed, sync immediate
  570. (Distinguished Name)
  571. */
  572. #define SECURITY_EQUALS_name L"Security Equals"
  573. #define SECURITY_EQUALS_syntax NDS_SYNTAX_ID_1
  574. #define NDS_SECURITY_EQUALS SECURITY_EQUALS_name,SECURITY_EQUALS_syntax
  575. /*
  576. See Also:
  577. Multivalued, nonremovable, sync immediate (4.1)
  578. (Distinguished Name)
  579. */
  580. #define SEE_ALSO_name L"See Also"
  581. #define SEE_ALSO_syntax NDS_SYNTAX_ID_1
  582. #define NDS_SEE_ALSO SEE_ALSO_name,SEE_ALSO_syntax
  583. /*
  584. Surname:
  585. Multivalued, nonremovable, sized attr (1..64), sync immediate (4.1)
  586. (Case Ignore String)
  587. */
  588. #define SURNAME_name L"Surname"
  589. #define SURNAME_syntax NDS_SYNTAX_ID_3
  590. #define NDS_SURNAME SURNAME_name,SURNAME_syntax
  591. /*
  592. Telephone Number:
  593. Multivalued, nonremovable, sync immediate (4.1)
  594. (Telephone Number)
  595. */
  596. #define PHONE_NUMBER_name L"Telephone Number"
  597. #define PHONE_NUMBER_syntax NDS_SYNTAX_ID_10
  598. #define NDS_PHONE_NUMBER PHONE_NUMBER_name,PHONE_NUMBER_syntax
  599. /*
  600. Title:
  601. Multivalued, nonremovable, sized attr (1..64), sync immediate (4.1)
  602. (Case Ignore String)
  603. */
  604. #define TITLE_name L"Title"
  605. #define TITLE_syntax NDS_SYNTAX_ID_3
  606. #define NDS_TITLE TITLE_name,TITLE_syntax
  607. #endif