<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/csv2ldif2/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/csv2ldif2/support-requests/</id><updated>2024-01-07T12:17:02.577000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#2bb4" rel="alternate"/><published>2024-01-07T12:17:02.577000Z</published><updated>2024-01-07T12:17:02.577000Z</updated><author><name>Andrea Grillini</name><uri>https://sourceforge.net/u/appleaday/</uri></author><id>https://sourceforge.net33064da821e40716a92fe6ea1f7d6892a74c9ea7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, Benedikt!&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#504a" rel="alternate"/><published>2024-01-02T15:53:40.433000Z</published><updated>2024-01-02T15:53:40.433000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.netc83661ce26b2e4700e02e70e1f5aba783a6919f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#4df9" rel="alternate"/><published>2024-01-02T15:53:25.029000Z</published><updated>2024-01-02T15:53:25.029000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.netded3558eb3daa767494687268ae5bc3be9793922</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Fixed in 1.2:&lt;br/&gt;
&lt;a href="https://sourceforge.net/projects/csv2ldif2/files/csv2ldif2-1.2.tar.gz/download"&gt;https://sourceforge.net/projects/csv2ldif2/files/csv2ldif2-1.2.tar.gz/download&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#21e1" rel="alternate"/><published>2023-12-31T13:26:54.358000Z</published><updated>2023-12-31T13:26:54.358000Z</updated><author><name>Andrea Grillini</name><uri>https://sourceforge.net/u/appleaday/</uri></author><id>https://sourceforge.net24eb732eefc5193821fd4e8486db19e50f7ab02f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Benedikt,&lt;br/&gt;
in my view giving a specific order to the components in the output shouldn't be required at all. Though I still wonder why there's no fixed and predictable "default order", I mean as a matter of fact the order of the components in the output changes possibly at each run randomly. I can believe no component is missing anyway, though this random behavior suggests the idea of something out of control, and mysterious at the same time - at least for me, since likely I don't know yet all that I should need to know about perl hash tables.&lt;br/&gt;
I'd like at least to understand where the random behavior does come from.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#51d9" rel="alternate"/><published>2023-12-31T11:30:29.459000Z</published><updated>2023-12-31T11:30:29.459000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.netd10adf29e0f9dc68f1c98d36fc80609c06ba1651</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, investigated;&lt;br/&gt;
reason is that the tool saves its data in a perl hash. And they are, by definition, unordered.&lt;br/&gt;
So, if this is really important, it might be an option to add the data into a hash using systematic keys (i.e. add a entry counter number to the front of the key) and sort the entries by that.&lt;/p&gt;
&lt;p&gt;But again, LDIF itself is not ordered per se, so - is this important to you, so you need this fixed? What is your usecase?&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;Ref: &lt;a href="https://stackoverflow.com/questions/10901084/how-can-i-sort-a-perl-hash-on-values-and-order-the-keys-correspondingly-in-two#10901159" rel="nofollow"&gt;https://stackoverflow.com/questions/10901084/how-can-i-sort-a-perl-hash-on-values-and-order-the-keys-correspondingly-in-two#10901159&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#6e66" rel="alternate"/><published>2023-12-29T18:07:49.327000Z</published><updated>2023-12-29T18:07:49.327000Z</updated><author><name>Andrea Grillini</name><uri>https://sourceforge.net/u/appleaday/</uri></author><id>https://sourceforge.net88c3bed4e754243cf0b9528835b93d86010a2f36</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I attach a csv file with just three records.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Output possibly changes while arguments remain unchanged in each run</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/4/?limit=25#3484" rel="alternate"/><published>2023-12-28T23:05:31.780000Z</published><updated>2023-12-28T23:05:31.780000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.net913308d31506be7ed01c92c1478ee8606a974417</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Do you please have test data for me to reproduce?&lt;/p&gt;
&lt;p&gt;My gut says, this is related to perls internal array handling.&lt;br/&gt;
But that should not matter - LDIF content files are not ordered.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 How to add objectClass attributes?</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/5/?limit=25#9974" rel="alternate"/><published>2023-12-28T23:03:55.986000Z</published><updated>2023-12-28T23:03:55.986000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.net2e4f9b883ae39c143f2ae3db66a265b7e7fc5e82</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#5 How to add objectClass attributes?</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/5/?limit=25#5135" rel="alternate"/><published>2023-12-28T23:03:38.281000Z</published><updated>2023-12-28T23:03:38.281000Z</updated><author><name>Benedikt Hallinger</name><uri>https://sourceforge.net/u/benih/</uri></author><id>https://sourceforge.net84d91ab341680d2a34a419e6f17a6f294eb28d1d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
yes, thats the way to go.&lt;br/&gt;
&lt;code&gt;objectClass&lt;/code&gt; is threatened like any other attribute, see the readme file or give the &lt;code&gt;-h&lt;/code&gt; option.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;$&lt;span class="w"&gt; &lt;/span&gt;./csv2ldif2.pl&lt;span class="w"&gt; &lt;/span&gt;-b&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;cn&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;test&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;lt;&amp;lt;LDIF&lt;/span&gt;
&lt;span class="s"&gt;cn,mail,objectClass,objectClass&lt;/span&gt;
&lt;span class="s"&gt;Foo Bar,foo.bar@example.com,inetOrgPerson,person&lt;/span&gt;
&lt;span class="s"&gt;Test Baz,test.baz@example.com,inetOrgPerson,person&lt;/span&gt;
&lt;span class="s"&gt;LDIF&lt;/span&gt;
dn:&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;cn&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;Foo&lt;span class="w"&gt; &lt;/span&gt;Bar,cn&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;test&lt;/span&gt;
cn:&lt;span class="w"&gt; &lt;/span&gt;Foo&lt;span class="w"&gt; &lt;/span&gt;Bar
mail:&lt;span class="w"&gt; &lt;/span&gt;foo.bar@example.com
objectClass:&lt;span class="w"&gt; &lt;/span&gt;inetOrgPerson
objectClass:&lt;span class="w"&gt; &lt;/span&gt;person

dn:&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;cn&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;Test&lt;span class="w"&gt; &lt;/span&gt;Baz,cn&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;test&lt;/span&gt;
cn:&lt;span class="w"&gt; &lt;/span&gt;Test&lt;span class="w"&gt; &lt;/span&gt;Baz
mail:&lt;span class="w"&gt; &lt;/span&gt;test.baz@example.com
objectClass:&lt;span class="w"&gt; &lt;/span&gt;inetOrgPerson
objectClass:&lt;span class="w"&gt; &lt;/span&gt;person
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>How to add objectClass attributes?</title><link href="https://sourceforge.net/p/csv2ldif2/support-requests/5/" rel="alternate"/><published>2023-12-28T21:14:47.972000Z</published><updated>2023-12-28T21:14:47.972000Z</updated><author><name>Andrea Grillini</name><uri>https://sourceforge.net/u/appleaday/</uri></author><id>https://sourceforge.netafa06bd147552ca4ad25d53bc30e661fc073b35c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Adding as many columns with the header &lt;em&gt;objectClass&lt;/em&gt; as needed, each containing fixed values. Is this the only easy way to get the needed attributes?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Andrea&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>