Ops I answered only Jakub... Here is the list included again.

Am 24.10.18 um 09:04 schrieb Jakub Hrozek:
>> On 24 Oct 2018, at 08:31, Franz Dietrich <dietr...@teilgedanken.de> wrote:
>>
>> Am 23.10.18 um 19:08 schrieb Jakub Hrozek:
>>> On Tue, Oct 23, 2018 at 10:59:51AM +0200, Franz Dietrich wrote:
>>>> Hello all,
>>>>
>>>> I recently discovered
>>>> https://docs.pagure.org/SSSD.sssd/design_pages/accounts_service.html and
>>>> I was like yeay that's exactly what I need. But then there is the "not
>>>> implemented thing..."
>>> Interesting, I wonder how exactly this would help you?
>> I'm writing a gui tool for managing users. The tools target audience are
>> teachers in schools and universities. So the tool is able to batch
>> create users, assign and create groups and manage some shared folders.
> Have you considered using libuser? It can already create users in LDAP.

One thing I'm not getting in libuser is how do I add a user to a group
with libuser...

(in python)
import libuser
adm = libuser.admin()
u = adm.LookupUserByName('user')
g = adm.LookupGroupByName('wheel')

#howto do that
g.addUser(u)
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@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-devel@lists.fedorahosted.org

Reply via email to