Don't you need to create dc=pt first?
On 3/26/07, M?rio Gamito <mgamito at telbit.pt>
wrote:>
> Hi,
>
> I'm making a schema for my company's co-workers, but i'm
obviosuly doing
> something wrong, because i get:
>
> ldapadd -x -D "cn=admin,dc=telbit,dc=pt" -w secret -f people.ldif
> adding new entry "dc=telbit,dc=pt"
>
> ldapadd: no attributes to change or add
(entry="cn=admin,dc=telbit,dc=pt")
>
>
> My schema file (experimantel) is:
> ## objectclass definition for 'plainjoePerson' depends on
core.schema.
> objectclass ( 1.3.6.1.4.1.7165.1.1.1.1 NAME 'msnMSN'
> SUP person STRUCTURAL
> MUST (mail) )
>
> My lddif follows my signature.
>
> Any help would be appreciated.
>
> Warm Regards
> --
> :wq! M?rio Gamito
> --
> dn: dc=telbit,dc=pt
> objectClass: top
> objectClass: dcObject
> objectClass: organization
> o: telbit.pt
> dc: telbit
>
> dn: cn=admin,dc=telbit,dc=pt
> objectClass: organizationalRole
> cn: admin
> description: LDAP administrator
> userPassword:: e2NyeXB0fVQ3cnZKWVBXMGJCVnM>
> dn: ou=accounts,dc=telbit,dc=pt
> objectClass: top
> objectClass: organizationalUnit
> ou: accounts
> description: Users
>
> dn: uid=mgamito,ou=accounts,dc=telbit,dc=pt
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: qmailUser
> o: Telbit
> uid: mgamito
> homeDirectory: /var/qmail/maildirs/mgamito at telbit.pt
> mailAlternateAddress: mgamito at mail.telbit.pt
> mailAlternateAddress: mgamito at metropolis.telbit.pt
> mailQuotaSize: 1073741824
> sn: Gamito
> mail: mgamito at telbit.pt
> userPassword:: e01ENX04WmhhakZFRldZRDNtUWpIOU1LcW5RPT0>
structuralObjectClass: inetOrgPerson
> cn: Mario Gamito
>
> dn: ou=people,dc=telbit,dc=pt
> objectClass: top
> objectClass: inetOrgPerson
> ou: people
> description: People
> structuralObjectClass: organizationalUnit
>
> dn: mail=mgamito at telbit.pt,ou=users,ou=accounts,dc=telbit,dc=pt
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: mail
> o: Telbit
> mail: mgamito at telbit.pt
> msnMSN: blabla at hotmail.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20070326/baaf22c7/attachment.html>