<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for your answer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Really, I agree with you but when you change several machines a day (lab machines), when your headstaff doesn’t want to be bothered by a new password,
etc. etc. … you have no other solution than generate & store passwords. A very very few people have access to it (for security reasons) : only my colleague & me, and the user has definitely no time to configure it on his own anyway, so if we don’t do it
ourselves, it will never be done. To compare actually I transfer user’s data with a USB key when reinstalling/changing machine, can you imagine …?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">User’s profile sizes at 5-8 GB for most of users, up to 30 GB (plus the files stored in the server, but I don’t count them).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I saw what you’re talking about. On the registry, I found this entry :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[HKEY_CURRENT_USER\Software\ownCloud\OrganizationDefaults\casimir:http:]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">"owncloud.mondomaine.fr"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00, … (where casimir is my owncloud login)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">When I decode this, I have @ByteArray(</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">����</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">z</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">O</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">{</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">:</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">J</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">s</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2QKeychain-encrypted
data</p>
<hr align="left" size="1" width="33%">
f</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br clear="all" style="page-break-before:always">
V</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">0N</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">����</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">%}
<hr align="left" size="1">
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">G</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">"</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span>
<p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 6</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[1]</span>6!</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">X>U</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">w</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Z</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">���</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"></p>
<hr align="left" size="1" width="33%">
</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">F</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">.</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">s>T</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">�</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">^UN~A&</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">��</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">*"
)<o:p></o:p></span>
<p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">With the old version, in the owncloud.cfg file, password was base64 encoded it was simple to encode it and create the file … (yes, simple to decode
it as well, but this owncloud is only for backup purpose, not for external use, the password is not the windows session one, so I don’t really worry about it. It’s a bit securized (10 chars, up/lower case, numbers).)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ll have a look in what you suggest.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthieu<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> owncloud-bounces@kde.org [mailto:owncloud-bounces@kde.org]
<b>De la part de</b> Craig Sawyer<br>
<b>Envoyé :</b> mardi 19 mars 2013 22:46<br>
<b>À :</b> owncloud@kde.org<br>
<b>Objet :</b> Re: [Owncloud] Discovering owncloud, user's password storage under Windows<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">You really shouldn't be storing plain-text versions of anyone's password. I would recommend just having them do the login part themselves. That is what I'm doing on my network. I build my own ownCloud client
that has all the config setup except for the user/password. When it runs the first time on the machine it asks them for their user/pass. They login to the client, and it's done. No other configuration required. Works great for us.<br>
<br>
Otherwise I don't know the answer to your question. It uses the windows registry, but I don't know what format the password is stored in, I'm sure it's encrypted. It uses QtKeychain, so if you go looking thru the QtKeychain sources/docs I'm sure you could
figure it out.<br>
<br>
Regardless, I wish you successs!<br>
<br>
-Craig<o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Mar 19, 2013 at 2:33 PM, Matthieu Lacroix <<a href="mailto:mlacroix@hopscotch.fr" target="_blank">mlacroix@hopscotch.fr</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Hello</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">I'm currently setting up a process which includes Owncloud on my LAN (100 machines).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Environment :</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Server = Ubuntu 12.04 LTS, owncloud 4.5.7</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Client = Windows 7 pro (32 & 64 bits, Windows 2008 R2 domain), owncloud 1.2.0.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">I don't want to manually define the user's password. I have an intranet (PHP/MySQL) which stores all this data in a DB (user login, password generated, folders
to sync) and by PHP, I can generate all the files, but the user's password is missing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">I saw it's now saved in the Windows registry, so i thought about generating a .reg file on the user's desktop in order to import the owncloud profile by double
clicking on it.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">In an older version (owncloud 1.1.4) the user's password was set into the owncloud.cfg like passwd="@ByteArray(...)" but this is no more possible in 1.2.0.
</span>(an error message is displayed, "entry not found")<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Any help would be most appreciated, i can share in return all my PHP/Shell code to generate the folders files sync.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Thanks in advance</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="color:#888888">Matthieu</span><span style="color:#888888"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>