Hi Martin, 

try

$this->attributes['mDBStorageQuota'][0] = intval($_POST['mDBStorageQuota']);

instead of 
$this->attributes['mDBStorageQuota'] = intval($_POST['mDBStorageQuota']);

The values in attributes array are arrays themselves. 

Best regards 
Roland 

Am 14. Juni 2016 12:11:55 MESZ, schrieb Martin LEUSCH <[email protected]>:
>Hi,
>
>I'm trying to write a simple module to edit a simple attribute.
>I want to edit the "mDBStorageQuota" attributes from the 
>"msExchMailStorage" object class.
>
>I can add manually this object class to an user and set the 
>"mDBStorageQuota" attribute.
>
>I wrote a simple module, you can find it in attachment, to manage 
>msExchMailStorage object class and mDBStorageQuota attribute from LAM. 
>The object class is correctly added when I edit an user, I can read 
>mDBStorageQuota attribute when it was set manually but when I try to 
>edit it or add it, the attribute is removed or not added.
>
>What is wrong in my module?
>
>-- 
>Martin Leusch
>[email protected]
>
>
>
>------------------------------------------------------------------------
>
>------------------------------------------------------------------------------
>What NetFlow Analyzer can do for you? Monitors network bandwidth and
>traffic
>patterns at an interface-level. Reveals which users, apps, and
>protocols are 
>consuming the most bandwidth. Provides multi-vendor support for
>NetFlow, 
>J-Flow, sFlow and other flows. Make informed decisions using capacity 
>planning reports.
>https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Lam-public mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/lam-public

-- 
Sent from my mobile. 
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to