LPAP Sync: User not removed from group after removal from LDAP

Jan 22, 2023
2
0
1
Hey folks,

I'm guessing this is a bug, but maybe I'm doing something wrong. Scenario:
  1. Add a user to LDAP
  2. Sync the LDAP realm in PVE
  3. Add the user to a PVE Group
  4. Remove the user from LDAP
  5. Run another LDAP realm sync
The user will remain present in the group, and PVE will complain about the user not existing during certain operations. For instance when generating a cloud-init dump:

Code:
root@foobar:~# qm cloudinit dump 100 user
user config - ignore invalid group member 'foo@LDAP'
#cloud-config
hostname: somehostname
manage_etc_hosts: true
chpasswd:
  expire: False
users:
  - default
package_upgrade: true
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!