Alex aka Magobin
2006-May-17 08:43 UTC
[Fedora-directory-users] Unknown attribute syntax OID...
Hi at all, I''m trying to import qmail.schema in Fedora DS, but during
importation it says:
[17/May/2006:10:09:53 +0000] dse - The entry cn=schema in
file /opt/fedora-ds/slapd-nodo1/config/schema/55ns-qmail.ldif is
invalid, errorcode 21 (Invalid syntax) - attribute type qmailUID:
Unknown attribute syntax OID "1.3.6.1.4.1.1466.115.121.1.36"
[17/May/2006:10:09:53 +0000] dse - Please edit the file to correct the
reported problems and then restart the server.
I used ol-schema-migrate.pl to convert qmail.schema for fedoraDS
according with in www.qmail-ldap.org wiki page
Thanks in advance!
Alex
Below my 55ns-qmail.ldif:
[root@nodo1 ~] #./ol-schema-migrate.pl
-b /opt/fedora-ds/slapd-nodo1/config/schema/55ns-qmail.ldif
#
################################################################################
#
dn: cn=schema
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.1
NAME ''qmailUID''
DESC ''UID of the user on the mailsystem''
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.2
NAME ''qmailGID''
DESC ''GID of the user on the mailsystem''
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.3
NAME ''mailMessageStore''
DESC ''Path to the maildir/mbox on the mail system''
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.4
NAME ''mailAlternateAddress''
DESC ''Secondary (alias) mailaddresses for the same user''
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.5
NAME ''mailQuota''
DESC ''The amount of space the user can use until all further messages
get bounced.''
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.6
NAME ''mailHost''
DESC ''On which qmail server the messagestore of this user is
located.''
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.7
NAME ''mailForwardingAddress''
DESC ''Address(es) to forward all incoming messages to.''
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.8
NAME ''deliveryProgramPath''
DESC ''Program to execute for all incoming mails.''
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.9
NAME ''qmailDotMode''
DESC ''Interpretation of .qmail files: both, dotonly, ldaponly,
ldapwithprog, none''
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.10
NAME ''deliveryMode''
DESC ''multi field entries of: normal, forwardonly, nombox,
localdelivery, reply, echo''
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.11
NAME ''mailReplyText''
DESC ''A reply text for every incoming message''
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{4096}
SINGLE-VALUE
)
#
################################################################################
#
attributeTypes: (
1.3.6.1.4.1.7914.1.2.1.12
NAME ''accountStatus''
DESC ''The status of a user account: active, nopop, disabled''
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
SINGLE-VALUE
)
#
################################################################################
#
objectClasses: (
1.3.6.1.4.1.7914.1.2.2.1
NAME ''qmailUser''
DESC ''QMail-LDAP User''
SUP top
AUXILIARY
MUST ( mail $ uid )
MAY ( mailMessageStore $ homeDirectory $ userPassword $
mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $ mailHost $
mailForwardingAddress $ deliveryProgramPath $ qmailDotMode $
deliveryMode $ mailReplyText $ accountStatus )
)
#
################################################################################
#