Hi.

I'm discovering that module that look's being exactly what we (a french academic library) need.

I've configure a LDAP query but I can't find it into views, even after reading others issues about that.

Should somebody tell me how exactly get a LDAP query being usable into views ? Is there a screencast or something like that somewhere ?
Any help welcome.

Best
D.

CommentFileSizeAuthor
#5 people_directory.png308.32 KBpxljedi

Comments

johnbarclay’s picture

LDAP Query and LDAP Views are fairly new modules. Both could use some documentation at http://drupal.org/node/997082. If anyone has any docs or insight into this, please add a page. My understanding is ldap views should work just like any other views. Be sure to use the current dev version and not the past beta.

dbourrion’s picture

Hi

I'm on the dev version, but still unable to understand how to get my queries into views :( ;)

michaelfavia’s picture

Title: Query and views » LDAP Views Integration Configuration Confusion
Status: Active » Closed (fixed)

@dbourrion: im just picking this ldap views integration up myself and judging by the timestamp on your comment youve probably moved on but here it is for prosperity.

Form what i can tell you need to create a new view with a basetable of type LDAP. Then you select the LDAP query under Query Settings in the OTHER section of the view editing screen.

This adds the attributes to the "attributes" select list in the "Field" called: LDAP Query: LDAP Attribute. This is how you specify which ldap attributes to list.

Linking these results to a normal base table in drupal will involve defining the relationship of one of these attributes to another known base table in views knowledge graph. This is where i'm presently stuck because i'm getting a JSON object output instead of a config screen when i click on "define relationship" in the relationship section.

Ill report back and document this process once I get a working version. Good luck!

johnbarclay’s picture

Title: LDAP Views Integration Configuration Confusion » LDAP Views: Configuration Documentation
Component: User interface » Miscellaneous
Status: Closed (fixed) » Active

Marking this as active. Please raise whatever issues or bugs you see. This is a lightly used module as far as I can tell.

pxljedi’s picture

StatusFileSize
new308.32 KB

I've gotten my view to work, but I cannot get all of my fields to show up. See screen shot.

My query actually pulls in all the fields in a person's LDAP entry. I did this so I can customize through a view. But I cannot see all of the fields as an option in the view.

I did follow the directions above to add my LDAP query to the Advanced/Other/Query option.

pxljedi’s picture

I've actually figured this out.

1. We had aliases in our LDAP
2. When setting up the view, one needs to do something like this to bring in the fields from the query.

LDAP Query: LDAP Attribute (Name:)
LDAP Query: LDAP Attribute (Location:)
LDAP Query: LDAP Attribute (Title)
LDAP Query: LDAP Attribute (Phone)
LDAP Query: LDAP Attribute (LDAP Attribute)
LDAP Query: LDAP Attribute (LDAP Attribute)

Now, if I could only get the jpegPhoto to not come in as binary.

larowlan’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

no update for > 12 months - closing