<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@directory.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/directory-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/directory-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/directory-users/</id>
<updated>2013-05-23T05:27:55Z</updated>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519CFEB3.90201@gmail.com%3e"/>
<id>urn:uuid:%3c519CFEB3-90201@gmail-com%3e</id>
<updated>2013-05-22T17:21:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/22/13 6:54 PM, Abdala, Pablo Javier a écrit :&#010;&gt;&gt; We don't provide installers for HP Unix, so you will have to use the&#010;&gt; archive tarball&#010;&gt; (http://directory.apache.org/apacheds/download/download-archive.html)&#010;&gt;&#010;&gt; Hello Emmanuel,&#010;&gt;                 I´ve installed the ApachedDS, then imported the schema from 1.5.3 but&#010;I had this error:&#010;&gt; #!RESULT ERROR&#010;&gt; #!CONNECTION ldap://dhpx0049:10389&#010;&gt; #!DATE 2013-05-22T12:07:52.469&#010;&gt; #!ERROR [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST&#010;Message ID : 12     Add Request : Entry     dn[n]: dc=example,dc=com     objectClass: domain&#010;    objectClass: extensibleObject     objectClass: top     dc: example : ERR_250_ENTRY_ALREADY_EXISTS&#010;dc=example,dc=com already exists!]&#010;&gt; dn: dc=example,dc=com&#010;&gt; changetype: add&#010;&gt; dc: example&#010;&gt; objectClass: domain&#010;&gt; objectClass: extensibleObject&#010;&gt; objectClass: top&#010;&#010;Plain normal. The example.com entry is already present by default.&#010;&gt;&#010;&gt; So I remove the Entry from the schema then imported again and I gave this error:&#010;&gt;&#010;&gt; #!RESULT ERROR&#010;&gt; #!CONNECTION ldap://dhpx0049:10389&#010;&gt; #!DATE 2013-05-22T12:57:07.935&#010;&gt; #!ERROR [LDAP: error code 19 - CONSTRAINT_VIOLATION: failed for MessageType : ADD_REQUEST&#010;Message ID : 50     Add Request : Entry     dn[n]: uid=z111111,ou=users,dc=example,dc=com&#010;    objectClass: person     objectClass: organizationalPerson     objectClass: inetOrgPerson&#010;    objectClass: top     uid: z111111     sn: z111111     userPassword: '0x70 0x65 0x70 0x65&#010;'     cn: z111111     displayName: z111111 : Password should have a minmum of 5 characters]&#010;&gt; dn: uid=z111111,ou=users,dc=example,dc=com&#010;&gt; changetype: add&#010;&gt; displayName: z111111&#010;&gt; objectClass: person&#010;&gt; objectClass: organizationalPerson&#010;&gt; objectClass: inetOrgPerson&#010;&gt; objectClass: top&#010;&gt; uid: z111111&#010;&gt;&#010;&gt; Can you identify the problem?&#010;&#010;Yes, the passwordPolicy is enabled, and it expect your password to be at&#010;leat 5 chars long.&#010;&#010;Either you modify your passowrd, or you disable the PasswordPolicy (but&#010;I suspect you wanted to migrate because the PasswordPolicy is now&#010;handled by 2.0...)&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>&quot;Abdala, Pablo Javier&quot; &lt;pablo.abdala@hp.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c3EDA05DF4AE56543A68CD3C688AA93F491F5E37E@G9W0764.americas.hpqcorp.net%3e"/>
<id>urn:uuid:%3c3EDA05DF4AE56543A68CD3C688AA93F491F5E37E@G9W0764-americas-hpqcorp-net%3e</id>
<updated>2013-05-22T16:54:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; We don't provide installers for HP Unix, so you will have to use the&#010;archive tarball&#010;(http://directory.apache.org/apacheds/download/download-archive.html)&#010;&#010;Hello Emmanuel,&#010;                I´ve installed the ApachedDS, then imported the schema from 1.5.3 but I had&#010;this error:&#010;#!RESULT ERROR&#010;#!CONNECTION ldap://dhpx0049:10389&#010;#!DATE 2013-05-22T12:07:52.469&#010;#!ERROR [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST&#010;Message ID : 12     Add Request : Entry     dn[n]: dc=example,dc=com     objectClass: domain&#010;    objectClass: extensibleObject     objectClass: top     dc: example : ERR_250_ENTRY_ALREADY_EXISTS&#010;dc=example,dc=com already exists!]&#010;dn: dc=example,dc=com&#010;changetype: add&#010;dc: example&#010;objectClass: domain&#010;objectClass: extensibleObject&#010;objectClass: top&#010;&#010;So I remove the Entry from the schema then imported again and I gave this error:&#010;&#010;#!RESULT ERROR&#010;#!CONNECTION ldap://dhpx0049:10389&#010;#!DATE 2013-05-22T12:57:07.935&#010;#!ERROR [LDAP: error code 19 - CONSTRAINT_VIOLATION: failed for MessageType : ADD_REQUEST&#010;Message ID : 50     Add Request : Entry     dn[n]: uid=z111111,ou=users,dc=example,dc=com&#010;    objectClass: person     objectClass: organizationalPerson     objectClass: inetOrgPerson&#010;    objectClass: top     uid: z111111     sn: z111111     userPassword: '0x70 0x65 0x70 0x65&#010;'     cn: z111111     displayName: z111111 : Password should have a minmum of 5 characters]&#010;dn: uid=z111111,ou=users,dc=example,dc=com&#010;changetype: add&#010;displayName: z111111&#010;objectClass: person&#010;objectClass: organizationalPerson&#010;objectClass: inetOrgPerson&#010;objectClass: top&#010;uid: z111111&#010;&#010;Can you identify the problem?&#010;&#010;Kind Regards,&#010;Pablo Abdala&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519BEC7E.5050209@gmail.com%3e"/>
<id>urn:uuid:%3c519BEC7E-5050209@gmail-com%3e</id>
<updated>2013-05-21T21:51:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/21/13 9:19 PM, Abdala, Pablo Javier a écrit :&#010;&gt;&gt; I just wanted to know if you have added some new schema elements, like&#010;&gt; AttributeType or ObjectClass. Seems not.&#010;&gt;&#010;&gt;&gt; So, bottom line : install apacheDS, import your data into it, you are&#010;&gt; ready to go..&#010;&gt;&#010;&gt; Ok, I will do what  you said, one more question, what file should I download to use Apache&#010;DS 2.0 in HP-UNIX?&#010;We don't provide installers for HP Unix, so you will have to use the&#010;archive tarball&#010;(http://directory.apache.org/apacheds/download/download-archive.html)&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>&quot;Abdala, Pablo Javier&quot; &lt;pablo.abdala@hp.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c3EDA05DF4AE56543A68CD3C688AA93F491F5E07E@G9W0764.americas.hpqcorp.net%3e"/>
<id>urn:uuid:%3c3EDA05DF4AE56543A68CD3C688AA93F491F5E07E@G9W0764-americas-hpqcorp-net%3e</id>
<updated>2013-05-21T19:19:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; I just wanted to know if you have added some new schema elements, like&#010;AttributeType or ObjectClass. Seems not.&#010;&#010;&gt; So, bottom line : install apacheDS, import your data into it, you are&#010;ready to go..&#010;&#010;Ok, I will do what  you said, one more question, what file should I download to use Apache&#010;DS 2.0 in HP-UNIX?&#010;&#010;Thanks,&#010;Kind Regards,&#010;Pablo Abdala&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519B97C7.7040506@gmail.com%3e"/>
<id>urn:uuid:%3c519B97C7-7040506@gmail-com%3e</id>
<updated>2013-05-21T15:50:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/21/13 5:31 PM, Abdala, Pablo Javier a écrit :&#010;&gt;&gt; we don't have a description of the migration procedure. However, we can&#010;&gt;&gt; drive you and help you to get 2.0 up and running.&#010;&gt;&gt; Could you provide some information about ;&#010;&gt;&gt; - your configuration (the server.xml file)&#010;&gt;&gt; - how many entries dyou have in your server&#010;&gt;&gt; - do you have any added schema elements ?&#010;&gt;&gt; Bottom line, the idea is to convert your configuration into something&#010;&gt; that it usable for ApacheDS 2.0 (and you can configurate the server&#010;&gt; using Studio), and to import your data into the server. If you have&#010;&gt; created some AttributeTypes or ObjectClass, we will need to update the&#010;&gt; schema.&#010;&gt;&#010;&gt;&gt; It should not be too complicated.&#010;&gt; Thanks Emmanuel for your answer and your help.&#010;&gt;&#010;&gt; Please find attached the server.xml file.&#010;&gt; Regarding to "entries  in server" I've attached an example file&#010;&#010;I checked the server.xml file, it's a brand standard configuration. You&#010;should be able to use ApacheDS 2.0 as is, inject you data, it should&#010;work (it worked for me).&#010;&#010;&#010;&gt;&#010;&gt; I don't understand your last question, "do you have any added schema elements ?" could&#010;you clarify my?&#010;&#010;I just wanted to know if you have added some new schema elements, like&#010;AttributeType or ObjectClass. Seems not.&#010;&#010;So, bottom line : install apacheDS, import your data into it, you are&#010;ready to go...&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>&quot;Abdala, Pablo Javier&quot; &lt;pablo.abdala@hp.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c3EDA05DF4AE56543A68CD3C688AA93F491F5DDA6@G9W0764.americas.hpqcorp.net%3e"/>
<id>urn:uuid:%3c3EDA05DF4AE56543A68CD3C688AA93F491F5DDA6@G9W0764-americas-hpqcorp-net%3e</id>
<updated>2013-05-21T15:31:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to configure Apache DS with Fault-Tolerance Mode</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519B1F76.20008@gmail.com%3e"/>
<id>urn:uuid:%3c519B1F76-20008@gmail-com%3e</id>
<updated>2013-05-21T07:17:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/21/13 3:35 AM, gen_jing@pactera.com a écrit :&#010;&gt; Hi All,&#010;Hi,&#010;&gt;&#010;&gt;      I am a newbie for ADS, currently I am using ADS to set up one testing&#010;&gt; environment to support LDAP Fault-Tolerance?&#010;&#010;Can you define "Fault-Tolerance" in this context ?&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>How to configure Apache DS with Fault-Tolerance Mode</title>
<author><name>&lt;gen_jing@pactera.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c000001ce55c3$717eeb90$547cc2b0$@com%3e"/>
<id>urn:uuid:%3c000001ce55c3$717eeb90$547cc2b0$@com%3e</id>
<updated>2013-05-21T01:35:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi All,&#010;&#010;     I am a newbie for ADS, currently I am using ADS to set up one testing&#010;environment to support LDAP Fault-Tolerance?&#010;&#010; &#010;&#010;I check the help doc for ADS, unfortunately, any keyword "Fault-Tolerance"&#010;was not founded.&#010;&#010; &#010;&#010;Can anybody share your experience about this??&#010;&#010; &#010;&#010;Thanks in advance..&#010;&#010; &#010;&#010;Jack Geng&#010;&#010;Best Regards&#010;&#010; &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ApacheDS support virtual attribute memberOf</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519A54B1.5070200@gmail.com%3e"/>
<id>urn:uuid:%3c519A54B1-5070200@gmail-com%3e</id>
<updated>2013-05-20T16:52:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/20/13 5:53 PM, Danielsen, Jay a écrit :&#010;&gt; I see from the January 2013 archives that memberOf virtual attribute is not yet supported.&#010;&gt; Are there any plans or work-in-progress to support memberOf in an upcoming release ?&#010;Morst certainly in 2.1.0.&#010;&#010;We are currently busy cleaning the 150 remaining issues before a&#010;2.0.0-RC1 release, so I think this is something we can have in the next&#010;6 months.&#010;&#010;You can create a JIRA to request such a feature.&#010;&#010;Thanks !&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>ApacheDS support virtual attribute memberOf</title>
<author><name>&quot;Danielsen, Jay&quot; &lt;DanielsenJ@valassis.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c707FADBC8B0E984EB8D8AA373B714C33154BDA34@VALVCSMBX001PH.val.vlss.local%3e"/>
<id>urn:uuid:%3c707FADBC8B0E984EB8D8AA373B714C33154BDA34@VALVCSMBX001PH-val-vlss-local%3e</id>
<updated>2013-05-20T15:53:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I see from the January 2013 archives that memberOf virtual attribute is not yet supported.&#010;Are there any plans or work-in-progress to support memberOf in an upcoming release ?&#010;&#010;Regards,&#010;&#009;Jay&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5196B025.1090107@gmail.com%3e"/>
<id>urn:uuid:%3c5196B025-1090107@gmail-com%3e</id>
<updated>2013-05-17T22:33:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/17/13 10:36 PM, Abdala, Pablo Javier a écrit :&#010;&gt; Hello,&#010;&gt;                 I have Apache DS 1.5.3 in a server with HP-UX 11 and I need to upgrade&#010;to 2.0 to be able to use Password Policy. I've toured the http://directory.apache.org/apacheds/&#010;page looking for information about upgrade procedure but I couldn´t find anything, can you&#010;tell me where to find information about upgrade procedure?&#010;Hi,&#010;&#010;we don't have a description of the migration procedure. However, we can&#010;drive you and help you to get 2.0 up and running.&#010;&#010;Could you provide some information about ;&#010;- your configuration (the server.xml file)&#010;- how many entries dyou have in your server&#010;- do you have any added schema elements ?&#010;&#010;Bottom line, the idea is to convert your configuration into something&#010;that it usable for ApacheDS 2.0 (and you can configurate the server&#010;using Studio), and to import your data into the server. If you have&#010;created some AttributeTypes or ObjectClass, we will need to update the&#010;schema.&#010;&#010;It should not be too complicated.&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade from ApacheDS 1.5.3 to 2.0</title>
<author><name>&quot;Abdala, Pablo Javier&quot; &lt;pablo.abdala@hp.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c3EDA05DF4AE56543A68CD3C688AA93F491F52D7F@G4W3232.americas.hpqcorp.net%3e"/>
<id>urn:uuid:%3c3EDA05DF4AE56543A68CD3C688AA93F491F52D7F@G4W3232-americas-hpqcorp-net%3e</id>
<updated>2013-05-17T20:36:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to create and add a self signed certificate in Windows 7</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c51937EFA.4030608@gmail.com%3e"/>
<id>urn:uuid:%3c51937EFA-4030608@gmail-com%3e</id>
<updated>2013-05-15T12:26:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/15/13 2:17 PM, Ashwin Kumar a écrit :&#010;&gt; I am using ldaps (on port 10636) support and followed the instruction (&#010;&gt; http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html) to&#010;&gt; create a keystore and was able to successfully connect to the LDAP server&#010;&gt; with ldaps.&#010;&gt;&#010;&gt; However, when I am using ldp.exe to connect to my ldaps server, I end up&#010;&gt; with:&#010;&gt;&#010;&gt; ld = ldap_sslinit("127.0.0.1", 10636, 1);&#010;&gt; Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);&#010;&gt; Error 81 = ldap_connect(hLdap, NULL);&#010;&gt; Server error: &lt;empty&gt;&#010;&gt; Error &lt;0x51&gt;: Fail to connect to 127.0.0.1&#010;&gt;&#010;&gt; Yes, the certificate is not verified.&#010;&gt;&#010;&gt; How do I create/verify a self-signed certificate. All I have now is the&#010;&gt; keystore file "keyfile.ks"&#010;&gt; How do I generate the certificate so that I will be able to connect via&#010;&gt; ldp.exe?&#010;&gt;&#010;&gt; Can someone point me to the correct documentation?&#010;No idea. You have to ask the peeps who wrote ldp.exe...&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>How to create and add a self signed certificate in Windows 7</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyKC8WNybeG1GXkE2XbtwQrbQoq4AoWPyYEx8HAM8h-Niw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyKC8WNybeG1GXkE2XbtwQrbQoq4AoWPyYEx8HAM8h-Niw@mail-gmail-com%3e</id>
<updated>2013-05-15T12:17:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am using ldaps (on port 10636) support and followed the instruction (&#010;http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html) to&#010;create a keystore and was able to successfully connect to the LDAP server&#010;with ldaps.&#010;&#010;However, when I am using ldp.exe to connect to my ldaps server, I end up&#010;with:&#010;&#010;ld = ldap_sslinit("127.0.0.1", 10636, 1);&#010;Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);&#010;Error 81 = ldap_connect(hLdap, NULL);&#010;Server error: &lt;empty&gt;&#010;Error &lt;0x51&gt;: Fail to connect to 127.0.0.1&#010;&#010;Yes, the certificate is not verified.&#010;&#010;How do I create/verify a self-signed certificate. All I have now is the&#010;keystore file "keyfile.ks"&#010;How do I generate the certificate so that I will be able to connect via&#010;ldp.exe?&#010;&#010;Can someone point me to the correct documentation?&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to disable self-signed certificate validation?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c51934218.7020608@gmail.com%3e"/>
<id>urn:uuid:%3c51934218-7020608@gmail-com%3e</id>
<updated>2013-05-15T08:06:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/15/13 9:44 AM, Ashwin Kumar a écrit :&#010;&gt; OK. I got it working.&#010;&gt; I had to add&#010;&gt;&#010;&gt; TLS_REQCERT never&#010;&gt;&#010;&gt; in ldap.conf&#010;&#010;Exactly :)&#010;&#010;Google is a gold mine !&#010;&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to disable self-signed certificate validation?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c519341F9.3070003@gmail.com%3e"/>
<id>urn:uuid:%3c519341F9-3070003@gmail-com%3e</id>
<updated>2013-05-15T08:06:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/15/13 9:37 AM, Ashwin Kumar a écrit :&#010;&gt; I am using Apache Directory Studio and I have set up the server to run&#010;&gt; securely on SSL.&#010;&gt; This guide helped me getting it working:&#010;&gt; http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&#010;&gt;&#010;&gt; However, when I do use command line tools (ldapsearch)&#010;&gt; I end up with:&#010;&gt; "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"&#010;&gt;&#010;&gt; Enabling the debug logging for ldapsearch, I end up with&#010;&gt; "TLS certificate verification: Error, self signed certificate"&#010;&#010;This may help :&#010;&#010;http://speeves.erikin.com/2007/01/ldapsearch-tls-and-self-signed.html&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to disable self-signed certificate validation?</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyKyteWE=aieR4mYyhTcaufExNcwZpxZh_Ta7HNqiKzHCA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyKyteWE=aieR4mYyhTcaufExNcwZpxZh_Ta7HNqiKzHCA@mail-gmail-com%3e</id>
<updated>2013-05-15T07:44:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
OK. I got it working.&#010;I had to add&#010;&#010;TLS_REQCERT never&#010;&#010;in ldap.conf&#010;&#010;&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;&#010;On Wed, May 15, 2013 at 1:07 PM, Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;wrote:&#010;&#010;&gt; I am using Apache Directory Studio and I have set up the server to run&#010;&gt; securely on SSL.&#010;&gt; This guide helped me getting it working:&#010;&gt; http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&#010;&gt;&#010;&gt; However, when I do use command line tools (ldapsearch)&#010;&gt; I end up with:&#010;&gt; "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"&#010;&gt;&#010;&gt; Enabling the debug logging for ldapsearch, I end up with&#010;&gt; "TLS certificate verification: Error, self signed certificate"&#010;&gt;&#010;&gt; C:\Users\Ashwin&gt;ldapsearch -x -H ldaps://localhost:10636 -d 1&#010;&gt; ldap_url_parse_ext(ldaps://localhost:10636)&#010;&gt; ldap_create&#010;&gt; ldap_url_parse_ext(ldaps://localhost:10636/??base)&#010;&gt; ldap_sasl_bind&#010;&gt; ldap_send_initial_request&#010;&gt; ldap_new_connection 1 1 0&#010;&gt; ldap_int_open_connection&#010;&gt; ldap_connect_to_host: TCP localhost:10636&#010;&gt; ldap_new_socket: 472&#010;&gt; ldap_prepare_socket: 472&#010;&gt; ldap_connect_to_host: Trying ::1 10636&#010;&gt; ldap_pvt_connect: fd: 472 tm: -1 async: 0&#010;&gt; attempting to connect:&#010;&gt; connect errno: 10061&#010;&gt; ldap_close_socket: 472&#010;&gt; ldap_new_socket: 472&#010;&gt; ldap_prepare_socket: 472&#010;&gt; ldap_connect_to_host: Trying 127.0.0.1:10636&#010;&gt; ldap_pvt_connect: fd: 472 tm: -1 async: 0&#010;&gt; attempting to connect:&#010;&gt; connect success&#010;&gt; TLS trace: SSL_connect:before/connect initialization&#010;&gt; TLS trace: SSL_connect:SSLv2/v3 write client hello A&#010;&gt; TLS trace: SSL_connect:SSLv3 read server hello A&#010;&gt; TLS certificate verification: depth: 0, err: 18, subject:&#010;&gt; /C=US/O=ASF/OU=ApacheD&#010;&gt; S/CN=zanzibar, issuer: /C=US/O=ASF/OU=ApacheDS/CN=zanzibar&#010;&gt; TLS certificate verification: Error, self signed certificate&#010;&gt; TLS trace: SSL3 alert write:fatal:unknown CA&#010;&gt; TLS trace: SSL_connect:error in SSLv3 read server certificate B&#010;&gt; TLS trace: SSL_connect:error in SSLv3 read server certificate B&#010;&gt; TLS: can't connect: error:14090086:SSL&#010;&gt; routines:SSL3_GET_SERVER_CERTIFICATE:cert&#010;&gt; ificate verify failed (self signed certificate).&#010;&gt; ldap_err2string&#010;&gt; ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)&#010;&gt;&#010;&gt; How do I get this working? Am I missing something?&#010;&gt;&#010;&gt; --&#010;&gt; Ashwin kumar&#010;&gt; (http://ashwinkumar.me)&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>How to disable self-signed certificate validation?</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyL1Zh5X=2F5op8NmyjfjRHBf1Ou8B0HCKKwB2M9cwG0AA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyL1Zh5X=2F5op8NmyjfjRHBf1Ou8B0HCKKwB2M9cwG0AA@mail-gmail-com%3e</id>
<updated>2013-05-15T07:37:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am using Apache Directory Studio and I have set up the server to run&#010;securely on SSL.&#010;This guide helped me getting it working:&#010;http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&#010;&#010;However, when I do use command line tools (ldapsearch)&#010;I end up with:&#010;"ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"&#010;&#010;Enabling the debug logging for ldapsearch, I end up with&#010;"TLS certificate verification: Error, self signed certificate"&#010;&#010;C:\Users\Ashwin&gt;ldapsearch -x -H ldaps://localhost:10636 -d 1&#010;ldap_url_parse_ext(ldaps://localhost:10636)&#010;ldap_create&#010;ldap_url_parse_ext(ldaps://localhost:10636/??base)&#010;ldap_sasl_bind&#010;ldap_send_initial_request&#010;ldap_new_connection 1 1 0&#010;ldap_int_open_connection&#010;ldap_connect_to_host: TCP localhost:10636&#010;ldap_new_socket: 472&#010;ldap_prepare_socket: 472&#010;ldap_connect_to_host: Trying ::1 10636&#010;ldap_pvt_connect: fd: 472 tm: -1 async: 0&#010;attempting to connect:&#010;connect errno: 10061&#010;ldap_close_socket: 472&#010;ldap_new_socket: 472&#010;ldap_prepare_socket: 472&#010;ldap_connect_to_host: Trying 127.0.0.1:10636&#010;ldap_pvt_connect: fd: 472 tm: -1 async: 0&#010;attempting to connect:&#010;connect success&#010;TLS trace: SSL_connect:before/connect initialization&#010;TLS trace: SSL_connect:SSLv2/v3 write client hello A&#010;TLS trace: SSL_connect:SSLv3 read server hello A&#010;TLS certificate verification: depth: 0, err: 18, subject:&#010;/C=US/O=ASF/OU=ApacheD&#010;S/CN=zanzibar, issuer: /C=US/O=ASF/OU=ApacheDS/CN=zanzibar&#010;TLS certificate verification: Error, self signed certificate&#010;TLS trace: SSL3 alert write:fatal:unknown CA&#010;TLS trace: SSL_connect:error in SSLv3 read server certificate B&#010;TLS trace: SSL_connect:error in SSLv3 read server certificate B&#010;TLS: can't connect: error:14090086:SSL&#010;routines:SSL3_GET_SERVER_CERTIFICATE:cert&#010;ificate verify failed (self signed certificate).&#010;ldap_err2string&#010;ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)&#010;&#010;How do I get this working? Am I missing something?&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can't Open Configuration in Studio</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c51928B2B.6060907@gmail.com%3e"/>
<id>urn:uuid:%3c51928B2B-6060907@gmail-com%3e</id>
<updated>2013-05-14T19:06:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 8:41 PM, Kevin Hamilton a écrit :&#010;&gt; Hey everyone,&#010;&gt;&#010;&gt; I am getting the following error when I click "Open Configuration" on a&#010;&gt; fresh install of M12 on Mac Mountain Lion:&#010;&#010;Yes this is a known issue. An AttributeType has been added in ApacheDS&#010;and Studio is lagging. This is going to be fix this week.&#010;&#010;Sorry for the inconvenience.&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Can't Open Configuration in Studio</title>
<author><name>Kevin Hamilton &lt;khamilton@umem.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAJZgDFcPwHepkU2vAMGy+Y7zc1uXDuHLovtn=GVqdfp2Qsrh2g@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAJZgDFcPwHepkU2vAMGy+Y7zc1uXDuHLovtn=GVqdfp2Qsrh2g@mail-gmail-com%3e</id>
<updated>2013-05-14T18:41:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hey everyone,&#010;&#010;I am getting the following error when I click "Open Configuration" on a&#010;fresh install of M12 on Mac Mountain Lion:&#010;&#010;Unable to load the configuration.&#010;&#010; - ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&#010;org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException:&#010;ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&#010;at&#010;org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317)&#010;&#010;at&#010;org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47)&#010;&#010;at&#010;org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623)&#010;&#010;at&#010;org.apache.directory.api.ldap.model.entry.DefaultEntry.&lt;init&gt;(DefaultEntry.java:311)&#010;&#010;at&#010;org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.readConfiguration(LoadConfigurationRunnable.java:359)&#010;&#010;at&#010;org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.getConfiguration(LoadConfigurationRunnable.java:182)&#010;&#010;at&#010;org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.run(LoadConfigurationRunnable.java:127)&#010;&#010;at&#010;org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:83)&#010;&#010;at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)&#010;&#010;Caused by: org.apache.directory.api.ldap.model.exception.LdapException:&#010;ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&#010;at&#010;org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176)&#010;&#010;at&#010;org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313)&#010;&#010;... 8 more&#010;&#010;&#010;ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;Am I doing something stupid?&#010;&#010;Thanks,&#010;Kevin&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-eD1d6Z7JEOmN-Aoo=d9mHJoWWBMU-QadPuQShMc+7wGQ@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-eD1d6Z7JEOmN-Aoo=d9mHJoWWBMU-QadPuQShMc+7wGQ@mail-gmail-com%3e</id>
<updated>2013-05-14T09:18:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 2:47 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; I just reproduced it.&#010;&gt;&#010;it would be great if you can file a bug report with the details to&#010;reproduce this issue&#010;&#010;&gt; On 14 May 2013 11:14, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&gt;&#010;&gt; &gt; On Tue, May 14, 2013 at 2:43 PM, Kiran Ayyagari &lt;kayyagari@apache.org&#010;&gt; &gt; &gt;wrote:&#010;&gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; On Tue, May 14, 2013 at 1:59 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; Perhaps this is what caused deletion. If replication consumer cannot&#010;&gt; see&#010;&gt; &gt; &gt;&gt; the partition in the same way as studio cannot then deletion would&#010;&gt; &gt; &gt;&gt; start....&#010;&gt; &gt; &gt;&gt;&#010;&gt; &gt; &gt; looks like an issue with the API (LdapNetworkConnection)&#010;&gt; &gt; &gt;&#010;&gt; &gt; BUT I still can't think of any situation how this can happen&#010;&gt; &gt;&#010;&gt; &gt; &gt;  On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt; I did not move data around. I was just replacing the&#010;&gt; &gt; &gt;&gt; &gt; lib/apacheds-service.jar file.&#010;&gt; &gt; &gt;&gt; &gt; Another interesting observation: I cannot see cn=eumetsat partition&#010;&gt; in&#010;&gt; &gt; &gt;&gt; the&#010;&gt; &gt; &gt;&gt; &gt; studio although I can query it using ldapsearch.&#010;&gt; &gt; &gt;&gt; &gt;  On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt;&#010;&gt; wrote:&#010;&gt; &gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt;&#010;wrote:&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; No I did not delete anything anywhere. The only what was&#010;done is:&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; -Stop both serevrs&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - update config.ldif on both servers to add missing attribute&#010;for&#010;&gt; &gt; M12&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - replace the jar file&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - attempt to start one of the servers.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - put back old jar file&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - start second server. Check the content - few entries missing.&#010;&gt; &gt; Check&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; again, even more entries missing.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; I *guess* this is where the problem might have happened, while&#010;&gt; &gt; copying&#010;&gt; &gt; &gt;&gt; &gt;&gt; files back to this second&#010;&gt; &gt; &gt;&gt; &gt;&gt; server you might have copied old partition data  triggering a&#010;&gt; delete&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; - check the content on another server - more and more entries&#010;are&#010;&gt; &gt; &gt;&gt;  gone&#010;&gt; &gt; &gt;&gt; &gt;&gt; and&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; finally, all is gone.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;&#010;&gt; &gt; &gt;&gt; elecharny@gmail.com&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;wrote:&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom&#010;schema.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers&#010;&gt; replicated.&#010;&gt; &gt; &gt;&gt; The&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine.&#010;Today after&#010;&gt; &gt; &gt;&gt; server&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; restart&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had&#010;fewer and&#010;&gt; &gt; fewer&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; entries&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; in&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; The only message I got when I started second server&#010;was:&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt;&#010;&gt; &gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000&#010;but&#010;&gt; there&#010;&gt; &gt; &gt;&gt; is no&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; event&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; My guess is that you deleted all the entries from one&#010;server&#010;&gt; &gt; before&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; injectng the new schema, then  reconnected the server&#010;to the&#010;&gt; &gt; other&#010;&gt; &gt; &gt;&gt; &gt;&gt; one.&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; As the date of modification on the deleted entries is&#010;more&#010;&gt; &gt; recent,&#010;&gt; &gt; &gt;&gt; &gt;&gt; those&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; --&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; Regards,&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; Cordialement,&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt; www.iktek.com&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&gt; --&#010;&gt; &gt; &gt;&gt; &gt;&gt; Kiran Ayyagari&#010;&gt; &gt; &gt;&gt; &gt;&gt; http://keydap.com&#010;&gt; &gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt; &gt;&gt; &gt;&#010;&gt; &gt; &gt;&gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; --&#010;&gt; &gt; &gt; Kiran Ayyagari&#010;&gt; &gt; &gt; http://keydap.com&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Kiran Ayyagari&#010;&gt; &gt; http://keydap.com&#010;&gt; &gt;&#010;&gt;&#010;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA_1rOeKKo+-+=yBdvKRC8EGKkdz=ocV8E4AO0bmXxiupw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA_1rOeKKo+-+=yBdvKRC8EGKkdz=ocV8E4AO0bmXxiupw@mail-gmail-com%3e</id>
<updated>2013-05-14T09:17:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I just reproduced it.&#010;On 14 May 2013 11:14, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&#010;&gt; On Tue, May 14, 2013 at 2:43 PM, Kiran Ayyagari &lt;kayyagari@apache.org&#010;&gt; &gt;wrote:&#010;&gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; On Tue, May 14, 2013 at 1:59 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt;&#010;&gt; &gt;&gt; Perhaps this is what caused deletion. If replication consumer cannot see&#010;&gt; &gt;&gt; the partition in the same way as studio cannot then deletion would&#010;&gt; &gt;&gt; start....&#010;&gt; &gt;&gt;&#010;&gt; &gt; looks like an issue with the API (LdapNetworkConnection)&#010;&gt; &gt;&#010;&gt; BUT I still can't think of any situation how this can happen&#010;&gt;&#010;&gt; &gt;  On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt; I did not move data around. I was just replacing the&#010;&gt; &gt;&gt; &gt; lib/apacheds-service.jar file.&#010;&gt; &gt;&gt; &gt; Another interesting observation: I cannot see cn=eumetsat partition in&#010;&gt; &gt;&gt; the&#010;&gt; &gt;&gt; &gt; studio although I can query it using ldapsearch.&#010;&gt; &gt;&gt; &gt;  On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; No I did not delete anything anywhere. The only what was done&#010;is:&#010;&gt; &gt;&gt; &gt;&gt; &gt; -Stop both serevrs&#010;&gt; &gt;&gt; &gt;&gt; &gt; - update config.ldif on both servers to add missing attribute&#010;for&#010;&gt; M12&#010;&gt; &gt;&gt; &gt;&gt; &gt; - replace the jar file&#010;&gt; &gt;&gt; &gt;&gt; &gt; - attempt to start one of the servers.&#010;&gt; &gt;&gt; &gt;&gt; &gt; - put back old jar file&#010;&gt; &gt;&gt; &gt;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; &gt;&gt; &gt;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt; &gt;&gt; &gt;&gt; &gt; - start second server. Check the content - few entries missing.&#010;&gt; Check&#010;&gt; &gt;&gt; &gt;&gt; &gt; again, even more entries missing.&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; I *guess* this is where the problem might have happened, while&#010;&gt; copying&#010;&gt; &gt;&gt; &gt;&gt; files back to this second&#010;&gt; &gt;&gt; &gt;&gt; server you might have copied old partition data  triggering a delete&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; - check the content on another server - more and more entries&#010;are&#010;&gt; &gt;&gt;  gone&#010;&gt; &gt;&gt; &gt;&gt; and&#010;&gt; &gt;&gt; &gt;&gt; &gt; finally, all is gone.&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;&#010;&gt; &gt;&gt; elecharny@gmail.com&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;wrote:&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated.&#010;&gt; &gt;&gt; The&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today&#010;after&#010;&gt; &gt;&gt; server&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; restart&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer&#010;and&#010;&gt; fewer&#010;&gt; &gt;&gt; &gt;&gt; &gt; entries&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; in&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; The only message I got when I started second server&#010;was:&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000&#010;but there&#010;&gt; &gt;&gt; is no&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; event&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; My guess is that you deleted all the entries from one server&#010;&gt; before&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to&#010;the&#010;&gt; other&#010;&gt; &gt;&gt; &gt;&gt; one.&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; As the date of modification on the deleted entries is more&#010;&gt; recent,&#010;&gt; &gt;&gt; &gt;&gt; those&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; --&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; Regards,&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; Cordialement,&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt; www.iktek.com&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&gt; --&#010;&gt; &gt;&gt; &gt;&gt; Kiran Ayyagari&#010;&gt; &gt;&gt; &gt;&gt; http://keydap.com&#010;&gt; &gt;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Kiran Ayyagari&#010;&gt; &gt; http://keydap.com&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Kiran Ayyagari&#010;&gt; http://keydap.com&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-f6Wz=Ow9bQwSd9bh+CREh_zuiJKBbDiGeNpWHbP+tnew@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-f6Wz=Ow9bQwSd9bh+CREh_zuiJKBbDiGeNpWHbP+tnew@mail-gmail-com%3e</id>
<updated>2013-05-14T09:14:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 2:43 PM, Kiran Ayyagari &lt;kayyagari@apache.org&gt;wrote:&#010;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; On Tue, May 14, 2013 at 1:59 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&#010;&gt;&gt; Perhaps this is what caused deletion. If replication consumer cannot see&#010;&gt;&gt; the partition in the same way as studio cannot then deletion would&#010;&gt;&gt; start....&#010;&gt;&gt;&#010;&gt; looks like an issue with the API (LdapNetworkConnection)&#010;&gt;&#010;BUT I still can't think of any situation how this can happen&#010;&#010;&gt;  On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&gt;&#010;&gt;&gt; &gt; I did not move data around. I was just replacing the&#010;&gt;&gt; &gt; lib/apacheds-service.jar file.&#010;&gt;&gt; &gt; Another interesting observation: I cannot see cn=eumetsat partition in&#010;&gt;&gt; the&#010;&gt;&gt; &gt; studio although I can query it using ldapsearch.&#010;&gt;&gt; &gt;  On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&gt; &gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt;&gt; &gt;&gt; &gt; -Stop both serevrs&#010;&gt;&gt; &gt;&gt; &gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt;&gt; &gt;&gt; &gt; - replace the jar file&#010;&gt;&gt; &gt;&gt; &gt; - attempt to start one of the servers.&#010;&gt;&gt; &gt;&gt; &gt; - put back old jar file&#010;&gt;&gt; &gt;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt;&gt; &gt;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt;&gt; &gt;&gt; &gt; - start second server. Check the content - few entries missing. Check&#010;&gt;&gt; &gt;&gt; &gt; again, even more entries missing.&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; I *guess* this is where the problem might have happened, while copying&#010;&gt;&gt; &gt;&gt; files back to this second&#010;&gt;&gt; &gt;&gt; server you might have copied old partition data  triggering a delete&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&gt; &gt; - check the content on another server - more and more entries are&#010;&gt;&gt;  gone&#010;&gt;&gt; &gt;&gt; and&#010;&gt;&gt; &gt;&gt; &gt; finally, all is gone.&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;&#010;&gt;&gt; elecharny@gmail.com&#010;&gt;&gt; &gt;&gt; &gt; &gt;wrote:&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated.&#010;&gt;&gt; The&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today after&#010;&gt;&gt; server&#010;&gt;&gt; &gt;&gt; &gt; &gt; restart&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and&#010;fewer&#010;&gt;&gt; &gt;&gt; &gt; entries&#010;&gt;&gt; &gt;&gt; &gt; &gt; in&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but&#010;there&#010;&gt;&gt; is no&#010;&gt;&gt; &gt;&gt; &gt; &gt; event&#010;&gt;&gt; &gt;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt;&gt; &gt;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to the other&#010;&gt;&gt; &gt;&gt; one.&#010;&gt;&gt; &gt;&gt; &gt; &gt; As the date of modification on the deleted entries is more recent,&#010;&gt;&gt; &gt;&gt; those&#010;&gt;&gt; &gt;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt; --&#010;&gt;&gt; &gt;&gt; &gt; &gt; Regards,&#010;&gt;&gt; &gt;&gt; &gt; &gt; Cordialement,&#010;&gt;&gt; &gt;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt;&gt; &gt;&gt; &gt; &gt; www.iktek.com&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&gt; &gt;&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&gt; --&#010;&gt;&gt; &gt;&gt; Kiran Ayyagari&#010;&gt;&gt; &gt;&gt; http://keydap.com&#010;&gt;&gt; &gt;&gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Kiran Ayyagari&#010;&gt; http://keydap.com&#010;&gt;&#010;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-fK0LN2OXaosAd_1NE-b6UnQ9V0K2ivN2s==u=oRobLgw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-fK0LN2OXaosAd_1NE-b6UnQ9V0K2ivN2s==u=oRobLgw@mail-gmail-com%3e</id>
<updated>2013-05-14T09:13:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 1:59 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; Perhaps this is what caused deletion. If replication consumer cannot see&#010;&gt; the partition in the same way as studio cannot then deletion would&#010;&gt; start....&#010;&gt;&#010;looks like an issue with the API (LdapNetworkConnection)&#010;&#010;&gt;  On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; &gt; I did not move data around. I was just replacing the&#010;&gt; &gt; lib/apacheds-service.jar file.&#010;&gt; &gt; Another interesting observation: I cannot see cn=eumetsat partition in&#010;&gt; the&#010;&gt; &gt; studio although I can query it using ldapsearch.&#010;&gt; &gt;  On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&gt; &gt;&#010;&gt; &gt;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt; &gt;&gt; &gt; -Stop both serevrs&#010;&gt; &gt;&gt; &gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt; &gt;&gt; &gt; - replace the jar file&#010;&gt; &gt;&gt; &gt; - attempt to start one of the servers.&#010;&gt; &gt;&gt; &gt; - put back old jar file&#010;&gt; &gt;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; &gt;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt; &gt;&gt; &gt; - start second server. Check the content - few entries missing. Check&#010;&gt; &gt;&gt; &gt; again, even more entries missing.&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; I *guess* this is where the problem might have happened, while copying&#010;&gt; &gt;&gt; files back to this second&#010;&gt; &gt;&gt; server you might have copied old partition data  triggering a delete&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt; &gt; - check the content on another server - more and more entries are&#010;&gt;  gone&#010;&gt; &gt;&gt; and&#010;&gt; &gt;&gt; &gt; finally, all is gone.&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;&#010;&gt; elecharny@gmail.com&#010;&gt; &gt;&gt; &gt; &gt;wrote:&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated.&#010;The&#010;&gt; &gt;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today after&#010;&gt; server&#010;&gt; &gt;&gt; &gt; &gt; restart&#010;&gt; &gt;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt; &gt;&gt; &gt; entries&#010;&gt; &gt;&gt; &gt; &gt; in&#010;&gt; &gt;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt;&gt; &gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt; &gt;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt;&gt; &gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there&#010;is&#010;&gt; no&#010;&gt; &gt;&gt; &gt; &gt; event&#010;&gt; &gt;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt; &gt;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to the other&#010;&gt; &gt;&gt; one.&#010;&gt; &gt;&gt; &gt; &gt; As the date of modification on the deleted entries is more recent,&#010;&gt; &gt;&gt; those&#010;&gt; &gt;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt; --&#010;&gt; &gt;&gt; &gt; &gt; Regards,&#010;&gt; &gt;&gt; &gt; &gt; Cordialement,&#010;&gt; &gt;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt; &gt;&gt; &gt; &gt; www.iktek.com&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt; &gt;&#010;&gt; &gt;&gt; &gt;&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt;&#010;&gt; &gt;&gt; --&#010;&gt; &gt;&gt; Kiran Ayyagari&#010;&gt; &gt;&gt; http://keydap.com&#010;&gt; &gt;&gt;&#010;&gt; &gt;&#010;&gt;&#010;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5191FBDC.2090903@gmail.com%3e"/>
<id>urn:uuid:%3c5191FBDC-2090903@gmail-com%3e</id>
<updated>2013-05-14T08:54:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 10:29 AM, Borys a écrit :&#010;&gt; Perhaps this is what caused deletion. If replication consumer cannot see&#010;&gt; the partition in the same way as studio cannot then deletion would start....&#010;&#010;Morst certainly. The old server will be updated with the new server data&#010;(or lack of data...)&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5191FA2E.8040105@gmail.com%3e"/>
<id>urn:uuid:%3c5191FA2E-8040105@gmail-com%3e</id>
<updated>2013-05-14T08:47:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 10:19 AM, Ashwin Kumar a écrit :&#010;&gt; On Tue, May 14, 2013 at 1:33 PM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&gt;&#010;&gt;&gt; This is *not* something good from the user experience, that's&#010;&gt;&gt; for sure...&#010;&gt;&gt;&#010;&gt; You are absolutely right.&#010;&gt;&#010;&gt; Reported the issue here: https://issues.apache.org/jira/browse/DIRSTUDIO-908&#010;&#010;Many thanks ! This should be easy to fix.&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA_UStY4g8oDmEX1dZcf6gF4k_tDBeSWdoSm8Dgxn=Gm6w@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA_UStY4g8oDmEX1dZcf6gF4k_tDBeSWdoSm8Dgxn=Gm6w@mail-gmail-com%3e</id>
<updated>2013-05-14T08:29:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
And after removal of the consumers and restarting the servers my partition&#010;is visible again! This is a nasty bug, isn't it?&#010; On 14 May 2013 10:27, sborys@gmail.com wrote:&#010;&#010;Perhaps this is what caused deletion. If replication consumer cannot see&#010;the partition in the same way as studio cannot then deletion would start....&#010; On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&#010;I did not move data around. I was just replacing the&#010;lib/apacheds-service.jar file.&#010;Another interesting observation: I cannot see cn=eumetsat partition in the&#010;studio although I can query it using ldapsearch.&#010; On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&#010;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; &gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt; &gt; -Stop both serevrs&#010;&gt; &gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt; &gt; - replace the jar file&#010;&gt; &gt; - attempt to start one of the servers.&#010;&gt; &gt; - put back old jar file&#010;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt; &gt; - start second server. Check the content - few entries missing. Check&#010;&gt; &gt; again, even more entries missing.&#010;&gt; &gt;&#010;&gt; I *guess* this is where the problem might have happened, while copying&#010;&gt; files back to this second&#010;&gt; server you might have copied old partition data  triggering a delete&#010;&gt;&#010;&gt; &gt; - check the content on another server - more and more entries are  gone&#010;&gt; and&#010;&gt; &gt; finally, all is gone.&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&#010;&gt; &gt; &gt;wrote:&#010;&gt; &gt;&#010;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt; &gt; &gt; restart&#010;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt; &gt; entries&#010;&gt; &gt; &gt; in&#010;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no&#010;&gt; &gt; &gt; event&#010;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to the other one.&#010;&gt; &gt; &gt; As the date of modification on the deleted entries is more recent,&#010;&gt; those&#010;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; --&#010;&gt; &gt; &gt; Regards,&#010;&gt; &gt; &gt; Cordialement,&#010;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt; &gt; &gt; www.iktek.com&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Kiran Ayyagari&#010;&gt; http://keydap.com&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA9LLz8P5fqHm1ErKOxUYe1-52gLnnqfZHemnOxRTndwOw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA9LLz8P5fqHm1ErKOxUYe1-52gLnnqfZHemnOxRTndwOw@mail-gmail-com%3e</id>
<updated>2013-05-14T08:29:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Perhaps this is what caused deletion. If replication consumer cannot see&#010;the partition in the same way as studio cannot then deletion would start....&#010; On 14 May 2013 10:17, "Borys" &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; I did not move data around. I was just replacing the&#010;&gt; lib/apacheds-service.jar file.&#010;&gt; Another interesting observation: I cannot see cn=eumetsat partition in the&#010;&gt; studio although I can query it using ldapsearch.&#010;&gt;  On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&gt;&#010;&gt;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&gt;&#010;&gt;&gt; &gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt;&gt; &gt; -Stop both serevrs&#010;&gt;&gt; &gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt;&gt; &gt; - replace the jar file&#010;&gt;&gt; &gt; - attempt to start one of the servers.&#010;&gt;&gt; &gt; - put back old jar file&#010;&gt;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt;&gt; &gt; - start second server. Check the content - few entries missing. Check&#010;&gt;&gt; &gt; again, even more entries missing.&#010;&gt;&gt; &gt;&#010;&gt;&gt; I *guess* this is where the problem might have happened, while copying&#010;&gt;&gt; files back to this second&#010;&gt;&gt; server you might have copied old partition data  triggering a delete&#010;&gt;&gt;&#010;&gt;&gt; &gt; - check the content on another server - more and more entries are  gone&#010;&gt;&gt; and&#010;&gt;&gt; &gt; finally, all is gone.&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&#010;&gt;&gt; &gt; &gt;wrote:&#010;&gt;&gt; &gt;&#010;&gt;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt;&gt; &gt; &gt; restart&#010;&gt;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt;&gt; &gt; entries&#010;&gt;&gt; &gt; &gt; in&#010;&gt;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt;&gt; &gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt;&gt; &gt; &gt; &gt;&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is&#010;no&#010;&gt;&gt; &gt; &gt; event&#010;&gt;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to the other&#010;&gt;&gt; one.&#010;&gt;&gt; &gt; &gt; As the date of modification on the deleted entries is more recent,&#010;&gt;&gt; those&#010;&gt;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt; &gt; --&#010;&gt;&gt; &gt; &gt; Regards,&#010;&gt;&gt; &gt; &gt; Cordialement,&#010;&gt;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt;&gt; &gt; &gt; www.iktek.com&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt; &gt;&#010;&gt;&gt; &gt;&#010;&gt;&gt;&#010;&gt;&gt;&#010;&gt;&gt;&#010;&gt;&gt; --&#010;&gt;&gt; Kiran Ayyagari&#010;&gt;&gt; http://keydap.com&#010;&gt;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyKW7Gcqux7q8A3VKRJ7Fpr15eM7B+1edOUJXnhAevmDfg@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyKW7Gcqux7q8A3VKRJ7Fpr15eM7B+1edOUJXnhAevmDfg@mail-gmail-com%3e</id>
<updated>2013-05-14T08:19:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 1:33 PM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&#010;&gt; This is *not* something good from the user experience, that's&#010;&gt; for sure...&#010;&gt;&#010;&#010;You are absolutely right.&#010;&#010;Reported the issue here: https://issues.apache.org/jira/browse/DIRSTUDIO-908&#010;&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA9YHZ6HVaC0naJxP6+HV2gBzCwPzzzcJ=CrXsu_rxErEg@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA9YHZ6HVaC0naJxP6+HV2gBzCwPzzzcJ=CrXsu_rxErEg@mail-gmail-com%3e</id>
<updated>2013-05-14T08:17:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I did not move data around. I was just replacing the&#010;lib/apacheds-service.jar file.&#010;Another interesting observation: I cannot see cn=eumetsat partition in the&#010;studio although I can query it using ldapsearch.&#010; On 14 May 2013 09:46, "Kiran Ayyagari" &lt;kayyagari@apache.org&gt; wrote:&#010;&#010;&gt; On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; &gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt; &gt; -Stop both serevrs&#010;&gt; &gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt; &gt; - replace the jar file&#010;&gt; &gt; - attempt to start one of the servers.&#010;&gt; &gt; - put back old jar file&#010;&gt; &gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; &gt; - start one server server. Check the content - fine.&#010;&gt; &gt; - start second server. Check the content - few entries missing. Check&#010;&gt; &gt; again, even more entries missing.&#010;&gt; &gt;&#010;&gt; I *guess* this is where the problem might have happened, while copying&#010;&gt; files back to this second&#010;&gt; server you might have copied old partition data  triggering a delete&#010;&gt;&#010;&gt; &gt; - check the content on another server - more and more entries are  gone&#010;&gt; and&#010;&gt; &gt; finally, all is gone.&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&#010;&gt; &gt; &gt;wrote:&#010;&gt; &gt;&#010;&gt; &gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt; &gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt; &gt; &gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt; &gt; &gt; restart&#010;&gt; &gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt; &gt; entries&#010;&gt; &gt; &gt; in&#010;&gt; &gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt; &gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no&#010;&gt; &gt; &gt; event&#010;&gt; &gt; &gt; &gt; log associated with this replica&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt; &gt; &gt; injectng the new schema, then  reconnected the server to the other one.&#010;&gt; &gt; &gt; As the date of modification on the deleted entries is more recent,&#010;&gt; those&#010;&gt; &gt; &gt; deletions get 'replicated'&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; --&#010;&gt; &gt; &gt; Regards,&#010;&gt; &gt; &gt; Cordialement,&#010;&gt; &gt; &gt; Emmanuel Lécharny&#010;&gt; &gt; &gt; www.iktek.com&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Kiran Ayyagari&#010;&gt; http://keydap.com&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5191EFC9.1020708@gmail.com%3e"/>
<id>urn:uuid:%3c5191EFC9-1020708@gmail-com%3e</id>
<updated>2013-05-14T08:03:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 9:58 AM, Ashwin Kumar a écrit :&#010;&gt; On Tue, May 14, 2013 at 1:20 PM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&gt;&#010;&gt;&gt; use / instead of \ in the path.&#010;&gt;&#010;&gt; Wow, Thanks a lot. Been trying to understand this from past 6 hours. Thanks&#010;&gt; again.&#010;&#010;So I guess it works...&#010;&#010;It's very likely that the \ will escape some chars, producing sme weird&#010;results. This is *not* something good from the user experience, that's&#010;for sure...&#010;&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyJ44rEBkJPc_rbAX__ss+QD+2AZNkwLHSK-HX8gt5mZVw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyJ44rEBkJPc_rbAX__ss+QD+2AZNkwLHSK-HX8gt5mZVw@mail-gmail-com%3e</id>
<updated>2013-05-14T07:58:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 1:20 PM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&#010;&gt; use / instead of \ in the path.&#010;&#010;&#010;Wow, Thanks a lot. Been trying to understand this from past 6 hours. Thanks&#010;again.&#010;&#010;Btw, it would deserve a JIRA : there is no reason oen should not be able&#010;&gt; to inject windows path in Studio.&#010;&#010;Will create a bug report on this issue.&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5191ECCF.7080209@gmail.com%3e"/>
<id>urn:uuid:%3c5191ECCF-7080209@gmail-com%3e</id>
<updated>2013-05-14T07:50:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 9:39 AM, Ashwin Kumar a écrit :&#010;&gt; Here are the images.&#010;&gt; Please click on the link below:&#010;&gt; https://plus.google.com/photos/104488956102051410647/albums/5877735847213867505?authkey=CLHL2fy-hu2XSg&#010;&#010;use / instead of \ in the path.&#010;&#010;Btw, it would deserve a JIRA : there is no reason oen should not be able&#010;to inject windows path in Studio.&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-c52zh6Qn5zALonSjY5oz4i3hyfEEEi9bMt1W6=xEz+Tw@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-c52zh6Qn5zALonSjY5oz4i3hyfEEEi9bMt1W6=xEz+Tw@mail-gmail-com%3e</id>
<updated>2013-05-14T07:45:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 1:08 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt; -Stop both serevrs&#010;&gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt; - replace the jar file&#010;&gt; - attempt to start one of the servers.&#010;&gt; - put back old jar file&#010;&gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; - start one server server. Check the content - fine.&#010;&gt; - start second server. Check the content - few entries missing. Check&#010;&gt; again, even more entries missing.&#010;&gt;&#010;I *guess* this is where the problem might have happened, while copying&#010;files back to this second&#010;server you might have copied old partition data  triggering a delete&#010;&#010;&gt; - check the content on another server - more and more entries are  gone and&#010;&gt; finally, all is gone.&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&#010;&gt; &gt;wrote:&#010;&gt;&#010;&gt; &gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt; &gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt; &gt; restart&#010;&gt; &gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt; entries&#010;&gt; &gt; in&#010;&gt; &gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt; &gt; The only message I got when I started second server was:&#010;&gt; &gt; &gt; [07:05:40] WARN&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt; &gt; - received a valid cookie&#010;&gt; &gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no&#010;&gt; &gt; event&#010;&gt; &gt; &gt; log associated with this replica&#010;&gt; &gt;&#010;&gt; &gt; My guess is that you deleted all the entries from one server before&#010;&gt; &gt; injectng the new schema, then  reconnected the server to the other one.&#010;&gt; &gt; As the date of modification on the deleted entries is more recent, those&#010;&gt; &gt; deletions get 'replicated'&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Regards,&#010;&gt; &gt; Cordialement,&#010;&gt; &gt; Emmanuel Lécharny&#010;&gt; &gt; www.iktek.com&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt;&#010;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA8sgNt9ZW5GEPv-pXCgNFWMJxcx4mw8qasVd8RNAQU2-A@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA8sgNt9ZW5GEPv-pXCgNFWMJxcx4mw8qasVd8RNAQU2-A@mail-gmail-com%3e</id>
<updated>2013-05-14T07:45:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On the server that was started first and had all entries until the start of&#010;second server I got this:&#010;[07:09:14] ERROR&#010;[org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl]&#010;- ERR_251_PARENT_NOT_FOUND Parent cn=ogs,cn=eumetsat not found&#010;org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException:&#010;ERR_251_PARENT_NOT_FOUND Parent cn=ogs,cn=eumetsat not found&#010;&#010;And later on the second server similar:&#010;[07:09:27] ERROR&#010;[org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl]&#010;- ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found&#010;org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException:&#010;ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found&#010;&#010;I guess this has triggered deletion. But I can swear that I did not delete&#010;any file on neither of the servers!&#010;&#010;&#010;&#010;&#010;On Tue, May 14, 2013 at 9:38 AM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; No I did not delete anything anywhere. The only what was done is:&#010;&gt; -Stop both serevrs&#010;&gt; - update config.ldif on both servers to add missing attribute for M12&#010;&gt; - replace the jar file&#010;&gt; - attempt to start one of the servers.&#010;&gt; - put back old jar file&#010;&gt; - deleted the attribute from the config.ldif on both servers&#010;&gt; - start one server server. Check the content - fine.&#010;&gt; - start second server. Check the content - few entries missing. Check&#010;&gt; again, even more entries missing.&#010;&gt; - check the content on another server - more and more entries are  gone&#010;&gt; and finally, all is gone.&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&gt;&#010;&gt;&gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt;&gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt;&gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt;&gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt;&gt; restart&#010;&gt;&gt; &gt; the replicated content start to "shrink" . I had fewer and fewer&#010;&gt;&gt; entries in&#010;&gt;&gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt;&gt; &gt; The only message I got when I started second server was:&#010;&gt;&gt; &gt; [07:05:40] WARN&#010;&gt;&gt; &gt;&#010;&gt;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt;&gt; &gt; - received a valid cookie&#010;&gt;&gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no&#010;&gt;&gt; event&#010;&gt;&gt; &gt; log associated with this replica&#010;&gt;&gt;&#010;&gt;&gt; My guess is that you deleted all the entries from one server before&#010;&gt;&gt; injectng the new schema, then  reconnected the server to the other one.&#010;&gt;&gt; As the date of modification on the deleted entries is more recent, those&#010;&gt;&gt; deletions get 'replicated'&#010;&gt;&gt;&#010;&gt;&gt;&#010;&gt;&gt; --&#010;&gt;&gt; Regards,&#010;&gt;&gt; Cordialement,&#010;&gt;&gt; Emmanuel Lécharny&#010;&gt;&gt; www.iktek.com&#010;&gt;&gt;&#010;&gt;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAN4SqyKJbeA1T6maNQ7u7L+YsL_Qo72ZMyxgPDxGUdtLDJtKmg@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAN4SqyKJbeA1T6maNQ7u7L+YsL_Qo72ZMyxgPDxGUdtLDJtKmg@mail-gmail-com%3e</id>
<updated>2013-05-14T07:39:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Here are the images.&#010;Please click on the link below:&#010;https://plus.google.com/photos/104488956102051410647/albums/5877735847213867505?authkey=CLHL2fy-hu2XSg&#010;&#010;--&#010;Ashwin kumar&#010;(http://ashwinkumar.me)&#010;&#010;&#010;On Tue, May 14, 2013 at 1:04 PM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&#010;&gt; Le 5/14/13 9:21 AM, Ashwin Kumar a écrit :&#010;&gt; &gt; I am using Apache Directory Studio for testing LDAP services for an&#010;&gt; &gt; application. I am lost in configuring the LDAP with SSL.&#010;&gt; &gt;&#010;&gt; &gt; So far I've tried:&#010;&gt; &gt;&#010;&gt; &gt;    1. Started ApacheDS with port 10389 (ldap://) and also on 10636&#010;&gt; &gt;    (ldaps://)&#010;&gt; &gt;&#010;&gt; &gt; Here's the screenshot of ldap config in Apache Directory studio:&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; [image: Inline image 1]&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Then I followed the instructions as mentioned here: How to enable&#010;&gt; &gt; SSL&lt;http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&gt;&#010;&gt; &gt;&#010;&gt; &gt; I generated the keys using&#010;&gt; &gt; keytool&lt;&#010;&gt; http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html&gt;&#010;&gt; &gt; :&#010;&gt; &gt;&#010;&gt; &gt; C:\LDAP\keys&gt;keytool -genkey -keyalg "RSA" -dname "&#010;&gt; &gt; mojo,cn=com" -alias mojo -keystore mojo1.ks -storepass secret -validity&#010;&gt; 3650&#010;&gt; &gt;&#010;&gt; &gt; and then I am using this key in Apache Directory Studio (and restarting&#010;&gt; the&#010;&gt; &gt; LDAP server), I end up with this error:&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; [image: Inline image 2]&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; Can someone tell what I am doing wrong? Is there something I am missing?&#010;&gt;&#010;&gt; The images have been strip of the mails by our mail system.&#010;&gt;&#010;&gt; I suggest you create a JIRA, and attach the images to it.&#010;&gt;&#010;&gt; --&#010;&gt; Regards,&#010;&gt; Cordialement,&#010;&gt; Emmanuel Lécharny&#010;&gt; www.iktek.com&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Borys &lt;sborys@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCAKzDVA8jVhJ+bSJ6Nx40i=4hW-QNidQeyyK2fB05SQ=nf-cFEA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCAKzDVA8jVhJ+bSJ6Nx40i=4hW-QNidQeyyK2fB05SQ=nf-cFEA@mail-gmail-com%3e</id>
<updated>2013-05-14T07:38:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
No I did not delete anything anywhere. The only what was done is:&#010;-Stop both serevrs&#010;- update config.ldif on both servers to add missing attribute for M12&#010;- replace the jar file&#010;- attempt to start one of the servers.&#010;- put back old jar file&#010;- deleted the attribute from the config.ldif on both servers&#010;- start one server server. Check the content - fine.&#010;- start second server. Check the content - few entries missing. Check&#010;again, even more entries missing.&#010;- check the content on another server - more and more entries are  gone and&#010;finally, all is gone.&#010;&#010;&#010;&#010;&#010;&#010;On Tue, May 14, 2013 at 9:32 AM, Emmanuel Lécharny &lt;elecharny@gmail.com&gt;wrote:&#010;&#010;&gt; Le 5/14/13 9:16 AM, Borys a écrit :&#010;&gt; &gt; That is exactly the problem, I did add some custom schema.&#010;&gt; &gt; Now I have another big problem. I have two servers replicated. The&#010;&gt; &gt; replication was setup yesterday and worked fine. Today after server&#010;&gt; restart&#010;&gt; &gt; the replicated content start to "shrink" . I had fewer and fewer entries&#010;&gt; in&#010;&gt; &gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt; &gt; The only message I got when I started second server was:&#010;&gt; &gt; [07:05:40] WARN&#010;&gt; &gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; &gt; - received a valid cookie&#010;&gt; &gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no&#010;&gt; event&#010;&gt; &gt; log associated with this replica&#010;&gt;&#010;&gt; My guess is that you deleted all the entries from one server before&#010;&gt; injectng the new schema, then  reconnected the server to the other one.&#010;&gt; As the date of modification on the deleted entries is more recent, those&#010;&gt; deletions get 'replicated'&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; Regards,&#010;&gt; Cordialement,&#010;&gt; Emmanuel Lécharny&#010;&gt; www.iktek.com&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-d0GZ07Kw7PmhC14Rk-n74R2WeRRBqX6MrKCN6kh-b4=A@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-d0GZ07Kw7PmhC14Rk-n74R2WeRRBqX6MrKCN6kh-b4=A@mail-gmail-com%3e</id>
<updated>2013-05-14T07:38:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
if all that you are trying to do is testing ldaps:// then just connect&#010;directly to server, no need to setup your own certificate unless you want&#010;to replace the existing one with your own CA or other self signed&#010;certificate&#010;&#010;&#010;On Tue, May 14, 2013 at 12:51 PM, Ashwin Kumar &lt;ashwinkumark10@gmail.com&gt;wrote:&#010;&#010;&gt; I am using Apache Directory Studio for testing LDAP services for an&#010;&gt; application. I am lost in configuring the LDAP with SSL.&#010;&gt;&#010;&gt; So far I've tried:&#010;&gt;&#010;&gt;    1. Started ApacheDS with port 10389 (ldap://) and also on 10636&#010;&gt;    (ldaps://)&#010;&gt;&#010;&gt; Here's the screenshot of ldap config in Apache Directory studio:&#010;&gt;&#010;&gt;&#010;&gt; [image: Inline image 1]&#010;&gt;&#010;&gt;&#010;&gt; Then I followed the instructions as mentioned here: How to enable SSL&lt;http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&gt;&#010;&gt;&#010;&gt; I generated the keys using keytool&lt;http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html&gt;&#010;&gt; :&#010;&gt;&#010;&gt; C:\LDAP\keys&gt;keytool -genkey -keyalg "RSA" -dname "&#010;&gt; mojo,cn=com" -alias mojo -keystore mojo1.ks -storepass secret -validity 3650&#010;&gt;&#010;&gt; and then I am using this key in Apache Directory Studio (and restarting&#010;&gt; the LDAP server), I end up with this error:&#010;&gt;&#010;&gt;&#010;&gt; [image: Inline image 2]&#010;&gt;&#010;&gt;&#010;&gt; Can someone tell what I am doing wrong? Is there something I am missing?&#010;&gt;&#010;&gt; --&#010;&gt; Ashwin kumar&#010;&gt; (http://ashwinkumar.me)&#010;&gt;&#010;&gt;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to enable SSL for LDAP with Apache Directory Studio?</title>
<author><name>Emmanuel Lécharny &lt;elecharny@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3c5191E906.5010404@gmail.com%3e"/>
<id>urn:uuid:%3c5191E906-5010404@gmail-com%3e</id>
<updated>2013-05-14T07:34:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Le 5/14/13 9:21 AM, Ashwin Kumar a écrit :&#010;&gt; I am using Apache Directory Studio for testing LDAP services for an&#010;&gt; application. I am lost in configuring the LDAP with SSL.&#010;&gt;&#010;&gt; So far I've tried:&#010;&gt;&#010;&gt;    1. Started ApacheDS with port 10389 (ldap://) and also on 10636&#010;&gt;    (ldaps://)&#010;&gt;&#010;&gt; Here's the screenshot of ldap config in Apache Directory studio:&#010;&gt;&#010;&gt;&#010;&gt; [image: Inline image 1]&#010;&gt;&#010;&gt;&#010;&gt; Then I followed the instructions as mentioned here: How to enable&#010;&gt; SSL&lt;http://directory.apache.org/apacheds/basic-ug/3.3-enabling-ssl.html&gt;&#010;&gt;&#010;&gt; I generated the keys using&#010;&gt; keytool&lt;http://docs.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html&gt;&#010;&gt; :&#010;&gt;&#010;&gt; C:\LDAP\keys&gt;keytool -genkey -keyalg "RSA" -dname "&#010;&gt; mojo,cn=com" -alias mojo -keystore mojo1.ks -storepass secret -validity 3650&#010;&gt;&#010;&gt; and then I am using this key in Apache Directory Studio (and restarting the&#010;&gt; LDAP server), I end up with this error:&#010;&gt;&#010;&gt;&#010;&gt; [image: Inline image 2]&#010;&gt;&#010;&gt;&#010;&gt; Can someone tell what I am doing wrong? Is there something I am missing?&#010;&#010;The images have been strip of the mails by our mail system.&#010;&#010;I suggest you create a JIRA, and attach the images to it.&#010;&#010;-- &#010;Regards,&#010;Cordialement,&#010;Emmanuel Lécharny&#010;www.iktek.com &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Upgrade to M12</title>
<author><name>Kiran Ayyagari &lt;kayyagari@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/directory-users/201305.mbox/%3cCABzFU-cr9HSg_Ftq2ByWJ2vbWHK0pmyA_5L9RuiXYmJVxFHxPA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCABzFU-cr9HSg_Ftq2ByWJ2vbWHK0pmyA_5L9RuiXYmJVxFHxPA@mail-gmail-com%3e</id>
<updated>2013-05-14T07:34:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, May 14, 2013 at 12:46 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&#010;&gt; That is exactly the problem, I did add some custom schema.&#010;&gt;&#010;ok, in this case all you need to do was to add the files [1] and [2] to the&#010;folder&#010; schema/ou=schema/cn=adsconfig/ou=attributetypes&#010;&#010;Now I have another big problem. I have two servers replicated. The&#010;&gt; replication was setup yesterday and worked fine. Today after server restart&#010;&gt; the replicated content start to "shrink" . I had fewer and fewer entries in&#010;&gt; the database. And now the DB is empty on BOTH servers!!!&#010;&gt;&#010;this can't happen unless the data was deleted in  one of the master&#010;servers, can you check further on which&#010;server the delete started first (and why? if possible)&#010;&#010;&gt; The only message I got when I started second server was:&#010;&gt; [07:05:40] WARN&#010;&gt;&#010;&gt; [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler]&#010;&gt; - received a valid cookie&#010;&gt; rid=001,csn=20130513122431.469000Z#000000#001#000000 but there is no event&#010;&gt; log associated with this replica&#010;&gt;&#010;&gt;&#010;&gt; [1]&#010;http://svn.apache.org/repos/asf/directory/shared/trunk/ldap/schema/data/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.923.ldif&#010;[2]&#010;http://svn.apache.org/repos/asf/directory/shared/trunk/ldap/schema/data/src/main/resources/schema/ou=schema/cn=adsconfig/ou=attributetypes/m-oid=1.3.6.1.4.1.18060.0.4.1.2.924.ldif&#010;&#010;&gt;&#010;&gt;&#010;&gt; And then few minutes later:&#010;&gt; [07:09:27] ERROR&#010;&gt;&#010;&gt; [org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl]&#010;&gt; - ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found&#010;&gt; org.apache.directory.api.ldap.model.exception.LdapNoSuchObjectException:&#010;&gt; ERR_251_PARENT_NOT_FOUND Parent cn=eumetsat not found&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:164)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.admin.AdministrativePointInterceptor.add(AdministrativePointInterceptor.java:1206)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:525)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.referral.ReferralInterceptor.add(ReferralInterceptor.java:249)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:327)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:412)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:128)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:373)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.handleSearchResultEntry(ReplicationConsumerImpl.java:400)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.doSyncSearch(ReplicationConsumerImpl.java:785)&#010;&gt;         at&#010;&gt;&#010;&gt; org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl.startSync(ReplicationConsumerImpl.java:572)&#010;&gt;         at&#010;&gt; org.apache.directory.server.ldap.LdapServer$2.run(LdapServer.java:732)&#010;&gt;         at java.lang.Thread.run(Thread.java:735)&#010;&gt;&#010;&gt; CN=EUMETSAT is the tree that I am trying to keep replicated...&#010;&gt;&#010;&gt;&#010;&gt; Any idea what is going on?&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; On Tue, May 14, 2013 at 9:07 AM, Kiran Ayyagari &lt;kayyagari@apache.org&#010;&gt; &gt;wrote:&#010;&gt;&#010;&gt; &gt; if you didn't add any custom schema elements to your old server then you&#010;&gt; &gt; can just delete the&#010;&gt; &gt; schema folder present under "partitions" folder and restart the server&#010;&gt; &gt; (keeping the remaining folders as they were)&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; On Tue, May 14, 2013 at 12:33 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt;&#010;&gt; &gt; &gt; Well,&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; it does not seem to be that straight forward. I guess the schema was&#010;&gt; &gt; &gt; modified too for M12. Another exception thrown. How can I edit the&#010;&gt; &gt; schema ?&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; [07:00:45] WARN&#010;&gt; [org.apache.directory.api.ldap.model.entry.DefaultEntry]&#010;&gt; &gt; -&#010;&gt; &gt; &gt; The attribute 'ads-replpingersleep' cannot be stored&#010;&gt; &gt; &gt; org.apache.directory.api.ldap.model.exception.LdapOtherException:&#010;&gt; &gt; ERR_04269&#010;&gt; &gt; &gt; ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:289)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt; org.apache.directory.server.UberjarMain.start(UberjarMain.java:76)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt; org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)&#010;&gt; &gt; &gt; Caused by:&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException:&#010;&gt; &gt; &gt; ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.entry.DefaultEntry.&lt;init&gt;(DefaultEntry.java:311)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.loadEntries(SingleFileLdifPartition.java:166)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doInit(SingleFileLdifPartition.java:123)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)&#010;&gt; &gt; &gt;         ... 4 more&#010;&gt; &gt; &gt; Caused by: org.apache.directory.api.ldap.model.exception.LdapException:&#010;&gt; &gt; &gt; ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.exception.LdapException.&lt;init&gt;(LdapException.java:50)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313)&#010;&gt; &gt; &gt;         ... 10 more&#010;&gt; &gt; &gt; [07:00:45] ERROR [org.apache.directory.server.UberjarMain] - Failed to&#010;&gt; &gt; &gt; start the service.&#010;&gt; &gt; &gt; org.apache.directory.api.ldap.model.exception.LdapOtherException:&#010;&gt; &gt; ERR_04269&#010;&gt; &gt; &gt; ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:289)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:169)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt; org.apache.directory.server.UberjarMain.start(UberjarMain.java:76)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt; org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)&#010;&gt; &gt; &gt; Caused by:&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException:&#010;&gt; &gt; &gt; ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.entry.DefaultEntry.&lt;init&gt;(DefaultEntry.java:311)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.loadEntries(SingleFileLdifPartition.java:166)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doInit(SingleFileLdifPartition.java:123)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)&#010;&gt; &gt; &gt;         ... 4 more&#010;&gt; &gt; &gt; Caused by: org.apache.directory.api.ldap.model.exception.LdapException:&#010;&gt; &gt; &gt; ERR_04269 ATTRIBUTE_TYPE for OID ads-replpingersleep does not exist!&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.exception.LdapException.&lt;init&gt;(LdapException.java:50)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176)&#010;&gt; &gt; &gt;         at&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313)&#010;&gt; &gt; &gt;         ... 10 more&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; On Mon, May 13, 2013 at 3:44 PM, Kiran Ayyagari &lt;kayyagari@apache.org&#010;&gt; &gt; &gt; &gt;wrote:&#010;&gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; On Mon, May 13, 2013 at 7:04 PM, Borys &lt;sborys@gmail.com&gt; wrote:&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; &gt; Hi guys,&#010;&gt; &gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; &gt; How do I upgrade from M11 to M12? Replacing the jar file did not&#010;&gt; &gt; work.&#010;&gt; &gt; &gt; I&#010;&gt; &gt; &gt; &gt; &gt; have got an exception about missing attributes during startup.&#010;&gt; &gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; ah I see,&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; 1. open the config.ldif&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; 2. go to the entry with the DN&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; 3. add the below like at the end of the entry&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt;     ads-replPingerSleep: 5&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; 4. make sure you have a blank line at the end of the above LDIF entry&#010;&gt; &gt; IF&#010;&gt; &gt; &gt; it&#010;&gt; &gt; &gt; &gt; was removed during editing&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; 5. restart the server&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt; &gt; --&#010;&gt; &gt; &gt; &gt; Kiran Ayyagari&#010;&gt; &gt; &gt; &gt; http://keydap.com&#010;&gt; &gt; &gt; &gt;&#010;&gt; &gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt;&#010;&gt; &gt; --&#010;&gt; &gt; Kiran Ayyagari&#010;&gt; &gt; http://keydap.com&#010;&gt; &gt;&#010;&gt;&#010;&#010;&#010;&#010;-- &#010;Kiran Ayyagari&#010;http://keydap.com&#010;&#010;
</pre>
</div>
</content>
</entry>
</feed>
