1

Topic: LDAP user on ubuntu

Hi,

All new user created in my LDAP have a home directory path wrong. I have created default directory in /home but it shows the path in /var

Instead of this path
/var/vmail/vmail01/xxxxxxxxxxxxxxxxxx.com/s/sa/san/sanjeev.jain-2010.05.07.19.08.49/
it should be this
/home/vmail/vmail01/xxxxxxxxxxxxxxxxxx.com/s/sa/san/sanjeev.jain-2010.05.07.19.08.49/

How to rectify this. Currently after creating user by iredadmin, I open phpldapadmin and manually change the path.

Thanks

----

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

2

Re: LDAP user on ubuntu

Change 'storage_base_directory' in 'settings.ini' of iRedAdmin-Pro so that new users will use correct base directory. File settings.ini is in the root directory of iRedAdmin-Pro.

Currently, you can write a shell script or python script (whatever) to change ldap values, or simply create symbol link of these two directories.