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

(ITS#5414) About nis.schema



Full_Name: Jiun-Tsung Wang
Version: 2.3.41
OS: FreeBSD 6.3-Release
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (140.113.166.53)


Hello, 

We can't store any dual-byte(including UTF-8) string in "gecos" field which be
declared in "nis.schema". But we need to store some Chinese information in it.

We store Chinese information by modifying the nis.schema from

attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
       DESC 'The GECOS field; the common name'
       EQUALITY caseIgnoreIA5Match
       SUBSTR caseIgnoreIA5SubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

to

attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
       DESC 'The GECOS field; the common name'
       EQUALITY caseExactMatch
       SUBSTR caseExactSubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )

. 

When we upgrade the openldap server, the modifed "nis.schema" would be replaced
with a unmodified "nis.schema".

Our servers will be down, because there are some strings in database which
conflicts to "nis.schema".

May you change the default schema of the "gecos" field and make it to be able to
carry dual-byte string?

Thanks!

-- 

Jiun-Tsung Wang(jtwang@cs.nctu.edu.tw)
Computer Center of Computer Science Department, 
Nation Chiao-Tung University, Taiwan R.O.C