Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NIS for JNDI  RSS feed

 
Mike Cutter
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone the exact syntax for using the getAttributes() method when using NIS as a Service Provider for JNDI?
I am trying to modify the Getattr.java example from the JNDI Tutorial for NIS.
getAttributes() needs the three attributes: "cn", "nisMapName", and "nisMapEntry". Is cn the NIS domainname? Is nisMapName passwd.byname? Is nisMapEntry system/passwd/username?
I can't seem to get it to work right. Any help would be appreciated.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!