# LDAP integration with percona MySql Operator

**URL:** <https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530>\
**Category:** Percona Operator for MySQL\
**Tags:** community, mysql, percona, new-release\
**Created:** [October 12, 2021, 6:50am UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530 "2021-10-12T06:50:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmg1986](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@cmg1986](https://forums.percona.com/u/cmg1986)\
**Post date:** [October 12, 2021, 6:50am UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/1 "2021-10-12T06:50:50Z")

</div>

Hello,

Do we have LDAP integration or functionality in MySql operator, if not any plan to on-board this feature OR if tried with out of the box solution to integrate that.

Also as per document, it supports percona server for MySql so not sure would work with operator or not as its not documented any where?

Please help !!

Thanks  
Chandra

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 12, 2021, 4:49pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/2 "2021-10-12T16:49:44Z")

</div>

Hi @cmg1986 welcome to the Percona forums!

Yes you can use LDAP authentication to the database PXC on our latest Operator 1.9

I recommend you follow the guide we maintain in the Percona Server for MySQL tree:  
[https://www.percona.com/doc/percona-server/8.0/security/simple-ldap.html](https://www.percona.com/doc/percona-server/8.0/security/simple-ldap.html)

---

<div class="post-metadata">

**Author:** ![cmg1986](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@cmg1986](https://forums.percona.com/u/cmg1986)\
**Post date:** [October 13, 2021, 6:21am UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/3 "2021-10-13T06:21:34Z")

</div>

Thanks @Michael_Coburn for replying.  
But do we have same LDAP procedure for Percona MySql Server and Percona Kubernetes Operator as there is no specific LDAP documentation in Percona Kubernetes Operator at below location -

> **[Percona Operator for MySQL based on Percona XtraDB Cluster](https://www.percona.com/doc/kubernetes-operator-for-pxc/index.html)**
>
> Percona Operator for MySQL based on Percona XtraDB Cluster

Also not seeing under release notes for 1.9 version -

> **[Percona Distribution for MySQL Operator 1.9.0](https://www.percona.com/doc/kubernetes-operator-for-pxc/ReleaseNotes/Kubernetes-Operator-for-PXC-RN1.9.0.html)**
>
> Percona Distribution for MySQL Operator 1.9.0

Please confirm.

Thanks  
Chandra M.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 13, 2021, 2:27pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/4 "2021-10-13T14:27:08Z")

</div>

Hi @cmg1986

I am assuming you want to use LDAP for authentication to the database server. If that’s the case, the process documented in Percona Server for MySQL also applies to Percona XtraDB Cluster (PXC) as well as for the PXC Operator.  
Unfortunately the process is not documented multiple times in each product.

I have successfully deployed LDAP authentication using the 1.9 Operator - if you attempt and have issues, please report this as a new forum topic and tag me and I can help. Best of luck!

---

<div class="post-metadata">

**Author:** ![cmg1986](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@cmg1986](https://forums.percona.com/u/cmg1986)\
**Post date:** [October 13, 2021, 3:04pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/5 "2021-10-13T15:04:34Z")

</div>

Thanks @Michael_Coburn for confirmation.  
As we are using operator 1.8 version with some IPV6 customization then will try to upgrade to 1.9 and will see whether LDAP works.  
But before that if you could please confirm whether Operator 1.9 supports IPV6 or not otherwise need to customize some resources again.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 13, 2021, 4:10pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/6 "2021-10-13T16:10:09Z")

</div>

Hi @cmg1986

I asked internally at Percona from the Engineering team and the response is that we haven’t extensively tested IPv6 for the Operator. We would greatly appreciate hearing your feedback on whether it works, or where it is lacking. Thanks!

---

<div class="post-metadata">

**Author:** ![cmg1986](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@cmg1986](https://forums.percona.com/u/cmg1986)\
**Post date:** [October 14, 2021, 6:12am UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/7 "2021-10-14T06:12:40Z")

</div>

Thanks @Michael_Coburn  
Will try both use cases with Operator 1.9 and would update you what works or not.

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 15, 2021, 3:41pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/8 "2021-10-15T15:41:12Z")

</div>

Hi @cmg1986

Your question touched off some discussion within Percona regarding our state of IPv6 support in PXC - so thank you for that!! 🙂

We have recognized it isn’t working 100% - my recommendation is to continue with your testing, along with having a look at this ticket and follow it, contribute if possible to the conversation:  
[https://jira.percona.com/browse/PXC-3767](https://jira.percona.com/browse/PXC-3767)

Thanks for being an active member of the Percona forums!!

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [October 15, 2021, 3:42pm UTC](https://forums.percona.com/t/ldap-integration-with-percona-mysql-operator/12530/9 "2021-10-15T15:42:00Z")

</div>


