[Owncloud] Why Max Upload size is set to 0b with my LDAP acount?

Pierre Malard plm at teledetection.fr
Mon Dec 10 22:25:18 UTC 2012


10 mn using my "new" account and it's the same thing :-(

"Upload Max" = 0b

Le 10 déc. 2012 à 23:07, Pierre Malard <plm at teledetection.fr> a écrit :

> Le 10 déc. 2012 à 18:18, Marcel Waldvogel <Marcel.Waldvogel at uni-konstanz.de> a écrit :
>> Pierre,
>> 
>> the LDAP subsystem tries to set the quota from LDAP. Could it be that the quota has been set to zero? (The *max_*size parameters are global, not per user, but the quota is per user.)
> 
> Ok,
> 
> The configuration of owncloud to load LDAP accounts is configured like that:
> LDAP Basic:
> 	Host			: ldap://ldap_server
> 	Base DN			: dc=...
> 	User Login Filter	: (&(objectClass=qmailUser)(uid=%uid)(accountStatus=active))
> 	Group Filter		: (&(objectClass=inetOrgPerson)(accountStatus=active))
> Advanced:
> 	Base User Tree		: ou=mails,dc=...
> 	Group-Member association: [uniqueMember]
> 	User Display Name Fiels	: mail
> 	Group Display Name Field: DepartmentNumber
> 	Quota Field		: mailQuotaSize
> 	Quota Default		: 5000000
> 	Email Field		: mail
> 	Cache Time-To-Live	: 600
> 
> In my LDAP mail account these values are set like that:
> 	mail			: pierre.malard at teledetection.fr
> 	mailQuotaSize		: 5242880
> 	departmentNumber	: UMR ESPACE-DEV
> 
> When I print my account in ownCloud, my account is record like that:
> On "Personal" tab, the first line say "You have 9.4 Mb of available 5 Mb"… clean!
> As I am an administrator, when I list users, my record print that:
> 	Name		: pierre.malard at teledetection.fr
> 	Groups		: admin
> 	Group Admin	: 
> 	Quota		: 5242880
> And when I try to upload, my "Upload max" is set to "0b"!
> 
> I have an other LDAP account which is not "admin".
> 	Name		: pierre.malard at espace.ird.fr
> 	Groups		: 
> 	Group Admin	: 
> 	Quota		: 5242880
> When I'm using this account, my "Upload max" is logicaly set to "5 Mb"!
> I try to configure this account as "admin", this is the same thing. This account work fine.
> 
> As I have other bugs with my real LDAP account (teledetection.fr) and I use it from the beginning of my tests. Bugs are somtimes files are not synchronised, specialy songs or images! So, I had try to erase all references of my LDAP account in the MySQL database and all files stored in "data/pierre.malard at teledetection.fr" directory.
> 
> now, it's ok... strange, isn't it?
> 
> 
> 
>> 
>> -Marcel
>> 
>> Am 10.12.2012 um 17:39 schrieb Pierre Malard <plm at teledetection.fr>:
>>> Le 10 déc. 2012 à 14:52, Colin Bookman a écrit :
>>> 
>>>> Even with apache you have to edit php.ini to change the max upload size. There are two values to edit, max upload and max file size.
>>>> 
>>>> As mentioned before try changing these values and restarting apache, ex:
>>>> 
>>>> upload_max_filesize = 512M
>>>> post_max_size = 512M
>>> 
>>> The problem is not for all accounts, just when i log with my LDAP account. With others LDAP, the Max Upload is set to 2Mb. This is just for one account.
>>> 
>>> I tried to change these variables, effectively the "Max upload" limit is set to 512 Mb fora all accounts but not for LDAP mine!!!!
>>> 
>>> It's exactly as there is a special value for trios account. I don't understand how to change that. 
>>> 
>>>> 
>>>> -
>>>> Colin Bookman
>>>> 
>>>> On Dec 10, 2012, at 8:36 AM, Diederik de Haas <didi.debian at cknow.org> wrote:
>>>> 
>>>>> On Monday 10 December 2012 14:16:28 Pierre Malard wrote:
>>>>>>> You're probably not using apache, so you have to configure the php
>>>>>>> settings  manually by modifying the relevant php.ini file.
>>>>>> 
>>>>>> No, I'm using apache
>>>>> 
>>>>> Then I don't know what causing it.
>>>>> _______________________________________________
>>>>> 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
>>> 
>>> ----
>>> Pierre Malard
>>>     «- Il n'y a que trois éléments indispensables à la vie.
>>>         Et il n'y a que les scientifiques pour penser que
>>>         c'est l'oxygène, l'hydrogène et le carbone...
>>>       - Quoi alors ? L'eau, l'air et le feu ?
>>>       - Non ! Le désir, le désordre et le danger...»
>>>               Manon Briand ; La turbulence des fluides
>>>                                       (film québécois de 2001)
>>>    |\      _,,,---,,_
>>>    /,`.-'`'    -.  ;-;;,_
>>>   |,4-  ) )-,_. ,\ (  `'-'
>>>  '---''(_/--'  `-'\_)
>>> 
>>> perl -e '$_=q#: 3|\ 5-,3-3,2-: 3/,`.'"'"'`'"'"' 5-.  ;-;;,-:  |,A-  ) )-,_. ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(-/--'"'"'  `-'"'"'\-): 22PLM::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
>>> - --> Ce message n’engage que son auteur <--
>>> 
>>> _______________________________________________
>>> Owncloud mailing list
>>> Owncloud at kde.org
>>> https://mail.kde.org/mailman/listinfo/owncloud
>> 
> 
> 

----
       «Ce qui tombe sous le sens rebondit ailleur»
                Jacques Prévert
   |\      _,,,---,,_
   /,`.-'`'    -.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)

perl -e '$_=q#: 3|\ 5-,3-3,2-: 3/,`.'"'"'`'"'"' 5-.  ;-;;,-:  |,A-  ) )-,_. ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(-/--'"'"'  `-'"'"'\-): 22PLM::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20121210/07ac7c7b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2220 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20121210/07ac7c7b/attachment.bin>


More information about the Owncloud mailing list