Re: set-quota resets
Klaus Schreyack <[email protected]> Mon, 27 Feb 2023 17:20:32 -0700
| Newsgroups | gmane.comp.kde.devel.kroupware |
|---|---|
| Message-ID | <2f95c647-faa3-f668-6ec8-4f6039551f82__11254.3159558967$1677545156$gmane$org@myexpertise.net> |
This is a multi-part message in MIME format. --===============4859176083843380345== Content-Type: multipart/alternative; boundary="------------D2TDXUuSLbRLMopEUTh2EULS" Content-Language: en-US This is a multi-part message in MIME format. --------------D2TDXUuSLbRLMopEUTh2EULS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hmm, I never got mine to update with the LDAP changes suggested. Not=20 sure what to try next.=C2=A0 I have made the changes in the Kolab Admin W= eb=20 UI as well, but the user still has old 1GB quota set and no email coming=20 into the account due to this I feel. Looking for suggestions, thanks in advance! Klaus On 9/29/22 17:03, Geoff Nordli wrote: > Hi, > > On 2018-01-16 11:28, Skale, Franz wrote: >> Hi, >> Am 2018-01-16 15:27, schrieb Sruli Saurymper: >>> Many thanks, I have never touched a ldap table directly, please help = me >>> understand further; >>> >>>> this only can be done using ldapmodify: >>>> ldif-example: >>> Is this a .ldif file i need to create? >>>> dn: uid=3Duser,ou=3DPeople,dc=3Dexample,dc=3Dorg >>>> changetype: modify >>>> replace: mailQuota >>>> mailQuota: 2097152 >>>> >>>> /usr/lib/mozldap/ldapmodify=C2=A0 -D "cn=3DDirectory Manager" -f >>>> change-mailquota.ldif -w [password] >>> I do not have a dir /usr/lib/mozldap/ -- change-mailquota.ldif is thi= s >>> the file I created above? >> Then use the default ldapmodify utililty. >> It should accept the same command parameters as mozldaps version do !. >> Yes, either you have to create a ldif file using an editor or, when=20 >> using a shellscript variant, put it in your script. (<<EOF). >> ldapmodify should support reading the file from STDIN using -f -.=20 >> (Try and test). >> >> Debian provides the mozldap-tools package: >> mozldap-tools: /usr/lib/mozldap/ldapmodify >> Perhaps you forgot to install the package (Highly recommended). >> >>>> modifying entry uid=3Duser,ou=3DPeople,dc=3Dexample,dc=3Dcom >>>> >>>> It's quite easy to create a shell script for this purpose ! >>> Once I understand it properly I can create a bash script to automate. >> > Once you do the update, should it show in the kolab list-quota right=20 > away or does something need to sync between ldap and cyrus? > > list-quota is still showing the old value, even after a few hours. > > I assume ldapmodify would error out if it didn't find the=20 > object/property. > > On a side note is there a spot to create a global quota? =C2=A0 The Kol= ab=20 > Webadmin interface shows 0 on all accounts. =C2=A0 I tried changing tha= t=20 > but it had no affect. > > thanks, > > Geoff > > _______________________________________________ > users mailing list > [email protected] > https://lists.kolab.org/mailman/listinfo/users --------------D2TDXUuSLbRLMopEUTh2EULS Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF= -8"> </head> <body> <p>Hmm, I never got mine to update with the LDAP changes suggested.=C2= =A0 Not sure what to try next.=C2=A0 I have made the changes in the Kol= ab Admin Web UI as well, but the user still has old 1GB quota set and no email coming into the account due to this I feel.</p> <p>Looking for suggestions, thanks in advance!</p> <p>Klaus<br> </p> <pre class=3D"moz-signature" cols=3D"72"> </pre> <div class=3D"moz-cite-prefix">On 9/29/22 17:03, Geoff Nordli wrote:<= br> </div> <blockquote type=3D"cite" cite=3D"mid:[email protected]">Hi, <br> <br> On 2018-01-16 11:28, Skale, Franz wrote: <br> <blockquote type=3D"cite">Hi, <br> Am 2018-01-16 15:27, schrieb Sruli Saurymper: <br> <blockquote type=3D"cite">Many thanks, I have never touched a lda= p table directly, please help me <br> understand further; <br> <br> <blockquote type=3D"cite">this only can be done using ldapmodify: <br> ldif-example: <br> </blockquote> Is this a .ldif file i need to create? <br> <blockquote type=3D"cite">dn: uid=3Duser,ou=3DPeople,dc=3Dexample,dc=3Dorg <br> changetype: modify <br> replace: mailQuota <br> mailQuota: 2097152 <br> <br> /usr/lib/mozldap/ldapmodify=C2=A0 -D "cn=3DDirectory Manager"= -f <br> change-mailquota.ldif -w [password] <br> </blockquote> I do not have a dir /usr/lib/mozldap/ -- change-mailquota.ldif is this <br> the file I created above? <br> </blockquote> Then use the default ldapmodify utililty. <br> It should accept the same command parameters as mozldaps version do !. <br> Yes, either you have to create a ldif file using an editor or, when using a shellscript variant, put it in your script. (<<EOF). <br> ldapmodify should support reading the file from STDIN using -f -. (Try and test). <br> <br> Debian provides the mozldap-tools package: <br> mozldap-tools: /usr/lib/mozldap/ldapmodify <br> Perhaps you forgot to install the package (Highly recommended). <br> <br> <blockquote type=3D"cite"> <blockquote type=3D"cite">modifying entry uid=3Duser,ou=3DPeople,dc=3Dexample,dc=3Dcom <br> <br> It's quite easy to create a shell script for this purpose ! <br> </blockquote> Once I understand it properly I can create a bash script to automate. <br> </blockquote> <br> </blockquote> Once you do the update, should it show in the kolab list-quota right away or does something need to sync between ldap and cyrus? <br> <br> list-quota is still showing the old value, even after a few hours. <br> <br> I assume ldapmodify would error out if it didn't find the object/property. <br> <br> On a side note is there a spot to create a global quota? =C2=A0 The Kolab Webadmin interface shows 0 on all accounts. =C2=A0 I tried changing that but it had no affect. <br> <br> thanks, <br> <br> Geoff <br> <br> _______________________________________________ <br> users mailing list <br> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]= lab.org">[email protected]</a> <br> <a class=3D"moz-txt-link-freetext" href=3D"https://lists.kolab.org/= mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a= ><br> </blockquote> </body> </html> --------------D2TDXUuSLbRLMopEUTh2EULS-- --===============4859176083843380345== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ users mailing list [email protected] https://lists.kolab.org/mailman/listinfo/users --===============4859176083843380345==--