Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
9c77dcf5
Commit
9c77dcf5
authored
Mar 18, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
Mar 18, 2015
Browse files
Fixes #3397 Refuses users if ppolicy is activated and they can’t search the base
parent
a593d18e
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/functions.inc
View file @
9c77dcf5
...
...
@@ -709,6 +709,12 @@ function ldap_login_user ($username, $password)
if
(
!
$ldap
->
success
())
{
return
NULL
;
}
if
(
class_available
(
'ppolicyAccount'
))
{
$ldap
->
ls
(
'(objectClass=*)'
,
$config
->
current
[
'BASE'
]);
if
(
!
$ldap
->
success
())
{
return
NULL
;
}
}
/* Username is set, load subtreeACL's now */
$ui
->
loadACL
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment