Problems with LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx
mailAlternateAddress: mgamito@xxxxxxxxxxxxxx
mailAlternateAddress: mgamito@xxxxxxxxxxxxxxxxxxxx
mailQuotaSize: 1073741824
sn: Gamito
mail: mgamito@xxxxxxxxx
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@xxxxxxxxx,ou=users,ou=accounts,dc=telbit,dc=pt
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: mail
o: Telbit
mail: mgamito@xxxxxxxxx
msnMSN: blabla@xxxxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux