Thanks for your answer.<div><br></div><div>It seems that "apps/files_external" is a module who is here to create and read the file : "mount.json". For example in /lib/config.php, method "addMountPoint" will write on "mount.json" and "getSystemMountPoins" will read this one too. </div>
<div><span style="background-color:rgb(255,255,255);color:rgb(153,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;font-weight:bold;line-height:16px;white-space:pre"><br></span></div><div>
<span style="background-color:rgb(255,255,255)">I would totally bypass this file and mount shares on login. So, I'm looking for methods who use these files (mount.json) and really mount shares to try to inject new datas with a "post_login" hook. </span><span style="background-color:rgb(255,255,255);color:rgb(153,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;font-weight:bold;line-height:16px;white-space:pre"> </span></div>
<div><br><div class="gmail_quote">2013/3/8 Arthur Schiwon <span dir="ltr"><<a href="mailto:blizzz@owncloud.com" target="_blank">blizzz@owncloud.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 03/08/2013 10:18 AM, Matthieu Rosset wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everybody,<br>
<br>
I'm actually trying to create an app who let me automatically mount SMB<br>
shares for my users after their login with an hook.<br>
<br>
I don't want to use standard build with configuration files and<br>
passwords in plain-text. I can't use that in my company because<br>
OwnCloud's passwords are Active Directory's passwords.<br>
<br>
My question is : where is the method who really mount shares for users ?<br>
Method who read configuration files and mount every share for the user ?<br>
I searched in files, external_files... but nothing who seems to do that.<br>
I hope you can help me with that stuff.<br>
<br>
If I succeed in this app's creation, I'll propose it to everybody who's<br>
interested. Thanks a lot !<br>
</blockquote>
<br></div></div>
It is done by the app files_external, <a href="https://github.com/owncloud/core/tree/master/apps/files_external" target="_blank">https://github.com/owncloud/<u></u>core/tree/master/apps/files_<u></u>external</a><br>
<br>
Cheers<br>
Arthur<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
______________________________<u></u>_________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/owncloud</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/owncloud</a><br>
</blockquote></div><br></div>