Koozali.org: home of the SME Server

ownCloud (Private cloud server)

guest22

ownCloud (Private cloud server)
« on: December 01, 2012, 07:10:01 PM »

Offline raem

  • *
  • 3,972
  • +4/-0
Re: ownCloud (Private cloud server)
« Reply #1 on: December 02, 2012, 02:51:44 AM »
RequestedDeletion

It's a good idea to add the Category (or Categories) to the end of each wiki article you create.
eg
----
[[Category:Howto]]
[[Category: Backup]]
[[Category: Webapps]]

There is also the "level" categorisation, which is placed at the beginning of the article
{{Level|Medium}}

Those "tags" make the article more visible/searchable amongst the wiki articles.


See here
http://wiki.contribs.org/Category:Categorisation
and
http://wiki.contribs.org/Category:Howto

Thanks
...

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: ownCloud (Private cloud server)
« Reply #2 on: December 02, 2012, 03:04:01 PM »
Please share the LDAP authentication experiences and what exactly are you planning on doing.
I'm assuming you plan to authenticate the SME users against the Owncloud service.
I have tried to use the LDAP service before on services outside the SME (web filter on router with SME as server-only) and also within it (Joomla), but I did not succeed.

Thanks,

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: ownCloud (Private cloud server)
« Reply #3 on: December 04, 2012, 06:17:47 AM »
Hey, thanks for drawing attention to this...exactly something I've been looking for.  Got it working without much difficulty at all.

Integrating with SME LDAP would be sweet, would love to learn how to do that.
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

guest22

Re: ownCloud (Private cloud server)
« Reply #4 on: December 04, 2012, 06:36:19 AM »
*** all information has been included in the how-to here: http://wiki.contribs.org/OwnCloud ***

Hi,

just tested ldap authentication with the latest owncloud 4.5.4

1. log in as admin who installed owncloud
2. go to apps and enable ldap authentication backend
3. go to admin, ldap section
4. use below settings:

Host: localhost
Base DN: dc=[yourdomain],dc=[com] (as seen in the 'directory' section in SME server manager)
User DN: uid=admin,ou=Users,dc=[yourdomain],dc=[com]
Password: [SME admin password]
User Login Filter: uid=%uid
User List Filter: objectClass=person

For the variables between brackets [], use your specific settings. Maybe you can test creating a specific user and use that username password opposed to using the admin's credentials.

This will enable basic authentication against SME ldap op the SAME server. Let us know how you go!

ps. After setting the ldap settings, mak sure you test and save the settings. I experienced that (with Google Chrome) I could not log out, and had to close Chrome completely and re-launch. Then all went fine.

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: ownCloud (Private cloud server)
« Reply #5 on: December 04, 2012, 03:47:30 PM »
heh, I'll be d*mned, that worked...thanks heaps!

EDIT:  any thoughts on how to connect to the SME groups?  It'd be a nice-to-have if the ownCloud groups matched SME's groups.
« Last Edit: December 04, 2012, 09:40:14 PM by Knyte »
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

guest22

Re: ownCloud (Private cloud server)
« Reply #6 on: December 05, 2012, 03:50:02 AM »
I challenge you to do a little digin' on your own, and surprise us with your succes. All you need is given already.

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: ownCloud (Private cloud server)
« Reply #7 on: December 05, 2012, 03:58:43 AM »
haha I knew that was coming!  No worries I can figure it out.  cheers
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Re: ownCloud (Private cloud server)
« Reply #8 on: December 05, 2012, 01:15:48 PM »
Does the ldap authentication module create new users in owncloud automatically in a way that allows them to work with the sync client?

I've been playing with IMAP authentication, and have found that if I login as a new user:
- owncloud (web) works fine.
- the owncloud sync utility won't connect until I manually create an entry in the oc_users table, then login to the web interface and "change" my password in owncloud to match my imap password.

I'd like to second Knyte's expression of appreciation.  I haven't been this excited about playing with a new web app for months!

Offline purvis

  • ****
  • 567
  • +0/-0
Re: ownCloud (Private cloud server)
« Reply #9 on: December 06, 2012, 08:54:09 PM »
Is OwnCloud the only option to sharing files, pictures, and video on a sme server with some mobile app. And to say, "Have it all your way rolled in one package".


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: ownCloud (Private cloud server)
« Reply #10 on: December 06, 2012, 11:47:27 PM »
Purvis.. is yours a question?

Offline purvis

  • ****
  • 567
  • +0/-0
Re: ownCloud (Private cloud server)
« Reply #11 on: December 07, 2012, 02:28:35 AM »
Stefano, i was hoping it was a question. lol

guest22

Re: ownCloud (Private cloud server)
« Reply #12 on: December 07, 2012, 03:11:13 AM »
Well, Daniel has created a contrib for this http://openupload.sourceforge.net/ , which he explains here: http://wiki.contribs.org/OpenUpload


Offline purvis

  • ****
  • 567
  • +0/-0
Re: ownCloud (Private cloud server)
« Reply #13 on: December 07, 2012, 04:20:36 PM »
Thank you RequestedDeletion for the input. I looked it(openupload) over.

Offline Knyte

  • *
  • 39
  • +0/-0
    • knyte.org
Re: ownCloud (Private cloud server)
« Reply #14 on: December 08, 2012, 01:14:42 PM »
Tidbit to pass along:

It seems when creating a user in SME, with ownCloud integrated via LDAP, it takes a while before the new user can log into ownCloud.  Also, the error "Can't get cache storage, user not logged in" begins to log in the ownCloud Warning Log.

To fix this, and allow the new user to log in immediately, go to Settings -> Admin -> LDAP/Advanced Tab

Change the Cache Time To Live + or -1.  This forces the cache to update, and the new user will be able to log in to ownCloud straight away.
« Last Edit: December 08, 2012, 09:14:09 PM by Knyte »
SME 8.1 (currently restoring to SME 9.2) running in ESXi 5.5