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.
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. Regardless, I wish you successs! -Craig On Tue, Mar 19, 2013 at 2:33 PM, Matthieu Lacroix <[email protected]>wrote: > Hello**** > > ** ** > > I'm currently setting up a process which includes Owncloud on my LAN (100 > machines).**** > > ** ** > > Environment :**** > > Server = Ubuntu 12.04 LTS, owncloud 4.5.7**** > > Client = Windows 7 pro (32 & 64 bits, Windows 2008 R2 domain), owncloud > 1.2.0.**** > > ** ** > > ** ** > > 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.**** > > 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.**** > > ** ** > > 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. (an error message is displayed, "entry not found")**** > > ** ** > > Any help would be most appreciated, i can share in return all my PHP/Shell > code to generate the folders files sync.**** > > ** ** > > Thanks in advance**** > > Matthieu**** > > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud > >
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
