[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem when trying to modify the DN
Hello!
I have a problem when I try to modify the DN of an entry.
The following entries exist in my LDAP:
dn: cn=10.3.4.190,ou=Computers,dc=tgm,dc=ac,dc=at
objectClass: top
objectClass: ieee802Device
objectClass: ipHost
macAddress: 00:02:44:29:e7:a4
cn: 10.3.4.190
ipHostNumber: 10.3.4.190
dn: macAddress=00:01:02:4f:c7:98,ou=Computers,dc=tgm,dc=ac,dc=at
objectClass: top
objectClass: ieee802Device
objectClass: ipHost
macAddress: 00:01:02:4f:c7:98
cn: 10.3.4.191
ipHostNumber: 10.3.4.190
When I try to modify the DN of the first entry to
"macAddress=00:02:44:29:e7:a4,ou=Computers,dc=tgm,dc=ac,dc=at" I get an
Object Class Violation error, and the logfile states "objectClass ipHost
needs Attribute cn", but this Attribute is in the Entry.
Is it possible to modify this entry? Exporting this Entry to LDIF,
changing the DN manually and importing via ldapadd works fine. But I
can't modify the DN direct.
regards
Markus Schabel
|---------------------------------------------
| TGM - Die Schule der Technik |
| IT-Service |
| A-1200 Wien, Wexstrasse 19-23 |
| Tel.: +43(1)33126/316 Fax: +43(1)33126/154 |
| eMail: markus.schabel@tgm.ac.at |
---------------------------------------------|