[CentOS] Problems with LDAP

Mon Mar 26 08:08:23 UTC 2007
Mário Gamito <mgamito at telbit.pt>


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 ( 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