[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Value contains invalid data
hi all,
* The problem:
When i do a ldapadd with this ldif file there is an error :
dn: cn=vpu_grm1,ou=ums,o=alcatel,c=fr
VoiceMailboxId: -1
userPassword: rennes1
uid: vpugrm1
cn: vpugrm1
rfc822Mailbox: vpu_grm1@ums.alcatel.fr
mailDeliveryOption: mailbox
mailFolderMap: Sun-MS
optionBvABv: vpim
objectClass: vPIMUser
objectClass: aVPSUser
objectClass: emailPerson
mailHost: mcu141d.ums.alcatel.fr
vpuSiteName: rennes
VPUNumber: 1
telephoneNumber1: vpu_grm1
telephoneNumber: vpu_grm1
=>> err=21 text=value contains invalid data
But when i do a ldapadd with this ldif file there is no error
dn: cn=vpugrm1,ou=ums,o=alcatel,c=fr
VoiceMailboxId: -1
userPassword: rennes1
uid: vpugrm1
cn: vpugrm1
rfc822Mailbox: vpugrm1@ums.alcatel.fr
mailDeliveryOption: mailbox
mailFolderMap: Sun-MS
optionBvABv: vpim
objectClass: vPIMUser
objectClass: aVPSUser
objectClass: emailPerson
mailHost: mcu141d.ums.alcatel.fr
vpuSiteName: rennes
VPUNumber: 1
telephoneNumber1: vpugrm1
telephoneNumber: vpugrm1
Only 'vpu_grm1' has moved to 'vpugrm1'
* My configuration:
This is my local.schema that define my attribute
attributeType ( 1.1 NAME 'telephoneNumber1' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50)
attributeType ( 1.2 NAME 'telephoneNumber2' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50)
attributeType ( 1.3 NAME 'telephoneNumber3' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50)
attributeType ( 1.4 NAME 'telephoneNumber4' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.50)
attributeType ( 1.5 NAME 'VPUNumber' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
attributeType ( 1.6 NAME 'VoiceMailboxId' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
attributeType ( 1.7 NAME 'vpuSiteName' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.8 NAME 'optionBvABv' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.9 NAME 'IMcalendarHost' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.10 NAME 'IMcalendarName' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.11 NAME 'mailDeliveryOption' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.12 NAME 'mailFolderMap' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.13 NAME 'mailForwardingAddress' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.14 NAME 'adrIMAP4' EQUALITY caseIgnoreMatch SUP Name)
attributeType ( 1.15 NAME 'mailProgramDeliveryInfo' EQUALITY caseIgnoreMatch SUP Name)
objectclass ( 2.1 NAME 'aVPSUser'
MUST (commonName
$ userid
$ telephoneNumber
$ telephoneNumber1
$ VPUNumber
$ VoiceMailboxId
$ vpuSiteName
$ optionBvABv)
MAY (telephoneNumber2
$ telephoneNumber3
$ telephoneNumber4
$ adrIMAP4)
)
objectclass ( 2.2 NAME 'vPIMUser'
MUST (commonName
$ VoiceMailboxId)
MAY (rfc822Mailbox
$ userPassword)
)
objectclass ( 2.3 NAME 'emailPerson'
MUST (commonName)
MAY (mailDeliveryOption
$ mailFolderMap
$ mailHost
$ mailProgramDeliveryInfo
$ mailForwardingAddress)
)
I use a BerkeleyDB database and openldap 2.0.7
* The question:
Is there a possibility to add a propriety to my attribute for resolve this problem ?
Any information would be greatly appreciated.
Thanks in advance
Benoit