Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
Thanks for your help christian Mohammed Amine Saidi élève ingénieur à l'ENSIAS On Apr 19, 2016 2:59 PM, "Christian Rost" wrote: > What's the result of this? > > ldapsearch -x -W -D -H ldap:// -b -LLL > '(uid=)''+' cn mail ownCloudQuota > > >

Re: [owncloud-devel] Pi-drive status and plans

2016-04-19 Thread Jos Poortvliet
On Sunday 14 February 2016 21:59:33 robert rottermann wrote: > Hi there, > > we have scripts that set up the hard disk, bind it into the rpi's boot setup > at > first boot and then set up owncloud automatically. > > They are hosted on our gitlab server: > > http://gitlab.redcor.ch/jonas.cosand

[owncloud-devel] Mapping OpenLDAP Groups to Owncloud Groups

2016-04-19 Thread Mohammed Amine Saidi
Hello, I want to map my LDAP Organizational Units to groups in OC ,when i try to add a user to an Organizational Unit it work fine ! but when i go to OC to check wheather the user is added to the following group , i have the user group set as default i'v followed this tutorial for configuring the

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
What's the result of this? ldapsearch -x -W -D -H ldap:// -b -LLL '(uid=)''+' cn mail ownCloudQuota signature.asc Description: OpenPGP digital signature ___ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listin

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
$info["cn"] = $login; $info["sn"] = $login; $info['mail'] = $email; $info['userPassword']=$password; $info['ownCloudQuota']="1 GB"; $info["obje

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
That is an very useful information. That means the mail sync works fine. I think you have a) no quota attribute on your LDAP-Server or b) a qouta attribute on your LDAP-Server but the value is not correct or c) a quota attribute on your LDAP-Server but the attribute Name differs in ownCloud or d)

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
the email attribute works just fine when i add a user and it does not show up when i run the commande how could it be the mail is also set in the advanced tab 2016-04-19 15:30 GMT+02:00 Christian Rost : > There should be the Quota Attribute - but this is missing. > > You have to extend your LDAP

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
There should be the Quota Attribute - but this is missing. You have to extend your LDAP Server and assign a quota to a user. The Output with a 2GB Quota and a new Attribute named oc_quota should look like this. > dn: cn=admin,dc=powerm,dc=com > objectClass: simpleSecurityObject > objectClass: org

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
dn: cn=admin,dc=powerm,dc=com objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator userPassword:: e1NTSEF9enRqbmN4L3p0eWROcE9wODNsMm5yOElUMzNxSUhHREo= this is the result 2016-04-19 15:18 GMT+02:00 Mohammed Amine Saidi : > ok i will test t

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
ok i will test that and let you know 2016-04-19 15:18 GMT+02:00 Christian Rost : > Maybe you can do a manual ldapsearch. > > ldapsearch -x -W -D -H ldap:// -b -LLL > '(uid=)''+' '*' > > just change the settings to your environment > > You can now search for all attributes belong to

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
Yes i have configured the connection there is no doubt that the connection does not work because i can add and remove users from my application and these users are added in both the openldap and owncloud i'm sure of that . 2016-04-19 15:15 GMT+02:00 Christian Rost : > Hi this should be active r

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
Maybe you can do a manual ldapsearch. ldapsearch -x -W -D -H ldap:// -b -LLL '(uid=)''+' '*' just change the settings to your environment You can now search for all attributes belong to a specific user. Send me the output anonymised please. signature.asc Description: OpenPGP dig

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
Hi this should be active right away. Did you configured your ldap-connection in GUI or still in Sourcecode? signature.asc Description: OpenPGP digital signature ___ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listinfo/d

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
Hi, when i modify this i should restart the apache server or just change it ?? because i'v changed that also but with no chance :( if((time() - intval($lastChecked)) < 86400 ) { return false; } ___ Devel mailing list Devel@owncloud.org http://mai

[owncloud-devel] Static compile owncloudcmd independently of desktop client.

2016-04-19 Thread Filip Dorosz
Hello there. I hope this is a good place to ask. Me together with some folks are doing owncloud sync app for Ubuntu Touch [1][2] using QML, Qt and owncloud-client-cmd. I managed to get owncloud-client-cmd (owncloudcmd) running independently of system Qt libraries by stuffing all needed by own

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
Hi, well I understand that your problem is, that owncloud does not fetch the quota from your LDAP-Server. Hope this is correct so far. No, I meant that it may take up to 24 hours after configuring the quota attribute in ownCloud you ownCloud Server will fetch the data from LDAP. Ok -lets start

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
i don't really know if you understand me well because my level in english is not very good , but i understand that if i add the OwncloudQuota attribute in the Advanced tab in owncloud it take 24hours to get recognized by the LDAP Server as an attribute is that what you want to say ?? Cheers 2016-0

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
I would reccomend you configure the ldap-Connection not in source-code. Then we can start debuging. Your should also notice that it can take about 24 hours before UserQouta is synced. in apps/user_ldap/lib/user/user.php you find //TODO make interval configurable if((time() - intval($lastChecked

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
Yes i'm sure when i add a user without the attribute ownCloudQuota it work fine but when i add this attribute it doesn't work . i have modified the configuration in the owncloud interface in advanced tab 2016-04-19 13:44 GMT+02:00 Christian Rost : > Did you modified the user_ldap code? > > You j

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
Did you modified the user_ldap code? You just have to configure the connection in the admin-interface. No need to change the code so far. but - are you sure that your ldap-Server listen on Port 666? It is usualy 389 or 636 (ldaps) signature.asc Description: OpenPGP digital signature _

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
$ds=ldap_connect("ldap://192.168.1.17",666)or die("Could not connect to $ldaphost"); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $ldapname = "cn=admin,dc=powerm,dc=com"; $ldappasswd = "enima2005"; $r=ldap_bind($ds,$ldapname, $ldap

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
Hi, just have a look here. https://doc.owncloud.org/server/8.2/admin_manual/configuration_user/user_auth_ldap.html#advanced-settings cheers, chris signature.asc Description: OpenPGP digital signature ___ Devel mailing list Devel@owncloud.org http:

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
i want the first one please 2016-04-19 12:39 GMT+02:00 Christian Rost : > On 04/19/2016 12:04 PM, Mohammed Amine Saidi wrote: > > Hello guys is there a way to set my openLdap users quota ? > > Hi, > > what exactly do you want to do? > > Set the user quouta in openLDAP and ownCloud will sync the

Re: [owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Christian Rost
On 04/19/2016 12:04 PM, Mohammed Amine Saidi wrote: > Hello guys is there a way to set my openLdap users quota ? Hi, what exactly do you want to do? Set the user quouta in openLDAP and ownCloud will sync the Value from LDAP and the user will get the quouta or do you want to set the qouta in own

[owncloud-devel] Openldap Owncloud 8 set user quota

2016-04-19 Thread Mohammed Amine Saidi
Hello guys is there a way to set my openLdap users quota ? ___ Devel mailing list Devel@owncloud.org http://mailman.owncloud.org/mailman/listinfo/devel

Re: [owncloud-devel] where to report app bug?

2016-04-19 Thread Joas Schilling
Try: https://github.com/owncloud/files_antivirus if that is the app you are talking about Am 19.04.2016 um 11:11 schrieb Martin crysman Zahradník: Please, where to report an app bug? I believe this https://apps.owncloud.com is not the correct place... The bug is in "antivirus" plugin. Thanks #M

[owncloud-devel] where to report app bug?

2016-04-19 Thread Martin crysman Zahradník
Please, where to report an app bug? I believe this https://apps.owncloud.com is not the correct place... The bug is in "antivirus" plugin. Thanks #McZ -- /Martin crysman Zahradník/ /www:/ crysmanovo.blogspot.com /e-mail:/ crys...@seznam.cz /jabber:/ crys...@jabbe