Hi, I am new on this mailing list so please forgive me if my question has already been answered. I did read the archive to try find something.
My ssssd.conf retrieve the information from a 389ds ldap including sudo rules. Everything is working fine except for one point regarding sudo. For a given user only one entry is fetched from the ldap. Is it working as intended ? What I would like to achieve is basically something as simple as : User => root :some commands User => mysql : ALL This is easily done with a local sudoers, but I failed to have it working with sssd and the ldap.
Any help would be greatly appreciated.
Philippe
!!!************************************************************************************* "Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"
On Mon, Jan 14, 2019 at 09:06:31AM +0100, Maupertuis Philippe wrote:
Hi, I am new on this mailing list so please forgive me if my question has already been answered. I did read the archive to try find something.
My ssssd.conf retrieve the information from a 389ds ldap including sudo rules. Everything is working fine except for one point regarding sudo. For a given user only one entry is fetched from the ldap. Is it working as intended ? What I would like to achieve is basically something as simple as : User => root :some commands User => mysql : ALL This is easily done with a local sudoers, but I failed to have it working with sssd and the ldap.
This is a good starting point regarding sudo troubleshooting: https://docs.pagure.org/SSSD.sssd/users/sudo_troubleshooting.html
Posting the rules LDIF might be a good idea as well.
My mistake :( When posting the sudo ldif I spotted the error. Now it works fine. Thank you
-----Message d'origine----- De : Jakub Hrozek [mailto:jhrozek@redhat.com] Envoyé : lundi 14 janvier 2019 09:43 À : sssd-users@lists.fedorahosted.org Objet : [SSSD-users] Re: Sudo in a ldap
On Mon, Jan 14, 2019 at 09:06:31AM +0100, Maupertuis Philippe wrote:
Hi, I am new on this mailing list so please forgive me if my question has already been answered. I did read the archive to try find something.
My ssssd.conf retrieve the information from a 389ds ldap including sudo rules. Everything is working fine except for one point regarding sudo. For a given user only one entry is fetched from the ldap. Is it working as intended ? What I would like to achieve is basically something as simple as : User => root :some commands User => mysql : ALL This is easily done with a local sudoers, but I failed to have it working with sssd and the ldap.
This is a good starting point regarding sudo troubleshooting: https://docs.pagure.org/SSSD.sssd/users/sudo_troubleshooting.html
Posting the rules LDIF might be a good idea as well. _______________________________________________ sssd-users mailing list -- sssd-users@lists.fedorahosted.org To unsubscribe send an email to sssd-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.o...
!!!************************************************************************************* "Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.!!!"
sssd-users@lists.fedorahosted.org