Hello. ./slpad ?d 256 @(#) $OpenLDAP: slapd 2.4.23 (Nov 28 2010 12:04:47) $ root@ OpenLDAP:/root/openldap-2.4.23/servers/slapd slapd stopped. connections_destroy: nothing to destroy. my slapd.conf: include /opt/openldap/etc/openldap/schema/core.schema include /opt/openldap/etc/openldap/schema/xzmc.schema my shema: attributeType ( 1.1.2.1.1 NAME 'xzmcuid' DESC 'user job number or student number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributeType ( 1.1.2.1.2 NAME 'xzmcpassword' DESC 'user password' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE ) attributeType ( 1.1.2.1.3 NAME 'xzmcic' DESC 'user identity card' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) attributeType ( 1.1.2.1.4 NAME 'xzmcsex' DESC 'user sex' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{20} SINGLE-VALUE ) attributeType ( 1.1.2.1.5 NAME 'xzmcmail' DESC 'user mail' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) attributeType ( 1.1.2.1.6 NAME 'xzmcmobilephone' DESC 'user mobilephone' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) attributeType ( 1.1.2.1.7 NAME 'xzmctelephone' DESC 'user telephone' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) attributeType ( 1.1.2.1.8 NAME 'xzmchomephone' DESC 'user homephone' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) attributeType ( 1.1.2.1.9 NAME 'xzmcdepartment' DESC 'user department' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ) attributeType ( 1.1.2.1.10 NAME 'xzmcclass' DESC 'user class' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} SINGLE-VALUE ) objectclass ( 1.1.2.2.1 NAME 'xzmcUser' DESC 'xzmc object class' STRUCTURAL MAY ( xzmcuid $ xzmcpassword $ xzmcic $ xzmcsex $ xzmcmail $ xzmcmobilephone $ xzmctelephone $ xzmchomephone $ xzmcdepartment $ xzmcclass ) ) when I change slapd.conf as default: include /opt/openldap/etc/openldap/schema/core.schema ./slapd is ok. don't know what this is, isn't it my schema has something wrong? Thx~ -- Li Jian |