[Owncloud] username and password variable for SMB share

Rino Muhamad Nur rino.m.nur at stkipsurya.ac.id
Thu Sep 5 09:29:15 UTC 2013


Thanks Arthur,

Will try it.


2013/9/5 Arthur Schiwon <blizzz at owncloud.com>

> On Do, 2013-09-05 at 07:44 +0700, Rino Muhamad Nur wrote:
> > Thanks Arthur,
> >
> > Is there any solutions for automounting to all user with SMB shares with
> > their username and password automatically ?
>
> You will need to mount the shares on your server in a way that the web
> user (e.g. www-data) can read and write to it, for instance using Linux
> ACLs. Then you can work with "Local" external storage, this has also a
> vastly better performance.
>
> There is an enterprise app that automatizes the last step for you, if
> you have the path stored in LDAP [1].
>
> Hope that helps,
> Cheers
> Arthur
>
> [1] https://owncloud.com/products/enterprise
>
> >
> >
> > 2013/9/4 Arthur Schiwon <blizzz at owncloud.com>
> >
> > > On Mi, 2013-09-04 at 03:48 -0700, Rino Muhamad Nur wrote:
> > > > Dear All,
> > > >
> > > > Just installing Owncloud 5.0.10 on debian squeeze, then enabling
> external
> > > > storage and auth ldap. everything is ok except how can i mount samba
> > > share
> > > > with logged username and password for each user logging to owncloud.
> > > > i try with $username for username and $password for password still no
> > > luck.
> > > > Thanks for help.
> > >
> > > There is no variable for password. We don't know the login password,
> > > because we do not store it in plain text.
> > >
> > > Cheers
> > > Arthur
> > >
> > > >
> > > > my owncloud.json
> > > >
> > > >
> > >
> {"user":{"all":{"\/$user\/files\/EVERYONE":{"class":"\\OC\\Files\\Storage\\SMB","options":{"host":"10.150.9.90","user":"$username","password":"$password","share":"everyone","root":"workshop"}}}}}
> > > >
> > > > My System :
> > > > Owncoud 5.0.10
> > > > Debian Squeeze
> > > > Php 5
> > > >
> > > > _______________________________________________
> > > > Owncloud mailing list
> > > > Owncloud at kde.org
> > > > https://mail.kde.org/mailman/listinfo/owncloud
> > >
> > >
> > > _______________________________________________
> > > Owncloud mailing list
> > > Owncloud at kde.org
> > > https://mail.kde.org/mailman/listinfo/owncloud
> > >
> >
> >
> >
> > _______________________________________________
> > Owncloud mailing list
> > Owncloud at kde.org
> > https://mail.kde.org/mailman/listinfo/owncloud
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>



-- 
Terima Kasih,

---
Rino M Nur, ST.
IT STKIP Surya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130905/43a65294/attachment.html>


More information about the Owncloud mailing list