Skip to content

Commit bce2133

Browse files
authored
Fix LDAP directory creation
1 parent 7f415d6 commit bce2133

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/AuthLDAP.php

+3
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ public function post_getEmpty()
176176
$this->fields['use_bind'] = 1;
177177
$this->fields['picture_field'] = '';
178178
$this->fields['responsible_field'] = '';
179+
$this->fields['can_support_pagesize'] = 0;
180+
$this->fields['pagesize'] = 0;
181+
$this->fields['ldap_maxlimit'] = 0;
179182
}
180183

181184

tests/LDAP/AuthLdap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function testPost_getEmpty()
130130
{
131131
$ldap = new \AuthLDAP();
132132
$ldap->post_getEmpty();
133-
$this->array($ldap->fields)->hasSize(25);
133+
$this->array($ldap->fields)->hasSize(28);
134134
}
135135

136136
public function testUnsetUndisclosedFields()

0 commit comments

Comments
 (0)