日期:2014-05-16  浏览次数:20669 次

ldap中建立objectclass的问题
这是我自己建立的一个schema 他要求有两个成员 一个是ID char(32) 还有一个是URI char(255)
starting OpenLDAP:slapd failed!

tail /var/log/syslog告诉我
Nov 23 17:14:15 debian-sup-b3 slapd[3758]: @(#) $OpenLDAP: slapd 2.4.23 (Jun 16 2011 02:53:39) $#012#011buildd@murphy:/build/buildd-openldap_2.4.23-7.2-i386-Y1mwvF/openldap-2.4.23/debian/build/servers/slapd
Nov 23 17:14:15 debian-sup-b3 slapd[3758]: slapd stopped.
Nov 23 17:14:15 debian-sup-b3 slapd[3758]: connections_destroy: nothing to destroy.


attributeType ( CustomSchAttr:1 NAME 'ID'
                DESC 'the id'
                EQUALITY caseIgnoreMatch
                SUBSTR caseIgnoreSubstringsMatch
                SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32} )
attributeType ( CustomSchAttr:2 NAME 'URI' 
                DESC 'the URI'
       EQUALITY caseIgnoreMatch
       SUBSTR caseIgnoreSubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255})
objectclass (CustomObjectClass:1 NAME 'CustomObject'
   DESC 'our custom schema'
   SUP top STRUCTURAL
      )

本人是写这玩意的新手 看了半天也不知道错在哪 希望赐教 


------解决方案--------------------
该回复于2011-11-28 16:24:32被版主删除