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
b4b3103d
Commit
b4b3103d
authored
Aug 14, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Aug 14, 2014
Browse files
Fixes #3240 Fixed GenericDialogAttribute and UsersAttribute when store_attr is not dn
parent
77364b2c
Changes
1
Show whitespace changes
Inline
Side-by-side
include/simpleplugin/class_dialogAttributes.inc
View file @
b4b3103d
...
...
@@ -334,6 +334,7 @@ class GenericDialogAttribute extends DialogAttribute
if
(
$this
->
store_attr
==
'dn'
)
{
$ldap
->
cat
(
$value
,
$this
->
ldapAttributesToGet
());
}
else
{
$ldap
->
cd
(
$this
->
plugin
->
config
->
current
[
'BASE'
]);
$ldap
->
search
(
'('
.
$this
->
store_attr
.
'='
.
$value
.
')'
,
$this
->
ldapAttributesToGet
());
}
$this
->
fillDisplayValueFrom
(
$i
,
$ldap
->
fetch
());
...
...
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