blob: 09f03149eddc532d0863ec6587b25b4343f758a4 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Adldap\Schemas;
4
5class ActiveDirectory extends Schema
6{
7 /**
8 * {@inheritdoc}
9 */
10 public function distinguishedName()
11 {
12 return 'distinguishedname';
13 }
14
15 /**
16 * {@inheritdoc}
17 */
18 public function distinguishedNameSubKey()
19 {
20 return 0;
21 }
22
23 /**
24 * {@inheritdoc}
25 */
26 public function filterEnabled()
27 {
28 return '(!(UserAccountControl:1.2.840.113556.1.4.803:=2))';
29 }
30
31 /**
32 * {@inheritdoc}
33 */
34 public function filterDisabled()
35 {
36 return '(UserAccountControl:1.2.840.113556.1.4.803:=2)';
37 }
38
39 /**
40 * {@inheritdoc}
41 */
42 public function lockoutTime()
43 {
44 return 'lockouttime';
45 }
46
47 /**
48 * {@inheritdoc}
49 */
50 public function objectClassGroup()
51 {
52 return 'group';
53 }
54
55 /**
56 * {@inheritdoc}
57 */
58 public function objectClassOu()
59 {
60 return 'organizationalunit';
61 }
62
63 /**
64 * {@inheritdoc}
65 */
66 public function objectClassPerson()
67 {
68 return 'person';
69 }
70
71 /**
72 * {@inheritdoc}
73 */
74 public function objectGuid()
75 {
76 return 'objectguid';
77 }
78
79 /**
80 * {@inheritdoc}
81 */
82 public function objectGuidRequiresConversion()
83 {
84 return true;
85 }
86
87 /**
88 * {@inheritdoc}
89 */
90 public function objectCategory()
91 {
92 return 'objectcategory';
93 }
94}