<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">
<pre>I've got a problem (again).

Then I create an openexchange account on an ldap account, I must set OpenLDAPaci. like this

<b>if</b> <b>not</b> <span style="color: rgb(221, 0, 0);">"OpenLDAPaci"</span> <b>in</b> newattrs<span
 style="color: rgb(255, 0, 255);">:</span>
        newattrs<span
 style="color: rgb(255, 0, 255);">[</span><span
 style="color: rgb(221, 0, 0);">"OpenLDAPaci"</span><span
 style="color: rgb(255, 0, 255);">]=</span><span
 style="color: rgb(221, 0, 0);">'1#entry#grant;r,w,s,c;cn,initials,mail,title,ou,l,birthday,description,street,postalcode,st,c,oxtimezone,homephone,mobile,pager,facsimiletelephonenumber,telephonenumber,labeleduri,jpegphoto,loginDestination,sn,givenname,;r,s,c;[all]#self#"'

</span>mlist <span style="color: rgb(255, 0, 255);">=</span> ldap.modlist.modifyModlist<span
 style="color: rgb(255, 0, 255);">(</span>attrs, newattrs<span
 style="color: rgb(255, 0, 255);">)</span>
<span style="color: rgb(0, 128, 0);">self</span>.l.modify_s<span
 style="color: rgb(255, 0, 255);">(</span>cn, mlist<span
 style="color: rgb(255, 0, 255);">)

<font color="#000000">attrs is the entire attributes list.
newattrs is the modified list.

When I create and delete... it works.

But if I recreate OX attributes... OpenLDAPaci already exist... but don't appear in attributes list and cause this:

ldap.INAPPROPRIATE_MATCHING: {'info': 'modify/add: OpenLDAPaci: no equality matching rule', 'desc': 'Inappropriate matching'}

How can I get OpenLDAPaci attribute to prevent this error ?

thanks in advance
</font></span></pre>
</body>
</html>