Hi there guys., sorry for disturbign you, in the openldap-software list told me to ask in here, so the rejected my maill., so here I go..
I'm migrating a server to a new installation, the old server I did not installed it nor maintain. I only did a backup to an .ldiff file. my new server is running debian with ldap 2.2.3 and bdb backend. When importing the file I've get the following error ".. object class violation (65) invalid structural object class chain (inetOrgPerson/Account) making a research on this list I found some tips that lead me to take alook in the structure of the .ldiff file and here there is a snapshot of it. dn: uid=xxxxx,ou=Users,o=xxx objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: account objectClass: top objectClass: posixAccount objectClass: shadowAccount host: * uid: xxxxxx givenName: Pablo initials: A sn: xxxxx homeDirectory: /home/xxxxxx loginShell: /bin/bash mail: xxxxxxxx shadowWarning: 7 shadowInactive: 2 title: AAA physicalDeliveryOfficeName: Tech ou: Tech l: Somewhere telephoneNumber: 280 facsimileTelephoneNumber: 0 o: XXXX homePhone: 0000000 mobile: 0000000 employeeNumber: 000000 uidNumber: 502 gidNumber: 45 userPassword:: e2NyeXB0fUpXSGIwSlpPS01PYVk= shadowLastChange: 12254 cn: xxxxxx gecos: xxxxxxx When reaching this, record, ( this is the first user to be added ) that's when I get the error, looking at it's structure I found that there are account and persons objectclases, and as long as I know there cannot be both of them, if I remove por example person and host I can add this user. My question is, which one of them should I leave, or if there is a better way to solve this problem I'd like to know as well , a link, or a referecne to see the properties of each object class, person and account to read more about each of them, to evaluate which one should I remove. Thanks in advance, sorry for the noise --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
