problem on searching and adding user in newly added organization unit

I added a new ou under the default domain and when I want to search user under the newly added OU in the iDA, it shows Server Error and "This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log."

When i look into the web server log, it has the following error in the error log.

failure ( 9185): Internal error: servlet service function had thrown ServletException (uri=/servlet/getPage): javax.servlet.ServletException: netscape.ldap.LDAPException: error result (32); matchedDN = ou=ken,o=vtc.edu.hk,o=internet; No such object, stack: javax.servlet.ServletException: netscape.ldap.LDAPException: error result (32); matchedDN = ou=ken,o=vtc.edu.hk,o=internet; No such objectat java.lang.Throwable.fillInStackTrace(Native Method)at java.lang.Throwable.fillInStackTrace(Compiled Code)at java.lang.Throwable.<init>(Compiled Code)at java.lang.Exception.<init>(Compiled Code)at javax.servlet.ServletException.<init>(ServletException.java:107)at netscape.nda.servlet.NDAIMSGetPage.execute(Compiled Code)at netscape.nda.servlet.NDAServlet.doPost(Compiled Code)at netscape.nda.servlet.NDAServlet.doGet(Compiled Code)at javax.servlet.http.HttpServlet.service(Compiled Code)at javax.servlet.http.HttpServlet.service(Compiled Code)at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(Compiled Code)at com.iplanet.server.http.servlet.NSServletRunner.Service(Compiled Code), root cause:

Does anyone who tried to add or search user in a newly added OU successfully other than in the "People" one.

Thanks in advance.

[1736 byte] By [Ken@ASL] at [2007-11-25 8:46:23]
# 1

Something strange with your directory structure, you shouldnt have an ou under o=internet. That suffix should only be for domains, then you should have another root suffix (like o=isp) that contains your domain.

ie: one suffix is: dc=yahoo,dc=com,o=internet

that is a referral that points to

o=yahoo.com,o=isp

your ou should go under ou=test,o=yahoo.com,o=isp

This structure is needed for messaging and ida to work correctly. Check out the migration guide for messaging for all of the diagrams on the new structure for 5.x messaging.

navin504 at 2007-7-1 15:29:42 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

You are also going to need to customize the ida to handle a new ou. Check out the ida config in the directory to see that ou=people is the default for user entries. If you wanted to change this to another ou it is easy, just change entries under

cn=objects,cn=servletsconf,cn=en,cn=domainconfiguration,ou=config,o=<your root DN>

If you need to customze for multiple ou's this is a decent sized project.

navin504 at 2007-7-1 15:29:42 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

I can now add or search user in the newly added ou after I add a new "People" and "Groups" ou under the ou that I added. I think the problem I had before is that there is no container to store user and mail list and therefore I cannot add or even search a user.

Anyway, thank you very much for your help.

Ken@ASL at 2007-7-1 15:29:42 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...