1 (edited by alexp 2012-07-22 04:35:47)

Topic: 0.8.1 shared folder bug with ldap - enableService=lib-storage

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.8.1 ldap
- Linux/BSD distribution name and version: ubuntu 12.04.
- Any related log? Log is helpful for troubleshooting.
====

Shared Folders in 0.8.1 with Backend LDAP are not working correctly. I followed the steps provided here:
http://www.iredmail.org/wiki/index.php? … ib-storage
and checked if all the points were correct in my installation.

i also downloaded the python script "updateLDAPValues_080_to_081.py" and ran it and the value was missing for all users i have created.
only the first user test@example.com had it already correctly set.

after this sharing works!

so apparently iredadmin doesn't set the ldap value here. thought you would like to know!

how to fix that "enabledService=lib-storage" is set also for new users? thanks for your help.


best, alex

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 0.8.1 shared folder bug with ldap - enableService=lib-storage

Sorry about this trouble, this was fixed in iRedAdmin-Pro development version and will be available in next release.

To fix it manually, please edit file libs/ldaplib/iredldif.py, find function "ldif_mailuser", like below:

# Define and return LDIF structure of mail user.                                   
def ldif_mailuser(...):
    ...
    # Generate basic LDIF.                                                      
    ldif = [
        ...
        ('enabledService', ...)

Please add value 'lib-storage' for attribute 'enabledService', then save your change and restart Apache web server.

Reference: https://bitbucket.org/zhb/iredadmin-ose … 389f189fc6