LDAP badge?

Hello, is it possible to assign a badge to those whose username matches the LDAP username and were authenticated via LDAP ? We currently allow rigistering local accounts too so someone could register someone else’s LDAP username as a local account and we’d like to be able to tell the difference…

I think what I’d do is get LDAP to assign people to some group and give that group Badge Flair. Setting a primary group for users might help?

2 Likes

Any idea how to get LDAP to assign people to some group ?
Sounds like something that should be implemented by the LDAP plugin,
but I don’t see any option to do that in the admin panel.

Oh. Sorry. I thought I’d would’ve d be as simple as adding the groups to some ldap field, but it looks like you’ll need a plugin.

If you’re self hosted you can make one or ask in Marketplace.

Your ldap users some all have the same email hostname, do they? If so, you can assign the group using that.