Replying to me own, after several tests... I was using an objectClass only (posixAccount). The gecos is available in account. See:
<objectClasses> <objectClass id="account"></objectClass> <objectClass id="posixAccount"></objectClass> </objectClasses> I hope that help. Regards, Eriberto - Brazil 2012/6/22 Eriberto <eribe...@eriberto.pro.br>: > Hi all, > > I am making my first template. I used the posixAccount.xml as base, > removing the line <objectClass id="inetOrgPerson"></objectClass>. > > I need to insert the gecos field and tryed it: > > <attribute id="gecos"> > <display>Others</display> > <order>10</order> > </attribute> > > The PLA shows the field but, after apply, says: > > Object class violation > Error number: 0x41 (LDAP_OBJECT_CLASS_VIOLATION) > Description: You tried to perform an operation that would cause an > undefined attribute to exist or that would remove a required > attribute, given the current list of ObjectClasses. This can also > occur if you do not specify a structural objectClass when creating an > entry, or if you specify more than one structural objectClass. > > Can anyone help showing where is my error? > > Thanks a lot. > > Eriberto - Brazil ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ phpldapadmin-users mailing list phpldapadmin-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users