set-quota resets
Skale, Franz
i.bin at dah.am
Tue Jan 16 20:28:23 CET 2018
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=user,ou=People,dc=example,dc=org
>> changetype: modify
>> replace: mailQuota
>> mailQuota: 2097152
>>
>> /usr/lib/mozldap/ldapmodify -D "cn=Directory Manager" -f
>> change-mailquota.ldif -w [password]
> I do not have a dir /usr/lib/mozldap/ -- change-mailquota.ldif is this
> 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
using a shellscript variant, put it in your script. (<<EOF).
ldapmodify should support reading the file from STDIN using -f -. (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=user,ou=People,dc=example,dc=com
>>
>> 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.
Rgds.
Franz
More information about the users
mailing list