[Freeipa-devel] [freeipa PR#5615][opened] Update 10-ssh-key-management.rst

2021-03-07 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/5615
Author: tscherf
 Title: #5615: Update 10-ssh-key-management.rst
Action: opened

PR body:
"""
Removing conclusion statement since we now have more than 10 units.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5615/head:pr5615
git checkout pr5615
From 9a867dd2eda950e300de0f5fc76153ae342a0294 Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Sun, 7 Mar 2021 18:46:57 +0100
Subject: [PATCH] Update 10-ssh-key-management.rst

Removing conclusion statement since we now have more than 10 units.
---
 doc/workshop/10-ssh-key-management.rst | 8 
 1 file changed, 8 deletions(-)

diff --git a/doc/workshop/10-ssh-key-management.rst b/doc/workshop/10-ssh-key-management.rst
index 26f69d6ac52..18d8ad91cde 100644
--- a/doc/workshop/10-ssh-key-management.rst
+++ b/doc/workshop/10-ssh-key-management.rst
@@ -130,11 +130,3 @@ keys to the FreeIPA server.
 **Note:** OpenSSH has already been configured to look up known hosts
 on the FreeIPA server, so no manual configuration is required for
 this section.
-
-
-Conclusion
---
-
-Congratulations!  This was the final topic in the workshop.
-If you skipped any units, you can reach them from the
-`curriculum overview `_.
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
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/freeipa-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Freeipa-devel] [freeipa PR#5614][opened] Fix lgtm file classification

2021-03-05 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/5614
Author: tscherf
 Title: #5614: Fix lgtm file classification
Action: opened

PR body:
"""

"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5614/head:pr5614
git checkout pr5614
From 18fdfe67d88fd64bfd7d13196e07b04a1fd7206a Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Fri, 5 Mar 2021 22:26:00 +0100
Subject: [PATCH] Fix lgtm file classification

---
 .lgtm.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.lgtm.yml b/.lgtm.yml
index b3898116e37..b39788c9ecc 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -7,7 +7,7 @@ path_classifiers:
 - "asn1/asn1c/.*"
   ipaclient:
 - client
-- ipalcient
+- ipaclient
 - util
   ipalib:
 - ipalib
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
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/freeipa-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Freeipa-devel] [freeipa PR#5549][opened] man: fix ipa-client-samba.1 typos

2021-02-14 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/5549
Author: tscherf
 Title: #5549: man: fix ipa-client-samba.1 typos
Action: opened

PR body:
"""

"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5549/head:pr5549
git checkout pr5549
From 5033f84aa003e9ba8acf34de7c64f1c91536297a Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Sun, 14 Feb 2021 19:56:16 +0100
Subject: [PATCH] man: fix ipa-client-samba.1 typos

---
 client/man/ipa-client-samba.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/man/ipa-client-samba.1 b/client/man/ipa-client-samba.1
index 5ed6c715042..d875f54ebf6 100644
--- a/client/man/ipa-client-samba.1
+++ b/client/man/ipa-client-samba.1
@@ -18,7 +18,7 @@ During the configuration process, the tool will perform following steps:
 
 1. Discover details of IPA domain: realm, domain SID, domain ID range
 
-2. Discover details of trusted Actvide Directory domains: domain name, domain SID, domain ID range
+2. Discover details of trusted Active Directory domains: domain name, domain SID, domain ID range
 
 3. Create Samba configuration file using the details discovered above.
 
@@ -34,7 +34,7 @@ The tool does not start nor does it enable Samba file services after the configu
 systemctl enable --now smb winbind
 
 .SS "Assumptions"
-The ipa\-client\-samba script assumes that the machine has alreaby been enrolled into IPA.
+The ipa\-client\-samba script assumes that the machine has already been enrolled into IPA.
 
 .SS "IPA Master Requirements"
 At least one IPA master must hold a \fBTrust Controller\fR role. This can be achieved by running ipa\-adtrust\-install on the IPA master. The utility will configure IPA master to be a domain controller for IPA domain.
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
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/freeipa-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Freeipa-devel] [freeipa PR#1157][opened] Add debug option to ipa-replica-manage

2017-10-16 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/1157
Author: tscherf
 Title: #1157: Add debug option to ipa-replica-manage
Action: opened

PR body:
"""
https://pagure.io/freeipa/issue/7187
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1157/head:pr1157
git checkout pr1157
From b570e83e11b5b5d9c8d9568e1286030720084f15 Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Mon, 16 Oct 2017 15:10:20 +0200
Subject: [PATCH] Add debug option to ipa-replica-manage

https://pagure.io/freeipa/issue/7187
---
 install/tools/ipa-replica-manage | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 102addbdbd..cfe008edcd 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -86,6 +86,8 @@ def parse_options():
 parser.add_option("-p", "--password", dest="dirman_passwd", help="Directory Manager password")
 parser.add_option("-v", "--verbose", dest="verbose", action="store_true", default=False,
   help="provide additional information")
+parser.add_option("-d", "--debug", dest="debug", action="store_true", default=False,
+  help="provide additional debug information")
 parser.add_option("-f", "--force", dest="force", action="store_true", default=False,
   help="ignore some types of errors")
 parser.add_option("-c", "--cleanup", dest="cleanup", action="store_true", default=False,
@@ -1514,7 +1516,7 @@ def main(options, args):
 
 api.bootstrap(
 context='cli', confdir=paths.ETC_IPA,
-in_server=True, verbose=options.verbose
+in_server=True, verbose=options.verbose, debug=options.debug
 )
 api.finalize()
 
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org


[Freeipa-devel] [freeipa PR#1141][closed] Add a debug option to ipa-replica-manage.

2017-10-16 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/1141
Author: tscherf
 Title: #1141: Add a debug option to ipa-replica-manage.
Action: closed

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1141/head:pr1141
git checkout pr1141
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org


[Freeipa-devel] [freeipa PR#1141][opened] Adds a debug option to ipa-replica-manage.

2017-10-10 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/1141
Author: tscherf
 Title: #1141: Adds a debug option to ipa-replica-manage.
Action: opened

PR body:
"""
https://pagure.io/freeipa/issue/7187
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1141/head:pr1141
git checkout pr1141
From e5aa04f8cc2d525a15a7a22f0fe00d2b7efa10b8 Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Tue, 10 Oct 2017 13:35:55 +0200
Subject: [PATCH] Adds a debug option to ipa-replica-manage.

https://pagure.io/freeipa/issue/7187
---
 install/tools/ipa-replica-manage | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage
index 102addbdbd..b781d9e193 100755
--- a/install/tools/ipa-replica-manage
+++ b/install/tools/ipa-replica-manage
@@ -86,6 +86,8 @@ def parse_options():
 parser.add_option("-p", "--password", dest="dirman_passwd", help="Directory Manager password")
 parser.add_option("-v", "--verbose", dest="verbose", action="store_true", default=False,
   help="provide additional information")
+parser.add_option("-d", "--debug", dest="debug", action="store_true", default=False,
+  help="provide debug information")
 parser.add_option("-f", "--force", dest="force", action="store_true", default=False,
   help="ignore some types of errors")
 parser.add_option("-c", "--cleanup", dest="cleanup", action="store_true", default=False,
@@ -1507,6 +1509,7 @@ def main(options, args):
 # access to the plugin environment
 api_env = {'in_server' : True,
'verbose'   : options.verbose,
+   'debug' : options.debug,
   }
 
 if os.getegid() != 0:
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org


[Freeipa-devel] [freeipa PR#842][edited] Changed ownership of ldiffile to DS_USER

2017-06-02 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/842
Author: tscherf
 Title: #842: Changed ownership of ldiffile to DS_USER
Action: edited

 Changed field: body
Original value:
"""
Changes the ownership of the modified ldiffile created by ipa-restore to 
dirsrv. If the file is owned by root, ipa-backup does not have permissions to 
touch it.

"""

___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org


[Freeipa-devel] [freeipa PR#842][edited] Changed ownership of ldiffile to DS_USER

2017-06-01 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/842
Author: tscherf
 Title: #842: Changed ownership of ldiffile to DS_USER
Action: edited

 Changed field: body
Original value:
"""
Changes the ownership of the modified ldiffile created by ipa-restore to 
dirsrv. 
"""

___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org


[Freeipa-devel] [freeipa PR#842][opened] Changed ownership of ldiffile to DS_USER

2017-06-01 Thread tscherf via FreeIPA-devel
   URL: https://github.com/freeipa/freeipa/pull/842
Author: tscherf
 Title: #842: Changed ownership of ldiffile to DS_USER
Action: opened

PR body:
"""
Changes the ownership of the modified ldiffile created by ipa-restore to 
dirsrv. 
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/842/head:pr842
git checkout pr842
From a570d66b7ed64e5232df2534781268db6325c080 Mon Sep 17 00:00:00 2001
From: Thorsten Scherf 
Date: Thu, 1 Jun 2017 22:02:57 +0200
Subject: [PATCH] Changed ownership of ldiffile to DS_USER

---
 ipaserver/install/ipa_restore.py | 4 
 1 file changed, 4 insertions(+)

diff --git a/ipaserver/install/ipa_restore.py b/ipaserver/install/ipa_restore.py
index d85c4874d8..637d3f3f4a 100644
--- a/ipaserver/install/ipa_restore.py
+++ b/ipaserver/install/ipa_restore.py
@@ -545,6 +545,10 @@ def ldif2db(self, instance, backend, online=True):
 ldif_parser = RemoveRUVParser(in_file, ldif_writer, self.log)
 ldif_parser.parse()
 
+# Make sure the modified ldiffile is owned by DS_USER
+pent = pwd.getpwnam(constants.DS_USER)
+os.chown(ldiffile, pent.pw_uid, pent.pw_gid)
+
 if online:
 conn = self.get_connection()
 ent = conn.make_entry(
___
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org