dcsimg
LDAP: error code 65 - attribute 'tutorialtimes' not!_NEWLINE_!allowed]; remaining name 'ou=Academic'
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 15, 2002 04:44 AM

I can't seem to find the cause of the problem I don't think it has anything to do with my schema attribute being added //Academics class import java.util.*; import javax.naming.*; import javax.naming.directory.*; public class Academics implements DirContext { String type; Attributes myAttrs; public Academics(String tutorialtimes, String tutoriallocation, String tutorialsubjects, String labtimetable, String labavailability, String labgrades, String examtimetable,String tutor, String mentor, String CSsupervisors, String CSSEsupervisors,String classrep) { Attribute oc = new BasicAttribute("objectclass");    More>>
			
I can't seem to find the cause of the problem I don't think
it has anything to do with my schema attribute being added

//Academics class
import java.util.*;
import javax.naming.*;
import javax.naming.directory.*;

public class Academics implements DirContext {
String type;
Attributes myAttrs;

public Academics(String tutorialtimes, String tutoriallocation,
String tutorialsubjects, String
labtimetable, String labavailability,
String labgrades, String examtimetable,String tutor,
String mentor, String CSsupervisors,
String CSSEsupervisors,String classrep)
{
Attribute oc = new BasicAttribute("objectclass");
oc.add("organizationalUnit");

Attribute ouSet = new BasicAttribute("ou");
ouSet.add("Academic");

myAttrs = new BasicAttributes(true);
myAttrs.put(oc);
myAttrs.put(ouSet);
//just add this attribute first
myAttrs.put("tutorialtimes",tutorialtimes);

/*
myAttrs.put("tutoriallocation",tutoriallocation);
myAttrs.put("tutorialsubjects",tutorialsubjects);
myAttrs.put("labtimetable",labtimetable);
myAttrs.put("labavailability",labavailability);
myAttrs.put("labgrades",labgrades);
myAttrs.put("examtimetable",examtimetable);
myAttrs.put("tutor",tutor);
myAttrs.put("mentor",mentor);
myAttrs.put("CSsupervisor",CSsupervisors);
myAttrs.put("CSSEsupervisor",CSSEsupervisors);
myAttrs.put("classrep",classrep);


*/

}
Does anyone have any idea what could be wrong? Thanks
   <<Less
About | Sitemap | Contact