Comments (8)
Can you see what is configured in $display_items ? This should list all attributes displayed.
Check also logs on LDAP server side.
from white-pages.
I didn't change it :
$display_items = array('firstname', 'lastname', 'title', 'businesscategory', 'employeenumber', 'employeetype', 'mail', 'phone', 'mobile', 'fax', 'postaladdress', 'street', 'postalcode', 'l', 'state', 'manager', 'secretary', 'organizationalunit', 'organization', 'description', 'memberof');
My config is above :
$lang = "fr";
$ldap_url = "MY SERVERS";
$ldap_binddn = "MY MANAGER";
$ldap_bindpw = "MY PASS";
$ldap_base = "MY BASE";
$ldap_user_base = "ou=utilisateurs,".$ldap_base;
$ldap_user_filter = "(objectClass=inetOrgPerson)";
$ldap_user_filter = "(objectClass=Person)";
$ldap_group_base = $ldap_user_base;
$ldap_group_filter = "(|(objectClass=group)(objectClass=posixGroup))";
$attributes_map = array(
...
'fullname' => array( 'attribute' => 'displayname', 'faclass' => 'user-circle', 'type' => 'text' ),
...
'office' => array( 'attribute' => 'physicalDeliveryOfficeName', 'faclass' => 'building', 'type' => 'text' ),
...
);
$search_result_items = array('mail', 'phone', 'office', 'memberof');
$debug = true;
$use_directory = false;
$use_gallery = false;
$use_vcard = false;
$use_csv = false;
from white-pages.
Why do you have twice $ldap_user_filter ?
from white-pages.
Sorry, I forgot it. But it doesn't fix my problem.
from white-pages.
Put your Apache logs and LDAP logs here so we can have a look
from white-pages.
I think I see the issue: your group base is the same than your user base. White pages uses it to match againts the entry DN to know which kind of object it is.
Set a different group base.
from white-pages.
Hi @coudot,
Thanks a lot for your help.
The problem is solved.
from white-pages.
Great!
from white-pages.
Related Issues (20)
- back image instead of default image on gallery when some fields are missing HOT 9
- [WP 0.3] modify the sort results HOT 5
- [WP 0.3] Difficulties to display jpegPhoto HOT 2
- [WP 0.3] Problem with vCard export HOT 7
- Bad value displayed when attribute type is a list HOT 7
- Backup files are loaded as config in lang/
- Login Logout pages HOT 1
- WP not connecting to my ldap server HOT 5
- WP incompatible with PHP 8+ (ldap_sort) HOT 5
- Split debug and debug_smarty
- Provide CSS map files for minified version
- RFE: Only display white pages to authenticated LDAP users HOT 4
- Manage "bytes" attributes
- Feature Request : Negations
- Move documentation in sources HOT 1
- how to use without php-gd HOT 5
- Feature request : Is it possible display Org Chart HOT 4
- Configure cache dir and template cache dir HOT 1
- 404 on bootstrap-datepicker.en.min.js HOT 1
- slow performance on ldap with ssl HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from white-pages.