[CentOS] Problems with LDAP

Tue May 8 08:24:44 UTC 2007
Mário Gamito <mgamito at telbit.pt>

Hi,

I'm using OpenLDAP in CentOS 4.4

I'm trying to create a grou of users:

# Grupos do TIM
dn: ou=futebol,ou=accounts,dc=telbit,dc=pt
objectClass: organizationalUnit
description: Grupo de Futebol
ou: futebol

# Grupo do futebol
dn: uid=futeboladas,ou=futebol,ou=accounts,dc=telbit,dc=pt
objectClass: top
uid: futeboladas
objectClass: groupOfNames
cn: Futeboladas
member: uid=mgamito,ou=tim,ou=accounts,dc=telbit,dc=pt
member: uid=alopes,ou=tim,ou=accounts,dc=telbit,dc=pt
member: uid=tmarto,ou=tim,ou=accounts,dc=telbit,dc=pt
cn: Futebol

as it is, with "uid: futeboladas" i get the error:
"adding new entry "uid=futeboladas,ou=futebol,ou=accounts,dc=telbit,dc=pt"
ldap_add: Object class violation (65)
         additional info: attribute 'uid' not allowed
"

If i remove the uid entry i get:
"adding new entry "uid=futeboladas,ou=futebol,ou=accounts,dc=telbit,dc=pt"
ldap_add: Naming violation (64)
         additional info: naming attribute 'uid' is not present in entry
"

The mind boggles :(

Any help would be appreciated.

Warm Regards
-- 
:wq! Mário Gamito