[Date Prev][Date Next] [Chronological] [Thread] [Top]

help: how to add chinese entry ?



Dear all:
 
 
i want to add a chinese entry to openldap ,but follow C sentence return 0x15,indicate that the syntax is invalid.
 
 
  uLastErr = ldap_add_s(pLdap,pDName,ppAttrs) ;
 
the scheme define is:
 
 { "name", "( 2.5.4.41 NAME 'name' "
   "DESC 'RFC2256: common supertype of name attributes' "
   "EQUALITY caseIgnoreMatch "
   "SUBSTR caseIgnoreSubstringsMatch "
   "SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )",
  NULL, SLAP_AT_ABSTRACT,
  NULL, NULL, NULL, NULL, NULL,
  offsetof(struct slap_internal_schema, si_ad_name) },
 { "cn", "( 2.5.4.3 NAME ( 'cn' 'commonName' ) "
   "DESC 'RFC2256: common name(s) for which the entity is known by' "
   "SUP name )",
the pDName is:  cn=н¨µÄÉ豸,o=HuaTech info Corp,c=China
 
 
anyone can help me?
        
claudchen