Skip to content

Commit

Permalink
Fix LDAP directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Apr 5, 2023
1 parent 7f415d6 commit bce2133
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/AuthLDAP.php
Expand Up @@ -176,6 +176,9 @@ public function post_getEmpty()
$this->fields['use_bind'] = 1;
$this->fields['picture_field'] = '';
$this->fields['responsible_field'] = '';
$this->fields['can_support_pagesize'] = 0;
$this->fields['pagesize'] = 0;
$this->fields['ldap_maxlimit'] = 0;
}


Expand Down
2 changes: 1 addition & 1 deletion tests/LDAP/AuthLdap.php
Expand Up @@ -130,7 +130,7 @@ public function testPost_getEmpty()
{
$ldap = new \AuthLDAP();
$ldap->post_getEmpty();
$this->array($ldap->fields)->hasSize(25);
$this->array($ldap->fields)->hasSize(28);
}

public function testUnsetUndisclosedFields()
Expand Down

0 comments on commit bce2133

Please sign in to comment.