id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16,800 | fix_replica_agreements.py | freeipa_freeipa/ipaserver/install/plugins/fix_replica_agreements.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 4,356 | Python | .py | 95 | 35.284211 | 79 | 0.620462 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,801 | fix_kra_people_entry.py | freeipa_freeipa/ipaserver/install/plugins/fix_kra_people_entry.py | #
# Copyright (C) 2019 FreeIPA Contributors see COPYING for license
#
import logging
from ipalib import Registry, Updater, x509
from ipapython.dn import DN
from ipaplatform.paths import paths
from ipaserver.install import krainstance
logger = logging.getLogger(__name__)
register = Registry()
@register()
class fi... | 2,868 | Python | .py | 62 | 36.064516 | 79 | 0.618553 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,802 | update_pacs.py | freeipa_freeipa/ipaserver/install/plugins/update_pacs.py | # Authors:
# Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either vers... | 1,877 | Python | .py | 47 | 34.595745 | 77 | 0.683168 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,803 | update_uniqueness.py | freeipa_freeipa/ipaserver/install/plugins/update_uniqueness.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eit... | 8,492 | Python | .py | 192 | 31.401042 | 80 | 0.564844 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,804 | update_services.py | freeipa_freeipa/ipaserver/install/plugins/update_services.py | # Authors:
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ver... | 3,930 | Python | .py | 85 | 34.023529 | 79 | 0.594418 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,805 | upload_cacrt.py | freeipa_freeipa/ipaserver/install/plugins/upload_cacrt.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eit... | 5,145 | Python | .py | 117 | 31.777778 | 79 | 0.570032 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,806 | __init__.py | freeipa_freeipa/ipaserver/install/plugins/__init__.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 819 | Python | .py | 21 | 37.952381 | 71 | 0.770389 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,807 | adtrust.py | freeipa_freeipa/ipaserver/install/plugins/adtrust.py | # Copyright (C) 2012-2019 FreeIPA Contributors see COPYING for license
import logging
from collections import namedtuple
from textwrap import dedent
from ipalib import Registry, errors
from ipalib import Updater
from ipapython.dn import DN
from ipapython import ipautil
from ipaplatform.paths import paths
from ipaser... | 38,067 | Python | .py | 785 | 35.305732 | 87 | 0.579417 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,808 | rename_managed.py | freeipa_freeipa/ipaserver/install/plugins/rename_managed.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 6,317 | Python | .py | 144 | 32.513889 | 110 | 0.58533 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,809 | update_dna_shared_config.py | freeipa_freeipa/ipaserver/install/plugins/update_dna_shared_config.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
import logging
import time
import ldap
from ipalib.plugable import Registry
from ipalib import errors
from ipalib import Updater
from ipapython.dn import DN
logger = logging.getLogger(__name__)
register = Registry()
@register()
class update_dna... | 4,950 | Python | .py | 124 | 28.395161 | 73 | 0.57006 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,810 | update_idranges.py | freeipa_freeipa/ipaserver/install/plugins/update_idranges.py | # Authors:
# Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either vers... | 6,457 | Python | .py | 142 | 32.176056 | 78 | 0.55865 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,811 | update_managed_permissions.py | freeipa_freeipa/ipaserver/install/plugins/update_managed_permissions.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ... | 30,812 | Python | .py | 654 | 36.012232 | 117 | 0.610485 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,812 | update_changelog_maxage.py | freeipa_freeipa/ipaserver/install/plugins/update_changelog_maxage.py | #
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
import logging
from ipalib import Registry, errors
from ipalib import Updater
from ipapython.dn import DN
logger = logging.getLogger(__name__)
register = Registry()
@register()
class update_changelog_maxage(Updater):
"""
Update the chang... | 1,577 | Python | .py | 43 | 25.906977 | 78 | 0.541284 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,813 | update_pwpolicy.py | freeipa_freeipa/ipaserver/install/plugins/update_pwpolicy.py | #
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
import logging
from ipalib import Registry, errors
from ipalib import Updater
from ipapython.dn import DN
logger = logging.getLogger(__name__)
register = Registry()
@register()
class update_pwpolicy(Updater):
"""
Add new ipapwdpolicy o... | 4,820 | Python | .py | 113 | 27.964602 | 77 | 0.523748 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,814 | dns.py | freeipa_freeipa/ipaserver/install/plugins/dns.py | # Authors:
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ver... | 26,624 | Python | .py | 555 | 33.254054 | 107 | 0.547548 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,815 | delegation.py | freeipa_freeipa/ipaserver/plugins/delegation.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#... | 6,381 | Python | .py | 172 | 30.215116 | 130 | 0.634859 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,816 | stageuser.py | freeipa_freeipa/ipaserver/plugins/stageuser.py | # Authors:
# Thierry Bordaz <tbordaz@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ... | 34,072 | Python | .py | 703 | 37.620199 | 117 | 0.604159 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,817 | role.py | freeipa_freeipa/ipaserver/plugins/role.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 7,964 | Python | .py | 209 | 31.354067 | 241 | 0.628668 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,818 | automount.py | freeipa_freeipa/ipaserver/plugins/automount.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 29,930 | Python | .py | 691 | 34.696093 | 332 | 0.627763 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,819 | baseldap.py | freeipa_freeipa/ipaserver/plugins/baseldap.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | 93,201 | Python | .py | 2,179 | 31.397889 | 151 | 0.574894 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,820 | selfservice.py | freeipa_freeipa/ipaserver/plugins/selfservice.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 6,424 | Python | .py | 167 | 31.694611 | 110 | 0.643686 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,821 | sudorule.py | freeipa_freeipa/ipaserver/plugins/sudorule.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
#
# Copyright (C) 2010-2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation,... | 40,824 | Python | .py | 913 | 33.096386 | 477 | 0.570317 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,822 | migration.py | freeipa_freeipa/ipaserver/plugins/migration.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | 38,946 | Python | .py | 833 | 34.777911 | 130 | 0.579776 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,823 | hbac.py | freeipa_freeipa/ipaserver/plugins/hbac.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from ipalib.text import _
__doc__ = _('Host-based access control commands')
| 149 | Python | .py | 5 | 28.4 | 66 | 0.746479 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,824 | sudo.py | freeipa_freeipa/ipaserver/plugins/sudo.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from ipalib.text import _
__doc__ = _('commands for controlling sudo configuration')
| 158 | Python | .py | 5 | 30.2 | 66 | 0.761589 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,825 | user.py | freeipa_freeipa/ipaserver/plugins/user.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
... | 56,253 | Python | .py | 1,210 | 35.293388 | 597 | 0.588835 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,826 | config.py | freeipa_freeipa/ipaserver/plugins/config.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 30,097 | Python | .py | 660 | 34.006061 | 140 | 0.591522 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,827 | rabase.py | freeipa_freeipa/ipaserver/plugins/rabase.py | # Authors:
# Rob Crittenden <rcritten@@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eithe... | 4,634 | Python | .py | 108 | 35.62037 | 89 | 0.654444 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,828 | otptoken.py | freeipa_freeipa/ipaserver/plugins/otptoken.py | # Authors:
# Nathaniel McCallum <npmccallum@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, ... | 17,076 | Python | .py | 406 | 32.980296 | 99 | 0.598133 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,829 | dogtag.py | freeipa_freeipa/ipaserver/plugins/dogtag.py | # Authors:
# Ade Lee <alee@redhat.com>
# Andrew Wnuk <awnuk@redhat.com>
# Jason Gerard DeRose <jderose@redhat.com>
# Rob Crittenden <rcritten@@redhat.com>
# John Dennis <jdennis@redhat.com>
# Fraser Tweedale <ftweedal@redhat.com>
# Abhijeet Kasurde <akasurde@redhat.com>
#
# Copyright (C) 2014-2016 Red Ha... | 67,224 | Python | .py | 1,442 | 36.741331 | 112 | 0.595397 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,830 | baseuser.py | freeipa_freeipa/ipaserver/plugins/baseuser.py | # Authors:
# Thierry Bordaz <tbordaz@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ... | 41,239 | Python | .py | 953 | 32.558237 | 127 | 0.591243 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,831 | vault.py | freeipa_freeipa/ipaserver/plugins/vault.py | # Authors:
# Endi S. Dewata <edewata@redhat.com>
#
# Copyright (C) 2015 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ... | 39,630 | Python | .py | 1,065 | 28.048826 | 88 | 0.574308 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,832 | dnsserver.py | freeipa_freeipa/ipaserver/plugins/dnsserver.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
from ipalib import (
_,
ngettext,
api,
DNSNameParam,
Str,
StrEnum,
errors,
)
from ipalib.frontend import Local
from ipalib.plugable import Registry
from ipalib.util import (
no... | 5,570 | Python | .py | 178 | 23.488764 | 77 | 0.587654 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,833 | automember.py | freeipa_freeipa/ipaserver/plugins/automember.py | # Authors:
# Jr Aquino <jr.aquino@citrix.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ver... | 29,884 | Python | .py | 760 | 30.643421 | 118 | 0.596408 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,834 | passwd.py | freeipa_freeipa/ipaserver/plugins/passwd.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 5,067 | Python | .py | 131 | 32.152672 | 81 | 0.678215 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,835 | domainlevel.py | freeipa_freeipa/ipaserver/plugins/domainlevel.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
from collections import namedtuple
from ipalib import _
from ipalib import Command
from ipalib import errors
from ipalib import output
from ipalib.parameters import Int
from ipalib.plugable import Registry
from ipalib.constants import DOMAIN_LEVEL... | 4,837 | Python | .py | 129 | 29.44186 | 79 | 0.628694 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,836 | krbtpolicy.py | freeipa_freeipa/ipaserver/plugins/krbtpolicy.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | 14,206 | Python | .py | 322 | 33.73913 | 80 | 0.604236 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,837 | hbacsvc.py | freeipa_freeipa/ipaserver/plugins/hbacsvc.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 4,423 | Python | .py | 117 | 32.025641 | 218 | 0.650749 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,838 | location.py | freeipa_freeipa/ipaserver/plugins/location.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import (
absolute_import,
division,
)
from ipalib import (
_,
ngettext,
api,
Str,
DNSNameParam,
output,
messages
)
from ipalib.errors import DependentEntry
from ipalib.plugable import Registry
fr... | 7,983 | Python | .py | 230 | 24.930435 | 79 | 0.545608 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,839 | radiusproxy.py | freeipa_freeipa/ipaserver/plugins/radiusproxy.py | # Authors:
# Nathaniel McCallum <npmccallum@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, ... | 6,631 | Python | .py | 182 | 29.521978 | 92 | 0.633748 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,840 | permission.py | freeipa_freeipa/ipaserver/plugins/permission.py | # Authors:
# Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either ... | 59,018 | Python | .py | 1,274 | 33.791209 | 253 | 0.567239 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,841 | ping.py | freeipa_freeipa/ipaserver/plugins/ping.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 2,320 | Python | .py | 58 | 37.137931 | 94 | 0.676889 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,842 | host.py | freeipa_freeipa/ipaserver/plugins/host.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 59,195 | Python | .py | 1,305 | 34.472031 | 316 | 0.590836 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,843 | netgroup.py | freeipa_freeipa/ipaserver/plugins/netgroup.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 14,725 | Python | .py | 357 | 31.644258 | 294 | 0.590064 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,844 | pkinit.py | freeipa_freeipa/ipaserver/plugins/pkinit.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
from ipalib import Object
from ipalib import _, ngettext
from ipalib.crud import Search
from ipalib.parameters import Int, Str, StrEnum
from ipalib.plugable import Registry
register = Registry()
__doc__ = _("""
Kerberos PKINIT feature status repo... | 3,477 | Python | .py | 102 | 24.990196 | 73 | 0.576165 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,845 | trust.py | freeipa_freeipa/ipaserver/plugins/trust.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publish... | 72,115 | Python | .py | 1,655 | 32.001813 | 79 | 0.577997 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,846 | xmlserver.py | freeipa_freeipa/ipaserver/plugins/xmlserver.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | 1,545 | Python | .py | 40 | 35.7 | 76 | 0.748 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,847 | hbactest.py | freeipa_freeipa/ipaserver/plugins/hbactest.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eit... | 20,463 | Python | .py | 447 | 35.659955 | 107 | 0.593742 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,848 | idp.py | freeipa_freeipa/ipaserver/plugins/idp.py | #
# Copyright (C) 2021 FreeIPA Contributors see COPYING for license
#
import logging
import string
from urllib.parse import urlparse
from .baseldap import (
LDAPObject,
LDAPCreate,
LDAPDelete,
LDAPUpdate,
LDAPSearch,
LDAPRetrieve)
from ipalib import api, errors, Password, Str, StrEnum, _, nget... | 16,805 | Python | .py | 410 | 29.907317 | 80 | 0.57259 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,849 | internal.py | freeipa_freeipa/ipaserver/plugins/internal.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
# Adam Young <ayoung@redhat.com>
# Endi S. Dewata <edewata@redhat.com>
#
# Copyright (c) 2010 Red Hat
# See file 'copying' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General P... | 92,232 | Python | .py | 2,019 | 29.840515 | 572 | 0.449797 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,850 | batch.py | freeipa_freeipa/ipaserver/plugins/batch.py | # Authors:
# Adam Young <ayoung@redhat.com>
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (c) 2010 Red Hat
# See file 'copying' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# t... | 7,487 | Python | .py | 183 | 29.939891 | 240 | 0.54989 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,851 | __init__.py | freeipa_freeipa/ipaserver/plugins/__init__.py | # Authors: Jason Gerard DeRose <jderose@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 826 | Python | .py | 20 | 40.25 | 71 | 0.775155 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,852 | hbacsvcgroup.py | freeipa_freeipa/ipaserver/plugins/hbacsvcgroup.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 5,495 | Python | .py | 137 | 33.89781 | 277 | 0.651692 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,853 | certprofile.py | freeipa_freeipa/ipaserver/plugins/certprofile.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import re
from ipalib import api, Bool, Str
from ipalib.plugable import Registry
from .baseldap import (
LDAPObject, LDAPSearch, LDAPCreate,
LDAPDelete, LDAPUpdate, LDAPRetrieve)
from ipalib.request import context
from ipalib import ngette... | 11,814 | Python | .py | 280 | 33.153571 | 290 | 0.620148 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,854 | realmdomains.py | freeipa_freeipa/ipaserver/plugins/realmdomains.py | # Authors:
# Ana Krivokapic <akrivoka@redhat.com>
#
# Copyright (C) 2013 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 12,427 | Python | .py | 301 | 30.385382 | 80 | 0.593403 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,855 | hbacrule.py | freeipa_freeipa/ipaserver/plugins/hbacrule.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | 19,972 | Python | .py | 502 | 31.657371 | 373 | 0.609785 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,856 | sudocmdgroup.py | freeipa_freeipa/ipaserver/plugins/sudocmdgroup.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eith... | 6,037 | Python | .py | 155 | 32.329032 | 273 | 0.6382 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,857 | join.py | freeipa_freeipa/ipaserver/plugins/join.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 4,417 | Python | .py | 114 | 30.061404 | 79 | 0.600094 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,858 | privilege.py | freeipa_freeipa/ipaserver/plugins/privilege.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 9,056 | Python | .py | 251 | 29.262948 | 80 | 0.637319 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,859 | caacl.py | freeipa_freeipa/ipaserver/plugins/caacl.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import six
from ipalib import api, errors, output
from ipalib import Bool, Str, StrEnum
from ipalib.plugable import Registry
from .baseldap import (
LDAPObject, LDAPSearch, LDAPCreate, LDAPDelete, LDAPQuery,
LDAPUpdate, LDAPRetrieve, LDAPA... | 18,002 | Python | .py | 444 | 32.04955 | 417 | 0.602005 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,860 | service.py | freeipa_freeipa/ipaserver/plugins/service.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GN... | 48,861 | Python | .py | 1,097 | 35.466727 | 285 | 0.632546 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,861 | serverrole.py | freeipa_freeipa/ipaserver/plugins/serverrole.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from ipalib.crud import Retrieve, Search
from ipalib.errors import NotFound
from ipalib.frontend import Object
from ipalib.parameters import Flag, Int, Str, StrEnum
from ipalib.plugable import Registry
from ipalib import _, ngettext
__doc__ = _("... | 5,384 | Python | .py | 167 | 23.94012 | 78 | 0.562343 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,862 | otp.py | freeipa_freeipa/ipaserver/plugins/otp.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from ipalib.text import _
__doc__ = _('One time password commands')
| 141 | Python | .py | 5 | 26.8 | 66 | 0.738806 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,863 | certmap.py | freeipa_freeipa/ipaserver/plugins/certmap.py | # Authors:
# Florence Blanc-Renaud <flo@redhat.com>
#
# Copyright (C) 2017 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eith... | 21,278 | Python | .py | 536 | 30.634328 | 79 | 0.616148 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,864 | selinuxusermap.py | freeipa_freeipa/ipaserver/plugins/selinuxusermap.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 21,387 | Python | .py | 495 | 33.719192 | 326 | 0.608137 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,865 | passkeyconfig.py | freeipa_freeipa/ipaserver/plugins/passkeyconfig.py | #
# Copyright (C) 2022 FreeIPA Contributors see COPYING for license
#
import logging
from ipalib import api
from ipalib.parameters import Bool
from ipalib.plugable import Registry
from .baseldap import (
LDAPObject,
LDAPRetrieve,
LDAPUpdate)
from ipalib import _
logger = logging.getLogger(__name__)
__... | 2,627 | Python | .py | 79 | 27.506329 | 77 | 0.666009 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,866 | otpconfig.py | freeipa_freeipa/ipaserver/plugins/otpconfig.py | # Authors:
# Nathaniel McCallum <npmccallum@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, ... | 3,703 | Python | .py | 99 | 31.131313 | 71 | 0.668621 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,867 | cert.py | freeipa_freeipa/ipaserver/plugins/cert.py | # Authors:
# Andrew Wnuk <awnuk@redhat.com>
# Jason Gerard DeRose <jderose@redhat.com>
# John Dennis <jdennis@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU G... | 72,724 | Python | .py | 1,705 | 30.743695 | 97 | 0.559341 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,868 | hostgroup.py | freeipa_freeipa/ipaserver/plugins/hostgroup.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 13,384 | Python | .py | 308 | 34.613636 | 256 | 0.618744 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,869 | ca.py | freeipa_freeipa/ipaserver/plugins/ca.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
import base64
import six
from ipalib import api, errors, messages, output
from ipalib import Bytes, DNParam, Flag, Str, Int
from ipalib.constants import IPA_CA_CN
from ipalib.plugable import Registry
from ipapython.dn import ATTR_NAME_BY_OID
from... | 14,006 | Python | .py | 366 | 28.956284 | 218 | 0.572881 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,870 | virtual.py | freeipa_freeipa/ipaserver/plugins/virtual.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either... | 2,650 | Python | .py | 66 | 35.136364 | 80 | 0.710998 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,871 | servicedelegation.py | freeipa_freeipa/ipaserver/plugins/servicedelegation.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import six
from ipalib import api
from ipalib import Str
from ipalib.plugable import Registry
from .baseldap import (
LDAPObject,
LDAPAddMember,
LDAPRemoveMember,
LDAPCreate,
LDAPDelete,
LDAPSearch,
LDAPRetrieve)
from i... | 19,377 | Python | .py | 460 | 33.184783 | 79 | 0.634653 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,872 | aci.py | freeipa_freeipa/ipaserver/plugins/aci.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 34,153 | Python | .py | 817 | 31.660955 | 216 | 0.574735 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,873 | pwpolicy.py | freeipa_freeipa/ipaserver/plugins/pwpolicy.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
# Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fr... | 27,345 | Python | .py | 627 | 33.417863 | 417 | 0.599549 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,874 | misc.py | freeipa_freeipa/ipaserver/plugins/misc.py | # Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#
# Copyright (C) 2008 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, ei... | 987 | Python | .py | 27 | 35.37037 | 71 | 0.766492 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,875 | schema.py | freeipa_freeipa/ipaserver/plugins/schema.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
import importlib
import itertools
import sys
import six
import hashlib
from .baseldap import LDAPObject
from ipalib import errors
from ipalib.crud import PKQuery, Retrieve, Search
from ipalib.frontend import Command, Local, Method, Object
from ip... | 24,980 | Python | .py | 699 | 24.55794 | 78 | 0.526146 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,876 | sudocmd.py | freeipa_freeipa/ipaserver/plugins/sudocmd.py | # Authors:
# Jr Aquino <jr.aquino@citrixonline.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, eith... | 7,264 | Python | .py | 177 | 33.248588 | 277 | 0.612725 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,877 | server.py | freeipa_freeipa/ipaserver/plugins/server.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
from __future__ import absolute_import
import logging
import dbus
import dbus.mainloop.glib
import ldap
import time
from ipalib import api, crud, errors, messages
from ipalib import Int, Flag, Str, StrEnum, DNSNameParam
from ipalib.plugable impo... | 38,021 | Python | .py | 894 | 29.585011 | 80 | 0.546718 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,878 | idrange.py | freeipa_freeipa/ipaserver/plugins/idrange.py | # Authors:
# Sumit Bose <sbose@redhat.com>
#
# Copyright (C) 2012 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either vers... | 33,824 | Python | .py | 690 | 36.824638 | 82 | 0.592001 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,879 | serverroles.py | freeipa_freeipa/ipaserver/plugins/serverroles.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
"""
serverroles backend
=======================================
The `serverroles` backend has access to all roles and attributes stored in
module-level lists exposed in `ipaserver/servroles.py` module. It uses these
lists to populate populate its ... | 6,281 | Python | .py | 137 | 36.248175 | 79 | 0.645584 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,880 | idviews.py | freeipa_freeipa/ipaserver/plugins/idviews.py | # Authors:
# Alexander Bokovoy <abokovoy@redhat.com>
# Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by... | 47,673 | Python | .py | 1,085 | 33.051613 | 82 | 0.589419 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,881 | ldap2.py | freeipa_freeipa/ipaserver/plugins/ldap2.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
# John Dennis <jdennis@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fr... | 20,358 | Python | .py | 485 | 31.806186 | 95 | 0.599382 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,882 | topology.py | freeipa_freeipa/ipaserver/plugins/topology.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import six
from ipalib import api, errors
from ipalib import Int, Str, StrEnum, Flag, DNParam
from ipalib.plugable import Registry
from .baseldap import (
LDAPObject, LDAPSearch, LDAPCreate, LDAPDelete, LDAPUpdate, LDAPQuery,
LDAPRetrieve)... | 18,631 | Python | .py | 478 | 30.006276 | 96 | 0.603089 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,883 | session.py | freeipa_freeipa/ipaserver/plugins/session.py | #
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
#
import logging
from ipalib import Command
from ipalib.request import context
from ipalib.plugable import Registry
from ipalib.text import _
__doc__ = _("""
Session Support for IPA
""")
logger = logging.getLogger(__name__)
register = Registry()
... | 845 | Python | .py | 26 | 27.576923 | 72 | 0.677379 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,884 | subid.py | freeipa_freeipa/ipaserver/plugins/subid.py | #
# Copyright (C) 2021 FreeIPA Contributors see COPYING for license
#
import uuid
from ipalib import api
from ipalib import constants
from ipalib import errors
from ipalib import output
from ipalib.plugable import Registry
from ipalib.parameters import Int, Str
from ipalib.request import context
from ipalib.text imp... | 19,669 | Python | .py | 515 | 28.186408 | 78 | 0.580327 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,885 | group.py | freeipa_freeipa/ipaserver/plugins/group.py | # Authors:
# Rob Crittenden <rcritten@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# th... | 33,235 | Python | .py | 721 | 35.425798 | 294 | 0.601475 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,886 | whoami.py | freeipa_freeipa/ipaserver/plugins/whoami.py | #
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
import six
from ipalib import api, Command, errors, output, Str
from ipalib import _
from ipapython.dn import DN
from ipalib.plugable import Registry
from .idviews import DEFAULT_TRUST_VIEW_NAME
if six.PY3:
unicode = str
__doc__ = _("""
Retur... | 4,391 | Python | .py | 116 | 30.327586 | 80 | 0.572167 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,887 | dns.py | freeipa_freeipa/ipaserver/plugins/dns.py | # Authors:
# Martin Kosek <mkosek@redhat.com>
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fr... | 167,003 | Python | .py | 3,894 | 31.969183 | 892 | 0.580081 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,888 | conf.py | freeipa_freeipa/doc/conf.py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup --------------------------------------------------------------
# If extensions (or module... | 3,031 | Python | .py | 71 | 40.746479 | 79 | 0.658495 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,889 | examples.py | freeipa_freeipa/doc/examples/examples.py | # Authors:
# Pavel Zuna <pzuna@redhat.com>
#
# Copyright (C) 2010 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | 18,136 | Python | .py | 373 | 42.573727 | 93 | 0.690099 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,890 | python-api.py | freeipa_freeipa/doc/examples/python-api.py | #!/usr/bin/python3
# Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#
# Copyright (C) 2009 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Soft... | 1,747 | Python | .py | 45 | 35.577778 | 78 | 0.715889 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,891 | wsgi.py.txt | freeipa_freeipa/doc/guide/wsgi.py.txt | import logging
import os
from ipaplatform.paths import paths
from ipalib import api
logger = logging.getLogger(os.path.basename(__file__))
api.bootstrap(context='server', confdir=paths.ETC_IPA, log=None) (ref:wsgi-app-bootstrap)
try:
api.finalize() (ref:wsgi-app-finalize)
except Exception as e:
logger.error(... | 757 | Python | .py | 19 | 34.157895 | 89 | 0.682561 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,892 | role.py.txt | freeipa_freeipa/doc/guide/role.py.txt | from ipalib.plugins.baseldap import *
from ipalib import api, Str, _, ngettext
from ipalib import Command
from ipalib.plugins import privilege
class role(LDAPObject):
"""
Role object.
"""
container_dn = api.env.container_rolegroup
object_name = _('role')
object_name_plural = _('roles')
obje... | 3,156 | Python | .py | 101 | 24.950495 | 68 | 0.604111 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,893 | __main__.py | freeipa_freeipa/ipaclient/__main__.py | # Copyright (C) 2017 FreeIPA Contributors see COPYING for license
"""
Command Line Interface for IPA administration.
The CLI functionality is implemented in ipalib/cli.py
"""
from ipalib import api, cli
def main():
cli.run(api)
if __name__ == '__main__':
main()
| 276 | Python | .py | 10 | 25.3 | 66 | 0.727969 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,894 | setup.py | freeipa_freeipa/ipaclient/setup.py | # Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any l... | 1,974 | Python | .py | 58 | 26.965517 | 71 | 0.612448 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,895 | __init__.py | freeipa_freeipa/ipaclient/__init__.py | # Authors: Simo Sorce <ssorce@redhat.com>
#
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3... | 766 | Python | .py | 18 | 41.555556 | 71 | 0.774064 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,896 | frontend.py | freeipa_freeipa/ipaclient/frontend.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from ipalib import api
from ipalib.frontend import Command, Method
from ipalib.parameters import Str
from ipalib.text import _
from ipalib.util import classproperty
class ClientCommand(Command):
def get_options(self):
skip = set()
... | 5,431 | Python | .py | 182 | 20.450549 | 77 | 0.551361 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,897 | discovery.py | freeipa_freeipa/ipaclient/discovery.py | # Authors: Simo Sorce <ssorce@redhat.com>
#
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3... | 23,867 | Python | .py | 554 | 30.218412 | 79 | 0.551503 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,898 | __init__.py | freeipa_freeipa/ipaclient/remote_plugins/__init__.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from collections.abc import MutableMapping
import errno
import json
import locale
import logging
import os
import time
from . import compat
from . import schema
from ipaclient.plugins.rpcclient import rpcclient
from ipapython.dnsutil import DNSNam... | 3,933 | Python | .py | 109 | 26.220183 | 75 | 0.581359 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |
16,899 | compat.py | freeipa_freeipa/ipaclient/remote_plugins/compat.py | #
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from __future__ import unicode_literals
import importlib
import os
import re
import sys
import six
from ipaclient.frontend import ClientCommand, ClientMethod
from ipalib.frontend import Object
from ipapython.ipautil import APIVersion
if six.PY3... | 2,462 | Python | .py | 70 | 27.885714 | 78 | 0.642074 | freeipa/freeipa | 975 | 339 | 31 | GPL-3.0 | 9/5/2024, 5:12:14 PM (Europe/Amsterdam) |