Re: [Owncloud] Encryption password recovery

2013-06-05 Thread Dirk Kastens
Hi, Than the user who wants to use this feature has to enable it in his personal settings "Enable password recovery by sharing all files with your administrator". Now if the user loses his password the admin can go to the user management, enter the recovery password and than set a new password

[Owncloud] Encryption password recovery

2013-06-03 Thread Dirk Kastens
Hi, can someone explain me how the encryption password recovery works? What are the steps to get it to work? At first, the admin has to enable the encryption passwords recovery key, right? Then a user has to enable password recovery by sharing all files with the administrator. But then, how can

Re: [Owncloud] 5.0.7 RC

2013-06-03 Thread Dirk Kastens
Hi, I just packaged 5.0.7 RC1 download.owncloud.org/community/owncloud-5.0.7RC1.tar.bz2 Great. Seems that all problems that I had with the pre-release regarding encryption are fixed. Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift _

Re: [Owncloud] ownCloud 5 encryption pre release

2013-05-31 Thread Dirk Kastens
Hi, 4. Opening a big text file (an export of my Windows firewall rules), the text editor shows garbage on some lines (see attached pictures. The first shows the file with encryption disabled, the second with encryption enabled). The garbage occurs in regular intervals several times in the big fi

Re: [Owncloud] ownCloud 5 encryption pre release

2013-05-31 Thread Dirk Kastens
2. owncloud becomes EXTREMELY slow after enabling encryption. Changing a directory in the web interface takes about 30 seconds. I first had to increase the memory limit in php.ini to 2048M to get owncloud to work. Before that I always got the error: {"app":"PHP","message":"Allowed memory size of

Re: [Owncloud] ownCloud 5 encryption pre release

2013-05-29 Thread Dirk Kastens
Hi Bjoern, 1. There are lots of errors in the owncloud.log: {"app":"PHP","message":"Call to a member function getFileInfo() on a non-object at \/var\/www\/html\/owncloud\/lib\/files\/filesystem.php#621","level":4,"time":1369737911} I just checked my log. I don't have such a message although I

Re: [Owncloud] ownCloud 5 encryption pre release

2013-05-29 Thread Dirk Kastens
Hi Michael, Can't help with the encryption, but seems like a good start to improve. One solution for specific issues is to assign them with bug reports in the github.com/owncloud repository. The text editor bug under the right project etc. Yes, but it's a pre-release. I'm not sure if github is t

Re: [Owncloud] ownCloud 5 encryption pre release

2013-05-29 Thread Dirk Kastens
Hi, I sent this mail yesterday with two pictures attached. The mail bounced, because it was too big and awaited an administrator approval. This didn't happen, yet, so I'm sending it again without the pictures. I just installed the pre release and tried the new encryption feature. I upgraded

Re: [Owncloud] 5.0.4 RC1

2013-04-10 Thread Dirk Kastens
Hi, Because of that I packaged 5.0.4 RC1 today. download.owncloud.org/community/owncloud-5.0.4.RC1.tar.bz2 Looks good. Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org

[Owncloud] OC5 auf heise.de

2013-03-14 Thread Dirk Kastens
Hi, gerade entdeckt: http://heise.de/-1822862 Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud

Re: [Owncloud] OC 5 and shared folder

2013-03-14 Thread Dirk Kastens
Hi, Just tried with OC 5 released one hour ago and same problems. By the way I am using Debian Squeeze + Apache + MySQL. Same here: OC5 official release, new installation. It doesn't work, even if I'm not logged in. When I click on the link that was sent via email, I'm getting the "Cloud nicht

Re: [Owncloud] Groupmanagment in OC

2013-03-13 Thread Dirk Kastens
Hi Andy, Although the OC is great, one vital feature is still missing. They would like to enable users the management of their own groups to allow the share with users in OC. I'm using the ldap user and group backend. The group mangement is done outside of OC. Staff members can manage their o

Re: [Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-03-07 Thread Dirk Kastens
Hi, If I understand your problem correctly, you don't need to change the source at so many places. There are many things here that can be easily mixed up: 1. uid to login 2. internal ID for OC 3. user home dir path 4. display name Your problem was that from OC5 the LDAP entryUUID was used for #

Re: [Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-03-07 Thread Dirk Kastens
Hi, seems that this was the wrong place. Owncloud still used the UUID for the user directory. Meanwhile I have changed line 431 in user_ldap/lib/connection.php from if(!in_array($this->config['ldapUuidAttribute'], array('auto', 'entryuuid', 'nsuniqueid', 'objectguid')) to if(!in_array($th

Re: [Owncloud] Album covers in clientsync folder

2013-03-06 Thread Dirk Kastens
Forget this issue. It seems that the covers have been copied from my laptop, that I also synced to owncloud. Meanwhile the cover files have disappeared. I copied a mp3 file into my owncloud folder on my windows pc. The client copied it to the owncloud server where I could play the music. It se

Re: [Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-03-06 Thread Dirk Kastens
Hi Arthur, You can patch it yourself by replacing the line https://github.com/owncloud/core/blob/master/apps/user_ldap/lib/access.php#L317 with $intname = $isUser ? $this->sanitizeUsername($this->readAttribute($dn, 'uid')) : $this->sanitizeUsername($ldapname); Great! I didn't know that this i

[Owncloud] Album covers in clientsync folder

2013-03-06 Thread Dirk Kastens
Hi, owncloud 5.0 RC 1 I copied a mp3 file into my owncloud folder on my windows pc. The client copied it to the owncloud server where I could play the music. It seems that OC automatically created the Folder.jpg and AlbumArtSmall.jpg files. Those files do not appear in my windows folder. Now,

Re: [Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-02-26 Thread Dirk Kastens
Hi Arthur, The problem is, that all other attributes may change (and may be not unique) in the directory server. At least, in our user management the uid is unique and never changes. It is the same across all databases, be it LDAP, AD, or SQL. So I did prefer the old owncloud configuration.

Re: [Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-02-22 Thread Dirk Kastens
Hi, the LDAP backend is now using the entyUUID attribute to store users. (tech detail: the uuid attribute will be autodetected, e.g. AD uses a different one) This could be a problem if you change your ldap server, maybe from openldap to AD or to Novell. Although the user data are the same (ui

Re: [Owncloud] ownCloud 5.0 beta 1 LDAP

2013-02-21 Thread Dirk Kastens
t. Apache logs the following error: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 523800 bytes) in /var/www/html/owncloud/apps/user_ldap/lib/connection.php This didn't happen in the alpha release. https://github.com/owncloud/core/issues/1820 --

[Owncloud] owncloud alpha 1 and LDAP entryUUID

2013-02-19 Thread Dirk Kastens
Hi, the LDAP backend is now using the entyUUID attribute to store users. I don't know if this is such a good idea. Now, if you share a file, the entryUUID is displayed instead of the uid (see attached picture). And in the user list of the admin interface you see the entryUUIDs as the loginnam

Re: [Owncloud] ownCloud alpha 1

2013-02-13 Thread Dirk Kastens
Hi, - LDAP does still work :) (I only had to insert "objectClass=group" in the group filter. OC4.5 did not really need this) Did you make an upgrade installation? I installed OC5 from scratch. LDAP authentication seems to work but there's a problem with accessing the user directories. I open

Re: [Owncloud] LDAP Schema

2012-10-22 Thread Dirk Kastens
Apart from the OID, I wouldn't make the ownCloudAccount a structural objectclass. The LDAP accounts belong to existing users. So it would be better to use an auxiliary objectclass that only needs the ownCloudQuota attribute: objectclass ( 1.1.2.2.10 NAME 'ownCloudAccount' DESC 'own

Re: [Owncloud] LDAP Schema

2012-10-22 Thread Dirk Kastens
s could be added to the wiki/repository, so other people can use this. Thanks Jean-Louis ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listinfo/owncloud -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum

Re: [Owncloud] Why is iOS client converting my image format when uploading?

2012-10-22 Thread Dirk Kastens
Hi, I can confirm this on my iPad. The format is converted to PNG and the preview in the owncloud app has a wrong aspect-ratio. Dirk Many times I use my iPhone to take some pictures. Pictures are stored as jpg on my phone. Whenever I use upload function from within ownCloud iOS client then m

Re: [Owncloud] files upload button broken in chromium: Also mainline Chrome

2012-09-28 Thread Dirk Kastens
:left; height:2em; width:10em; } -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: -2470 smime.p7s Description: S/MIME Kryptografische Untersc

Re: [Owncloud] files upload button broken in chromium: Also mainline Chrome

2012-09-28 Thread Dirk Kastens
This happens in the newest chrome (22) with owncloud 4.0.7 as well. In Chrom 21 isn't a newline, but the arrow is missing (OC 4.5 RC1). Dirk <> smime.p7s Description: S/MIME Kryptografische Unterschrift ___ Owncloud mailing list Owncloud@kde.org https

Re: [Owncloud] Showstopper Bugs for 4.5

2012-09-27 Thread Dirk Kastens
Hi, Frank asked me to get an overview about the remaining bugs. So I did and updated the spreadsheet [1]. Feel free to add a bug in case i oversaw something. I made it back to bug reports with the last change to Sep, 13th (incl). I reported a bug, yesterday (oc-1855), that sharing with an emai

Re: [Owncloud] Heavy LDAP user search

2012-09-21 Thread Dirk Kastens
Am 21.09.2012 12:11, schrieb Arthur Schiwon: I think there is a misunderstanding. When you want to share a file and the list of shared users is supposed to be up to date, then every request will need to do a full scan. How else is the software (ownCloud) supposed to know the changes? Except your

Re: [Owncloud] Heavy LDAP user search

2012-09-21 Thread Dirk Kastens
I have configured many software products with ldap access at work. None of it scans the whole directory. The problem is, that oc won't recognize changes in the directory. When I add a new ldap user or when I change the group membership of a user, I expect that the software immediately recognize

Re: [Owncloud] Heavy LDAP user search

2012-09-21 Thread Dirk Kastens
Hi, I still wonder why owncloud scans the whole directory. I'm always running into the search time limit of our ldap server. Now, when I try to share something with another ldap user, the owncloud server hangs. I assume, it's because the autocomplete function tries to read in all 50k users of

Re: [Owncloud] ownCloud 4.5 beta 3

2012-09-14 Thread Dirk Kastens
Hi Manuel, I changed the code to: if($dbtype == 'mysql') { $sqlAdjustment = 'FROM DUAL'; } And works for me. Great. This works for me, too. Thanks a lot. Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___

Re: [Owncloud] ownCloud 4.5 beta 3

2012-09-13 Thread Dirk Kastens
I updated the beta3 with the latest fixes from master http://owncloud.org/releases/owncloud-4.5.0-beta3.tar.bz2 No chance. I always get an HTTP 500 error and the message PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table

Re: [Owncloud] ownCloud 4.5 beta 3

2012-09-13 Thread Dirk Kastens
7 /var/www/html/owncloud/lib/base.php(542): OC_User::login('xmuster', 'v in /var/www/html/owncloud/lib/db.php on line 671, referer: https://owncloud.xxx/ same to me. At my first tries I got can't bind to LDAP, although I didn't change my settings. The error messa

Re: [Owncloud] ownCloud 4.5 beta 3

2012-09-13 Thread Dirk Kastens
Hi, ownCloud 4.5 beta 3 is here. We did a third beta instead of the planed RC so that we can keep on fixing non showstopper bugs too. RC will be next week. http://owncloud.org/releases/owncloud-4.5.0-beta3.tar.bz2 Please give it a really good hard test. I made a fresh install with this ver

Re: [Owncloud] Heavy LDAP user search

2012-08-10 Thread Dirk Kastens
Hi Manual, When I set the size limit, ldap_serch will only return X entries, so autocompletion will only work on those X entries and I'll be unable to share the file with anyone beyond X. Is this right? or am I missing something? Theoretically you're right. But with autocompletion, the more l

Re: [Owncloud] Heavy LDAP user search

2012-08-09 Thread Dirk Kastens
Hi, another solution would be to have an ldap search limit implemented. I just configured this for our SOGo server (opengroupware). This has a server option called SOGoLDAPQueryLimit. If you set this to 100, the search will stop after the first found 100 users. Autocompletion works very well

Re: [Owncloud] Antwort: Re: OC4: LDAP, share dialogue

2012-05-25 Thread Dirk Kastens
Hi Sven, The problem is that I can see no other users at all in the dialogue. I am sure that my account is in a number of groups with other users, but I see none of them. Do they per chance have to be logged on before they will be selectable? No. I don't know much about AD, but you have confi

Re: [Owncloud] OC4: LDAP, share dialogue

2012-05-25 Thread Dirk Kastens
Hi, I set up my OC4 server with an MS Server 2008 Active Directory and users can authenticate and use their files fine. Whoo! The problem is that no users are being displayed in the share dialogue. You can only share files with users who are in the same groups as you are. If you are not a me

Re: [Owncloud] SabreDAV / WebDAV issue ???

2012-05-24 Thread Dirk Kastens
Hi Thomas, some month ago you offered support to the ownCloud project regarding SabrDAV. Can I kindly ask you to have a look at this bug report: http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-764 I don't see this error. When I connect to OC 4 with WebDAV from my PC or from my iPad,

Re: [Owncloud] Encryption

2012-05-23 Thread Dirk Kastens
Hi, you might also have a look at wuala.com. they have been the first which encrypted cloud storage. they do - afaik - a client-side encryption and have their src partially opened, developed at ETH zürich. Sounds good. Thanks for the hint. So it seems that encryption is not very well implem

Re: [Owncloud] Encryption

2012-05-22 Thread Dirk Kastens
It isn't tricky, secure server side encryption is simply not possible! You always have to trust your admin. ;-) I'm using an external file server as the OC data storage. Server side encryption would make the storage more secure, because someone who gets access to the file server will not be ab

Re: [Owncloud] Encryption

2012-05-22 Thread Dirk Kastens
Hi Frank, ownCloud updates the encrypted key, which is used to encrypt the files, every-time a user or admin changes the password. So password change is possible. But this only works for local accounts at the moment and doesn´t work with ldap users because we don´t get notification if a passwo

[Owncloud] Encryption

2012-05-22 Thread Dirk Kastens
Hi, someone recently posted, that OC4 uses the user's password as a key for file encryption. I just tested it, and it's true. This means: as soon as someone changes his password, he cannot access his files anymore!! This is a real bad joke, IMO! I don't know if this also applies to

[Owncloud] dynamic group sharing

2012-05-11 Thread Dirk Kastens
Hi, I suggested an enhancement to thebuggenie (oc-606) about dynamic group sharing: "Sharing files with a group is not dynamic. That means, if a user is added to a group and the group has access to a shared file, the user is not automatically authorized to access the file. On the other hand,

Re: [Owncloud] Several application errors

2012-05-09 Thread Dirk Kastens
Hi Frank, most 3rd party apps are not yet ported to ownCloud 4 ocDownloader seems to be one of it. OK. But the apps that I mentioned are labeled "internal App" (ocDownloader, files_mv, files_version). Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___

[Owncloud] Several application errors

2012-05-09 Thread Dirk Kastens
Hi, I'm using the latest git download version of OC 4 beta. First thing: after enabling the ocDownloader app, OC stops working when I log out or click on the "oc_Downloader" menu. Apache logs the following error: PHP Fatal error: Call to a member function is_dir() on a non-object in /var/w

Re: [Owncloud] LDAP login fails with latest git branch

2012-05-08 Thread Dirk Kastens
Well, OC does not use anything from /etc/ldap.conf or whereever. In fact, it is PHP that does it, when (in this case) no DN is given. The bug was simply that while login the configuration has not been loaded yet. This is fixed in git master now. Works. Great :-) Next problem is, that ldap group

Re: [Owncloud] LDAP login fails with latest git branch

2012-05-08 Thread Dirk Kastens
Hi, When I try to login, OC uses the search base "dc=example,dc=com". This is definitely a bug. I will check this. When I leave the user and group trees empty, OC doesn't contact the ldap server at all. The backend should use the standard base dn instead, probably setting it back to blank fa

Re: [Owncloud] LDAP login fails with latest git branch

2012-05-07 Thread Dirk Kastens
Hi, I'm currently using the latest branch from git (4 alpha). Since Friday I'm not able to login via LDAP. Local owncloud Users are no problem. Everything worked fine before. Same here. The login dialog tells me, that I tried the wrong username or password. But I can successfully login to

Re: [Owncloud] ownCloud 4 alpha

2012-05-02 Thread Dirk Kastens
Hi, I have packaged ownCloud 4 alpha Download is here: owncloud.org/releases/owncloud-4.0.0-alpha.tar.bz2 Please test it as much as possible. Mmh. An Update from version 3 didn't work. I couldn't login with my admin account. I had to destroy the old database and create a new one from scratc

Re: [Owncloud] WebDAV User backends

2012-04-23 Thread Dirk Kastens
Hi, Which versions are you running? There was a bug in ownCloud 3.0.1 which is fixed in 3.0.2 Oh, thanks. I just installed the latest download owncloud-2012.0.1-enterprise.tar.bz2 and the error has been fixed. Great! Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___

Re: [Owncloud] WebDAV User backends

2012-04-20 Thread Dirk Kastens
Hi, Is it possible to use another user backend that OC_User_Database ? When I try to use something else it doesn't work. (user_openid, user_ldap, ...) I also tried to add a log to show me wich user backend is active when I pass through the webdav.php page but there is nothing else that OC_User_

Re: [Owncloud] Future changes to sharing

2012-03-28 Thread Dirk Kastens
I would like to get rid of the list of users before the next release; I'm aware this makes sharing impractical for large number of available users. Autocomplete is the best solution for finding a certain user, but I'm not sure if I have the skills to optimize it for large lists of users. I'm going

Re: [Owncloud] Future changes to sharing

2012-03-27 Thread Dirk Kastens
Hi Michael, I'm looking forward to any feedback. The main problem for me is the user interface for sharing files. You are using the OC getUsers method to list all users if you click on the share icon. And then you use autocomplete after typing the first letter to display the matching userna

Re: [Owncloud] LDAP Plugin: Looking for beta tester

2012-03-13 Thread Dirk Kastens
Hi, About large tree. I’ve a problem, ownCloud don’t allow us to manage that case carefully… The OC API for user source have only one method getUsers… They don’t have any capabilities to request a range of users… In fact it’s a problem only if a administrator go to the user management panel.

Re: [Owncloud] Group backend question

2012-02-02 Thread Dirk Kastens
Hi Michael, The current implementation of groups in ownCloud is only used for checking admin status and only admins can create/modify groups. In terms of sharing this is alright for enterprise, but it isn't ideal for a normal user who may want to group people together for quick sharing on a reoc

Re: [Owncloud] Group backend question

2012-02-01 Thread Dirk Kastens
Hi, You're right, the group system isn't build for multiply backends yet. Changing it to behave simular to the users system has been a plan for a while but I never got to it. I've nearly finished writing an ldap backend for groups. It depends on the user_ldap app and adds a search path and s

[Owncloud] Group backend question

2012-01-31 Thread Dirk Kastens
Hi, I'm trying to write an ldap backend for group management. I'm using ldap for authentication and I like to use our ldap posixgroups for group memberships of the users. But I've seen that the group module is not prepared for external backends, like the user module is. The user module can u

Re: [Owncloud] coding errors

2012-01-30 Thread Dirk Kastens
Hi Aqeel, This is not a bug, it's a feature. :) These are 'min' or 'compact' files, that remove all whitespace, comments etc. to reduce the file size (resulting in faster page loads). If you open the files in a text editor, you will see, that these four lines contains code that usually covers h

Re: [Owncloud] coding errors

2012-01-30 Thread Dirk Kastens
Hi, the strangest thing happened to the javascript files. In my installation (just bunzip and tar) the file core/js/jquery-1.6.4.min.js only has four lines: # wc jquery-1.6.4.min.js 3 1257 91669 jquery-1.6.4.min.js Half of the files under apps/files_texteditor/js/aceeditor only consist

Re: [Owncloud] Simpler LDAP auth

2012-01-27 Thread Dirk Kastens
Hi Wogan, After pulling my hair out trying to get the default LDAP auth plugin configured, I went ahead and wrote a simpler replacement. All it does is clean up the username, and attempt to bind to AD with the credentials provided at login. What's so difficult with the LDAP plugin? If you use

Re: [Owncloud] coding errors

2012-01-24 Thread Dirk Kastens
Sorry for the misunderstanding. I don't care how you write your code. What I mean is, that at least the person who assembles all the bits of code should do some kind of debugging and error correction before uploading it. A missing semicolon or closing tag could have the strangest effects. > >

[Owncloud] coding errors

2012-01-24 Thread Dirk Kastens
Hi, I just loaded the latest owncloud code into "Eclipse for PHP Developers" (just want to see how it works and maybe write some apps). The debugger found many errors and warnings. The main errors are a result of the js files, that consist of a single line! This might have happened while uploa

Re: [Owncloud] sabre dav and ldap users

2012-01-23 Thread Dirk Kastens
Hi, I'd strongly recommend not using a separate principals table. You should be able to just map this to an existing users backend. The sole reason 'principals' and 'authentication' is split in SabreDAV, is because I didn't want to force people to implement a principal system (e.g.: lists of

Re: [Owncloud] sabre dav and ldap users

2012-01-23 Thread Dirk Kastens
Hi, I just added a bug report for this issue: http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-102 Dirk smime.p7s Description: S/MIME Kryptografische Unterschrift ___ Owncloud mailing list Owncloud@kde.org https://mail.kde.org/mailman/listin

[Owncloud] sabre dav and ldap users

2012-01-20 Thread Dirk Kastens
Hi, I'm trying to access my owncloud addressbook with carddav, but it doesn't work. I'm using the user_ldap app for authentication. As soon as I try to access /apps/contacts/carddav.php, apache logs the error message "GET /apps/contacts/carddav.php/principals HTTP/1.1" 404 283 (404 means "Re

Re: [Owncloud] pdfviewer problems

2012-01-19 Thread Dirk Kastens
Hi, the second problem is related to the mime type detection - I have some issues with that as well on one of my servers. Thanks. The pdf started with a blank line in front of the pdf header. I deleted the line, reloaded the document, and now it has been recognized as pdf. DIrk smime.p7

[Owncloud] pdfviewer problems

2012-01-19 Thread Dirk Kastens
Hi, I have two problems regarding pdf files. I have installed the latest development version of owncloud on Scientific Linux 6.1. The first problem is, that the pdfviewer only works with Firefox 9.0.1 on Ubuntu. With Google Chrome 16 on Windows 7 it produces unreadable garbage (see pdf1.png)

[Owncloud] files_sharing autocomplete

2012-01-19 Thread Dirk Kastens
Hi, I first thought this was an issue of the user_ldap app. But it turns out to be a problem of files_sharing. Using a select element and autocomplete to chose valid users and groups is a nice idea. But it only works with a small user database. We have about 50,000 users in our ldap director

[Owncloud] ldap function getUsers

2012-01-17 Thread Dirk Kastens
t of memory (a php array with 50,000 entries). Wouldn't it be better if a user could enter an arbitrary uid into the search field? -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: