Submitted by waacot on Mon, 08/31/2015 - 05:40
OS Before : Centos 6.6 After : Operating system CentOS Linux 6.7 Usermin Version 1.670 VirtualMin version : 4.18
Usermin users are no more 'visible' in VirtualMin / Usermin web UI. for a dedicated domain.
Email and Authentication are no more working.
Users directories still there in /home/$mydomain/homes.
Seems authentication link doesn't work any more.
Still trying to resolve. I will post the answer if any.
Thanks for your feedback.
Status:
Active
Comments
Submitted by andreychek on Mon, 08/31/2015 - 10:07 Comment #1
Howdy -- just to clarify, the users no longer exist when you click on "Edit Users" in Virtualmin?
Do you see the users in /etc/passwd?
Submitted by waacot on Mon, 08/31/2015 - 10:25 Comment #2
Hello Andreychek,
Systems users are OK. LDAP Users were not.
It was a big issue for us. I have been working on it all the day. because it's my SMTP/IMAP server with LDAP authentication.
The issue came from LDAP package update on CentOS 6.X I found the How-To resolve it on : https://bugs.centos.org/view.php?id=9193.
LDAP Server Update backuped the file in a directory like /var/lib/ldap/backup.xxxxxxxxxxx
I resolved it by :
1/ Stopping LDAP server process : /etc/init.d/slapd stop. 2/ Backup directory /var/lib/ldap to /var/lib/ldap.20150831 3/ copy backup content /var/lib/ldap.backup.xxxxxxxxx to .. 4/ Becareful to have ldap user as owner. 5 / start LDAP Service /etc/init.d/slapd start.
It is OK for me.
Remarks:
I think 'Virtualmin Backup Pages should consider backuping LDAP Database also : /var/lib/ldap/...
==> Pam.d and Webmin Ldap authentification have been configured before the issue.
Regards.
Laurent VERNET / Waacot Technology
Submitted by JamieCameron on Mon, 08/31/2015 - 21:38 Comment #3
Virtualmin doesn't do anything special like backups when performing package upgrades - it's really up to the distribution package authors to ensure that an upgrade happens smoothly.
Submitted by andreychek on Mon, 08/31/2015 - 22:24 Comment #4
Jamie, when performing a Virtualmin backup, will it also backup users in LDAP if LDAP is in use?
Submitted by JamieCameron on Mon, 08/31/2015 - 22:25 Comment #5
Yes, it will.