• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNDI - LDAP Woes

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,

I'm writing a J2EE application where a user authenticates using LDAP. The authentication is no problem but now I'm trying to get more information about certain users. Specifically I need to get list of employees that works for a certain manager. Our LDAP schema here has a 'reportsTo' field somewhere but when I list all of the attributes for a certain user, the field is not listed. I think it's hidden in another object which is embeded in an attribute. I don't have the slightest clue as to how to pull the information out. I've tried simple searches and they work but the 'reportsTo' field is still missing. Looking at our LDAP schema, it appears that the field is available in the ObjectClass "EmailPerson". Does anybody have any idea how I can get this value? I read through some tutorials and explanations but am still lost. I'm also running short on time and don't have the luxury to really learn all this at the moment. Any help is greatly appreciated. Thanks!

andreas

Here is my current code which returns nothing for the reportsTo field:


[ August 31, 2006: Message edited by: Andreas Sandberg ]
reply
    Bookmark Topic Watch Topic
  • New Topic