ldap integration - +(comment, email, first name, lastname)

Mar 18, 2024
31
3
8
east of muc
hello and good afternoon,

i have added the line

sync_attributes comment=departmentNumber,email=email,firstname=givenName,lastname=sn

to /etc/pve/domains.cfg.

the result is fine as long as i sync by hand (sync button @ permissions -> realms) - i can see the correct content of the configured attributes. when the automatic 'realm syn job' runs, the content of my configured attributes is lost (the fields are empty), at least it is no longer displayed. when i resync by hand, the correct content is displayed.

is there anything i can do in order to make the content of the fields permanent?

thanks in advance for your advice.

gystav
 
Hi,

could you please provide the output of pveversion -v and cat /etc/pve/domains.cfg?
You might need to censor some things of the last command.

I'll see if I can reproduce it, I'd just like to make sure of your package versions.

Edit: For the record, I can reproduce it. It does not happen when running the realm sync job manually, *only* when it is really run by itself in the background.
 
Last edited:
is there anything i can do do get it fixed?
I'll dive into it and try to get a fix out as soon as possible, but it might take some time anyway until it is packaged & hits our repositories.

But you are free to create an entry in our bugtracker, if you want to keep track / get notified if and when that happens. :)
 
just to let you know: when configuring notification targets i have to enter email-addresses (additional recipients) - it does not work if i enter uid@ldap because the corresponding email-address is unknown after an automatic sync run.
 

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!