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

Re: invalid format?



OpenLDAP may not like the 'nscal*' attributes. Do the other entries that were
successfully added also have these attributes? Are these Netscape-specific
attributes that you haven't included in your OpenLDAP schema?

Rosdi Kasim wrote:

> I imported the whole content of my Netscape's LDAP server and save it in an
> LDIF file. Then, I tried to use ldapadd to put the entries back into my
> openldap's server.
>
> Everything is fine until ldapadd reach entry number 33, and it quits with an
> error message like this;
>
> ldapadd: invalid format (line 33 of entry: cn=Fong Sai Yuk,
> ou=Multimedia,ou=Staff, o=SNT, st=Kuala Lumpur, c=MY
>
> What could be wrong? I have inspected the ldif file, and don't see any
> irregularities. Futhermore, I didn't even touch the file, it is the exact
> same file I imported from Netscape's LDAP server.
>
> Below is the entries that ldapadd says is invalid, could someone give me a
> hint.
>
> dn: cn=Fong Sai Yuk,ou=Multimedia,ou=Staff, o=SNT, st=Kuala Lumpur, c=MY
> givenname: Sai Yuk
> mobile: 0198571646
> nscaltimezone: 0
> nscalsysopcanwritepassword: 1
> usercertificate;binary::
> MIICVDCCAb2gAwIBAgIBMzANBgkqhkiG9w0BAQQFADByMQswCQYD
>   hHj20fJ61JObHn6CMKECe81NMWo8Ng05Gesk9f8x29HXIq91+l6H0Pb1n99gpiz3
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> objectclass: mailRecipient
> objectclass: nsLicenseUser
> objectclass: nsCalUser
> nscalorgunit3: Staff
> nscalorgunit2: SNT
> facsimiletelephonenumber: 082-283648
> nscaldefaultreminder: 0:10
> ou: Multimedia
> mailmessagestore: /opt3/spool/mailbox/SNT
> nscaldisplayprefs: 4:480:1080:1:60:127:2
> mailquota: 10000000
> uid: chai
> mail: fsy@snt.com.my
> cn: Chai Hai Wee
> nscallanguageid: 0
> telephonenumber: 082-228461
> maildeliveryoption: mailbox
> nslicensedfor: mail
> nscalnotifmechanism: 1
> nscaldefaulttaskreminder: 0:0
> nscalxitemid: 10000:00265
> nscaldefaultnotereminder: 0:0
> postaladdress:
> nscalrefreshprefs: 1:60
> mailhost: neptune.snt.com.my
> sn: Chai
> nscaloperatingprefs:
> 0:255:0:0:0:0:0:0:0:0:0:0:1440:0:1440:0:0:1440:0:1440:0:
>  0:1440:0:1440:0:0:1440:0:1440:0:0:1440:0:1440:0:0:0:0:0
> nscalpasswordrequired: 1
> title: Multimedia Artist
> nscalflags: 0
begin:vcard 
n:Unite;Danilo
tel;work:408.861.9800
x-mozilla-html:FALSE
org:Syndeo Corporation;Services
version:2.1
email;internet:danilo@syndeocorp.com
title:Software Engineer
adr;quoted-printable:;;20195 Stevens Creek Blvd.=0D=0ASuite 120;Cupertino;CA;95014;USA
x-mozilla-cpt:;2736
fn:Danilo Unite
end:vcard