Hi, On Sun, Dec 4, 2022 at 9:20 PM Philippe de Rochambeau via FreeIPA-users < [email protected]> wrote:
> Hello, > while reading the manual (man ipa), I’ve noticed there’s a way to access > the Python « kernel », for lack of a better word. > Are you referring to the "ipa console" command? The console is an interactive python interpreter where you can call IPA API. For instance: [root@server ~]# *kinit admin* Password for [email protected]: [root@server ~]# *ipa console* (Custom IPA interactive Python console) api: IPA API object pp: pretty printer >>> *api.Command.config_show()* {'result': {'ipasearchrecordslimit': ('100',), 'ipaconfigstring': ('AllowNThash', 'KDC:Disable Last Success'), 'ipausersearchfields': ('uid,givenname,sn,telephonenumber,ou,title',), 'ipahomesrootdir': ('/home',), 'ipagroupsearchfields': ('cn,description',), 'ipamigrationenabled': ('FALSE',), 'ipadefaultprimarygroup': ('ipausers',), 'ipacertificatesubjectbase': ('O=IPA.TEST',), 'ipaselinuxusermapdefault': ('unconfined_u:s0-s0:c0.c1023',), 'ipamaxusernamelength': ('32',), 'ipadefaultemaildomain': ('ipa.test',), 'ipaselinuxusermaporder': ('guest_u:s0$xguest_u:s0$user_u:s0$staff_u:s0-s0:c0.c1023$sysadm_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023',), 'ipasearchtimelimit': ('2',), 'ipakrbauthzdata': ('MS-PAC', 'nfs:NONE'), 'ipapwdexpadvnotify': ('4',), 'ipamaxhostnamelength': ('64',), 'ipadefaultloginshell': ('/bin/sh',), 'ca_server_server': ('server.ipa.test',), 'ca_renewal_master_server': 'server.ipa.test', 'kra_server_server': ('server.ipa.test',), 'ipa_master_server': ('server.ipa.test',), 'pkinit_server_server': ('server.ipa.test',), 'dns_server_server': ('server.ipa.test',), 'dn': 'cn=ipaConfig,cn=etc,dc=ipa,dc=test'}, 'value': None, 'summary': None} >>> *exit()* [root@server ~]# HTH, flo What is that « kernel »’s exact purpose? > Many thanks. > Philippe > _______________________________________________ > FreeIPA-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedorahosted.org/archives/list/[email protected] > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue >
_______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
