Re: [owncloud-user] imap login

2015-07-29 Thread Gerald Vogt

Are you sure, the password is really correct?

Try to call the function directly:

$ php -r 'imap_open({localhost:143}, username, password, 
OP_HALFOPEN, 1);'


If it fails you'll see an error. Also check the IMAP server log.

-Gerald

On 28/07/15 16:54, Martin S wrote:

Hi,

I've enabled the External Users feature, and set the config.php to point
to my mail server

user_backends = array (

0 = array (

class = OC_User_IMAP,

arguments = array (

0 = '{localhost:143}'

),

),

),

But I constantly get a Wrong password error. I've also experimented with

{localhost:143/imap/starttls}

{localhost:143/imap/tls}

{SERVERFQDN:143/imap/starttls}

{SERVERFQDN:143/imap/tls}

but get the same error. What more can I try to get round this. I'm
looking to use the imap authentication for owncloud? Does the account
actually need to be on the server prior to login, or would it create it
on login?

/Martin S

--



This address is for technical maillists only

Please use my primary mail address at the .org domain

for all other matters





___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


[owncloud-user] Contacts app

2015-07-17 Thread Gerald Vogt
I don't want to be pushy here, but... as someone mentioned in a comment
that the current contacts app would be dead  I was wondering if I can
expect anyone to review my pull requests on github or if that was just a
waste of time and an operation on a dead patient...

This was my first edits on github ever and I don't know if I did
something wrong and it doesn't appear where it should be or if it's
simply ignored because of status dead or if it's my impatience...

Thanks,

Gerald
___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] [solved] Re: Owncloud server can't be installed in (K)Ubuntu 16.4

2016-05-01 Thread Gerald Vogt

On 01/05/16 12:25, Volker Wysk wrote:

The owncloud.conf file was not present in /etc/apache2/conf-enabled. This
repairs the problem:

/etc/apache2/conf-enabled % ln -s ../conf-available/owncloud.conf .


The debian/ubuntu way of doing this is with a2enconf... -Gerald

___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] Owncloud server can't be installed in (K)Ubuntu 16.4

2016-05-01 Thread Gerald Vogt

On 01/05/16 10:44, Volker Wysk wrote:

Am Samstag, 30. April 2016, 23:15:06 CEST schrieb Chris:
Okay, I've installed owncloud-9.0.1 now, from download.owncloud.org, and it
installs fine. However, I can't access https://localhost/owncloud (or anything
below). I get a 404 error. This is despite the fact, that /var/www/owncloud
exists and is populated (by index.html for instance).


Is the web server really running on your local computer?


"service apache2 stop && service apache2 start" doesn't help.

I couldn't determine what's up, in the notes I took, when I had installed the
previous version of owncloud.

In /var/log/apache2 there's nothing usual.


And what is in there in any of the apache logs when you try to access 
the server?


-Gerald
___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] Owncloud server can't be installed in (K)Ubuntu 16.4

2016-05-01 Thread Gerald Vogt

On 01/05/16 11:54, Volker Wysk wrote:

Am Sonntag, 1. Mai 2016, 11:45:43 CEST schrieb Gerald Vogt:

On 01/05/16 10:44, Volker Wysk wrote:

Am Samstag, 30. April 2016, 23:15:06 CEST schrieb Chris:
Okay, I've installed owncloud-9.0.1 now, from download.owncloud.org, and
it
installs fine. However, I can't access https://localhost/owncloud (or
anything below). I get a 404 error. This is despite the fact, that
/var/www/owncloud exists and is populated (by index.html for instance).


Is the web server really running on your local computer?


Sure:

/var/log/apache2 % service apache2 status
  apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
   └─apache2-systemd.conf
   Active: active (running) since So 2016-05-01 11:05:06 CEST; 43min ago


That doesn't say that it's running on your local computer. The Apache 
server is active. But where do you access https://localhost/owncloud? Is 
that really the same computer? You have installed the apache server and 
owncloud on the very same desktop on which you try to access the server?



"service apache2 stop && service apache2 start" doesn't help.

I couldn't determine what's up, in the notes I took, when I had installed
the previous version of owncloud.

In /var/log/apache2 there's nothing usual.


And what is in there in any of the apache logs when you try to access
the server?


This is in the log directory:

/var/log/apache2 % ll
insgesamt 36
-rw-r- 1 root adm 28115 Mai  1 11:50 access.log
-rw-r- 1 root adm  2256 Mai  1 11:05 error.log
-rw-r- 1 root adm 0 Mai  1 10:56 other_vhosts_access.log

/var/log/apache2 % tail access.log
127.0.0.1 - - [01/May/2016:11:49:16 +0200] "GET /owncloud/status.php HTTP/1.1"
404 783 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:49:16 +0200] "GET /owncloud/owncloud/status.php
HTTP/1.1" 404 649 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:49:48 +0200] "GET /owncloud/status.php HTTP/1.1"
404 783 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:49:48 +0200] "GET /owncloud/owncloud/status.php
HTTP/1.1" 404 649 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:50:20 +0200] "GET /owncloud/status.php HTTP/1.1"
404 783 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:50:20 +0200] "GET /owncloud/owncloud/status.php
HTTP/1.1" 404 649 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:50:52 +0200] "GET /owncloud/status.php HTTP/1.1"
404 783 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:50:52 +0200] "GET /owncloud/owncloud/status.php
HTTP/1.1" 404 649 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:51:24 +0200] "GET /owncloud/status.php HTTP/1.1"
404 783 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"
127.0.0.1 - - [01/May/2016:11:51:24 +0200] "GET /owncloud/owncloud/status.php
HTTP/1.1" 404 649 "-" "Mozilla/5.0 (Linux) mirall/2.1.1"


And where is your access attempt to http://localhost/owncloud? All there 
is are attempts to http://localhost/owncloud/status.php or 
http://localhost/owncloud/owncloud/status.php...


Where is your ssl access log?


Note, that I can access http://localhost. I get the norma "Apache2 Ubuntu
Default Page".


And when you access http://localhost/owncloud/ ?

Maybe it's time you post your owncloud apache configuration? What files 
do you have in /etc/apache/ and the *-enabled subdirectories in particular?


-Gerald

___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] Can't install 9.0.1 server, it installs but nothing is there

2016-05-04 Thread Gerald Vogt

owncloud installs the copyright notice into /usr/share/doc/owncloud

It has two dependencies: owncloud-files and owncloud-deps-php5 which 
contain the server and the apache configuration.


Are you sure the installation worked and installed all the dependencies 
as well? Sounds like it was incomplete...


Check with

# dpkg-query --list '*owncloud*'

which packages are actually installed on your system...

-Gerald

On 04/05/16 20:17, Chris Green wrote:

I am trying to install owncloud 9.0.2 server on an Ubuntu 14.04 system.

After 'apt-get install owncloud' nothing seems to be actually installed.

Where should it be?

There's nothing remotely resembling an owncloud installation anywhere
in /var/www or anywhere else one might expect it to be.



___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] Where/how to set date format in calendar?

2016-11-08 Thread Gerald Vogt

On 08/11/2016 14:42, Chris Green wrote:

As per the subject, I've just noticed that the date format used for
displaying dates in Calendar is MM/DD/ (whoever invented that?!).


Seems you have set your owncloud language to American English instead of 
British English.


Switch to British on your Personal page...


Where and how do I change it to something sane?

The Calendar version is 1.4.0, on OwnCloud version 9.1.0.15.

(by the way it was a pain finding the OwnCloud version, is there an
easy way from the web site?)


At the bottom of your Personal page...

-Gerald
___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] Lots of LDAP Queries

2016-10-21 Thread Gerald Vogt

On 20/10/2016 12:23, Vincent Petry wrote:

Possibly related ? https://github.com/owncloud/core/issues/26065


At least for me that's not related.

I have analyzes the ldap server logs and the bind is only happening 
every 5 minutes.


However, every 30 seconds the owncloud client on windows does a
PROPFIND /remote.php/webdav/ and it seems each time the owncloud server 
does the same 9 LDAP searches:


op=1 base="uid=UID,ou=people,..." scope=0 filter="(USERFILTER)" attrs=" "

op=2 base="ou=people,..." scope=2 filter="(uid=UID)" attrs="dn uid 
samaccountname memberof  mail gecos  jpegphoto thumbnailphoto "


op=3 base="uid=UID,ou=people,..." scope=0 filter="(USERFILTER)" attrs=" "

op=4 base="ou=people,..." scope=2 filter="(uid=UID)" attrs="dn uid 
samaccountname memberof  mail gecos  jpegphoto thumbnailphoto "


op=5 base="uid=UID,ou=people,..." scope=0 filter="(USERFILTER)" attrs=" "

op=6 base="uid=UID,ou=people,..." scope=0 filter="(objectClass=*)" 
attrs="primaryGroupID "


op=7 base="uid=UID,ou=people,..." scope=0 filter="(objectClass=*)" 
attrs="uid "


op=8 base="ou=group,..." scope=2 
filter="(&(GROUPFILTER)(memberUid=UID))" attrs="cn dn "


op=9 base="cn=GRP,ou=group,..." scope=0 filter="(objectClass=*)" attrs=" "

That happens each time a PROPFIND comes in. op=9 is for the single group 
to which the user belongs.


op=1, op=3, op=5 are identical. As are op=2 and op=4.

Worse even, op=1 to op=7 could actually be done with a single search. 
You could check for existence of the entry, match of user filter an get 
all attributes required in a single search.


What's also bad is that it requests the memberof attribute, which is a 
dynamic attribute, i.e. it is determined at run time from the group 
memberships. Requesting memberof when it is not used is a huge waste of 
time and resources...


Can anyone confirm this?

Thanks,

Gerald





On 20.10.2016 12:14, Jan Martens wrote:

Hi,

we use ownCloud 9.1.1 with the ldap_user APP and have a LDAP server
with about 11,000 user entries. We investigated that our ownCloud test
server (only two syncclients connected) made about 60,000 to 350,000
queries per hour to the LDAP server. The productive Server makes even
more for example because for every sync client there is one bind
operation every five minutes.

For example from 2016-10-13 15:00:00 to 2016-10-13 16:00:00 the only
the ownCloudUser 17706 binds and 60572 queries.

It looks like ownCloud makes every ten minutes for every user multiple
queries to the LDAP even if the user never used the ownCloud. The
queries look like the following:

base="uid=usernameXY,ou=people,dc=company,dc=de" scope=0 deref=0
filter="(ownCloudQuota=*)"
base="uid=usernameXY,ou=people,dc=company,dc=de" scope=0 deref=0
filter="(objectClass=*)"
base="ou=People,dc=company,dc=de" scope=2 deref=0
filter="(&(ownCloudQuota=*)(uid=usernameXY))"
base="uid=usernameXY,ou=people,dc=company,dc=de" scope=0 deref=0
filter="(objectClass=*)"
base="uid=usernameXY,ou=people,dc=company,dc=de" scope=0 deref=0
filter="(objectClass=*)"
base="uid=usernameXY,ou=people,dc=company,dc=de" scope=0 deref=0
filter="(objectClass=*)"
base="ou=ownCloud Groups,dc=company,dc=de" scope=2 deref=0
filter="(&(cn=*)(memberUid=usernameXY))"

Of cause we are using APCu as memcache. By increasing the TTL from 600
seconds to 3600 we have alredy reduced the number of queries by about
10 percent.

My question is, if this is normal and nessesary behavior of owncloud.
Or can we adjust the intervall? It would be okay if ownCloud would
synchronize the users three times per day. The rest of the time it
would be enougth to handle the user authentification.

Or could a misconfiguration cause the amount of queries?

Best regards
Jan


___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user





___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user


Re: [owncloud-user] SSL configuration to pass Qualys SSL Labs Test.

2017-05-18 Thread Gerald Vogt

On 18.05.17 18:28, Alexandre Adao wrote:
I am trying to get A or A+ from the SSL server Test 
(https://www.ssllabs.com/ssltest ). I am ruining OpenSSL 1.0.1e-fips and 
Linux.  I have grade A- and I think is because the issue with Forward 
Secrecy. Any advise please?


1. Ask on a mailing list for your web server (which you don't even 
mention). This has nothing to do with owncloud.


2. It's difficult to tell what the reason for A- is if you don't seem to 
know exactly. The test tells you the reason. It is says it's forward 
secrecy that's what it is.


3. If it's PFS it also gives you a link to a page describing the reason 
and how to fix this. If you google for the name of your web server and 
forward secrecy you'll find lots of detailed instructions on how to 
configure your specific web server.


So find the right place to ask your question or even better read what 
ssllabs tells you...


Gerald
___
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user