[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: newbies help
yes, it's a mistake of mine.
i make some test for the words "mail", "email" and "Email", so i take
the message for the test "Email", sorry...
now, reading the schema, i see that the attribute "telephoneNnumber"
have almost the same proprierties of mail, so i can write it, but the
mail won't accept!
am i a little crazy or there is something wrong?
adri
il giorno Sun, Oct 13, 2002 at 12:10:23PM -0400, Kervin L. Pierre ha scritto
> why does the error message say 'email' and not 'mail'?
>
> adri wrote:
>
> >i'm really new from ldap, but i think it's a really good instrument, so
> >i wanna configure my addressbook, initially, with ldap.
> >i have a doubt, i search to add the mail entry at a user, but the server
> >answer me:
> >
> >ldif_record() = 68
> >adding new entry "cn=Username, ou=Addressbook, o=rubrica, c=IT"
> >ldap_add: Undefined attribute type
> > additional info: Email: attribute type undefined
> >
> >i think this is a problem about cn or objectClass.
> >my question it's really simple, what objectClass i have to insert in my
> >ldif file to insert "mail".
> >this are my files:
> >
> >*******************************
> >slapd.conf
> >*******************************
> >include /etc/openldap/schema/core.schema
> >include /etc/openldap/schema/cosine.schema
> >include /etc/openldap/schema/inetorgperson.schema
> >include /etc/openldap/schema/nis.schema
> >include /etc/openldap/schema/misc.schema
> >include /etc/openldap/schema/openldap.schema
> >index cn,sn,uid,o,c,ou,dn
> >index objectClass
> >pres,eq,person,organization,organizationalunit,addressbook
> >database ldbm
> >suffix "o=rubrica, c=IT"
> >rootdn "cn=user, o=rubrica, c=IT"
> >rootpw
> >directory /var/lib/ldap/
> >
> >*******************************
> >user.ldif
> >*******************************
> >dn: o=rubrica, c=IT
> >o: rubrica
> >objectClass: organization
> >description:La mia organizzazione
> >
> >dn: ou=Addressbook, o=rubrica, c=IT
> >ou: Addressbook
> >objectClass: organizationalUnit
> >
> >dn: ou=Users, o=rubrica, c=IT
> >ou: Users
> >objectClass: organizationalUnit
> >
> >dn: cn=Username, ou=Addressbook, o=rubrica, c=IT
> >cn: Username
> >telephoneNumber: 1234567890
> >mail:themail@mail.it
> >objectClass: person
> >objectClass: organizationalPerson
> >description: Questo sono io
> >
> >many thanks
> >adri
>
>
--
adri -
icq# 63011800 - jabber: adri@jabber.org
gnupg key id: 1C66B3DE