Hello,

I'm trying to update attribute and class definitions but it doesn't work although ldap_modify_ext_s returns success.

The only difference is attribute and class description, perhaps the changes isn't saved since eDir doesn't have descriptions (at
least they doesn't show up in iManager)? I don't want to write specific code just for eDirectory if I don't have to...

Anyone that knows why this doesn't work, or have any thoughts on why?

Below is a packet dump from wireshark showing the modify and success returned (attribute and class name(s) is changed...):
No. Time Source Destination Protocol Length Info
119 37.013222000 172.16.242.154 172.16.242.70 LDAP 1212 modifyRequest(7) "cn=schema"

Frame 119: 1212 bytes on wire (9696 bits), 1212 bytes captured (9696 bits) on interface 0
Ethernet II, Src: Vmware_bd:e6:f7 (00:0c:29:bd:e6:f7), Dst: Vmware_42:ef:7b (00:0c:29:42:ef:7b)
Internet Protocol Version 4, Src: 172.16.242.154 (172.16.242.154), Dst: 172.16.242.70 (172.16.242.70)
Transmission Control Protocol, Src Port: 49732 (49732), Dst Port: 389 (389), Seq: 1, Ack: 1, Len: 1158
Lightweight Directory Access Protocol
LDAPMessage modifyRequest(7) "cn=schema"
messageID: 7
protocolOp: modifyRequest (6)
modifyRequest
object: cn=schema
modification: 4 items
modification item
operation: delete (1)
modification attributeTypes
type: attributeTypes
vals: 1 item
AttributeValue: ( 1.2.752.96.10007 NAME 'attr1' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5
SINGLE-VALUE X-NDS_NOT_SCHED_SYNC_IMMEDIATE '1' )
modification item
operation: add (0)
modification attributeTypes
type: attributeTypes
vals: 1 item
AttributeValue: ( 1.2.752.96.10007 NAME 'attr1' DESC 'attr1 desc' SYNTAX
1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE X-NDS_NOT_SCHED_SYNC_IMMEDIATE '1' )
modification item
operation: delete (1)
modification objectClasses
type: objectClasses
vals: 1 item
[truncated]AttributeValue: ( 1.2.752.96.10001 NAME 'class1' DESC 'old class1 desc' SUP Top
STRUCTURAL MUST ( cn $ attr2 ) MAY ( attr3 $ attr4 $ attr5 $ attr6 $ attr1 ) X-NDS_NAMING ( 'cn' 'attr2' ) X-
modification item
operation: add (0)
modification objectClasses
type: objectClasses
vals: 1 item
[truncated]AttributeValue: ( 1.2.752.96.10001 NAME 'class1' DESC 'class1 desc' SUP Top
STRUCTURAL MUST ( cn $ attr2 ) MAY ( attr3 $ attr4 $ attr5 $ attr6 $ attr1 ) X-NDS_NAMING ( 'cn' 'attr
[Response In: 120]




No. Time Source Destination Protocol Length Info
120 37.015145000 172.16.242.70 172.16.242.154 LDAP 68 modifyResponse(7) success

Frame 120: 68 bytes on wire (544 bits), 68 bytes captured (544 bits) on interface 0
Ethernet II, Src: Vmware_42:ef:7b (00:0c:29:42:ef:7b), Dst: Vmware_bd:e6:f7 (00:0c:29:bd:e6:f7)
Internet Protocol Version 4, Src: 172.16.242.70 (172.16.242.70), Dst: 172.16.242.154 (172.16.242.154)
Transmission Control Protocol, Src Port: 389 (389), Dst Port: 49732 (49732), Seq: 1, Ack: 1159, Len: 14
Lightweight Directory Access Protocol
LDAPMessage modifyResponse(7) success
messageID: 7
protocolOp: modifyResponse (7)
modifyResponse
resultCode: success (0)
matchedDN:
errorMessage:
[Response To: 119]
[Time: 0.001923000 seconds]


Best regards,
Tobias