Welcome Guest  |  Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 33
Posts: 33   Pages: 4   [ Previous Page | 1 2 3 4 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4829 times and has 32 replies Next Thread
Male kingLui
Newbie



Germany
Joined: Jun 15, 2010
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
Re: Ldap SearchControls

Is it possible to get definitions like with the hierarchical mapping:
@PersistenceCapable(table = "{container},cn=users", .......

Kind Regards
Robert
[Jul 30, 2010 8:11:46 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male seelmann
Novice




Joined: Jul 2, 2008
Post Count: 36
Status: Offline
Reply to this Post  Reply with Quote 
Re: Ldap SearchControls

If your containers have DNs like "c=US,dc=example,dc=com" and your users have DNs like "uid=user1,cn=users,c=US,dc=example,dc=com" the this should work, just flip cn and container:

@PersistenceCapable(table = "cn=users,{container}", .......

[Jul 30, 2010 2:30:38 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male kingLui
Newbie



Germany
Joined: Jun 15, 2010
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
Re: Ldap SearchControls

lets use http://www.datanucleus.org/servlet/forum/viewthread_thread,6203 so we don't double the topic
and thanks for your help again
[Aug 3, 2010 2:03:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 33   Pages: 4   [ Previous Page | 1 2 3 4 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread