ocf / projects

Overview of technical OCF projects
3 stars 0 forks source link

Sync LDAP groups across services #14

Open fydai opened 5 years ago

fydai commented 5 years ago

https://moffle.fuqu.jp/ocf/%23rebuild/20180925#L359 https://ocf.io/d/155 https://ocf.io/d/85 https://ocf.io/rt/7242

cg505 commented 5 years ago

This exists as https://github.com/ocf/ldapsync.

jvperrin commented 5 years ago

It does, but is that project finished/ready yet?

emmatyping commented 3 years ago

I think most of what is left (based on reading through ldapsync) is deployment and setting up syncing with RT (which does have an API, fortunately!)

dkess commented 3 years ago

I vaguely remember having issues with using the RT API to add administrators / modify groups. However, things could have changed since I last checked, so maybe the API is better at this.

A hacky alternative would be to modify the RT MySQL database directly to modify groups. The schema isn't that complicated and you could probably figure out how to do it by checking it out in the PMA UI.

emmatyping commented 3 years ago

Ah, good to know! Yeah I think experimenting with editing mysql may be the easiest route if the API doesn't work for this use case.