[Owncloud] Custom SMB mounting
Matthieu Rosset
captain.kra at gmail.com
Fri Mar 8 11:29:54 UTC 2013
Thanks for your answer.
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.
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.
2013/3/8 Arthur Schiwon <blizzz at owncloud.com>
> On 03/08/2013 10:18 AM, Matthieu Rosset wrote:
>
>> Hi everybody,
>>
>> I'm actually trying to create an app who let me automatically mount SMB
>> shares for my users after their login with an hook.
>>
>> I don't want to use standard build with configuration files and
>> passwords in plain-text. I can't use that in my company because
>> OwnCloud's passwords are Active Directory's passwords.
>>
>> My question is : where is the method who really mount shares for users ?
>> Method who read configuration files and mount every share for the user ?
>> I searched in files, external_files... but nothing who seems to do that.
>> I hope you can help me with that stuff.
>>
>> If I succeed in this app's creation, I'll propose it to everybody who's
>> interested. Thanks a lot !
>>
>
> It is done by the app files_external, https://github.com/owncloud/**
> core/tree/master/apps/files_**external<https://github.com/owncloud/core/tree/master/apps/files_external>
>
> Cheers
> Arthur
>
>
>>
>> ______________________________**_________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>>
>> ______________________________**_________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130308/79e1740c/attachment.html>
More information about the Owncloud
mailing list