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<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 2:33 PM, Matthieu Lacroix <span dir="ltr"><<a href="mailto:mlacroix@hopscotch.fr" target="_blank">mlacroix@hopscotch.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal"><span lang="EN-US">Hello<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I'm currently setting up a process which includes Owncloud on my LAN (100 machines).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Environment :<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Server = Ubuntu 12.04 LTS, owncloud 4.5.7<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Client = Windows 7 pro (32 & 64 bits, Windows 2008 R2 domain), owncloud 1.2.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><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")<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US">Matthieu<u></u><u></u></span></p>
</font></span></div>
</div>
<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><br>
<br></blockquote></div><br>