Change Provider from LDAP to Active Directory

Hi everyone

I changed provider from ldap to Active Directory, the machine in question it is a mail server.
I copied the “vmail” folder from / var / lib / nethserver to a backup folder then I removed ldap and joined DC.

After that i move the folder from the backup folder to the original path /var/lib/nethserver and i try to login to Webmail and i saw that the emails were all there.

I wanted to know if the procedure i have done is correct or not

Thank you

Yes, it should be ok. I think it would have worked too without copying the vmail folder.


Ok perfect