Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1270854 - net ads fails with -bash: net: command not found; when installed manually, it does not work
Summary: net ads fails with -bash: net: command not found; when installed manually, it...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs User Guide
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Hayley Hudgeons
QA Contact: David O'Brien
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-12 14:08 UTC by Jan Pazdziora (Red Hat)
Modified: 2019-09-25 20:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 09:43:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora (Red Hat) 2015-10-12 14:08:21 UTC
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html/User_Guide/sect-Red_Hat_Satellite-User_Guide-AD_direct.html

Section Number and Name: 

Procedure 20.5. To Configure Direct AD Integration with GSS-proxy, item 3.

Describe the issue: 

# KRB5_KTNAME=FILE:/etc/gssproxy/http.keytab net ads keytab add HTTP -U administrator -d3 -s /etc/net-keytab.conf
-bash: net: command not found
#

Suggestions for improvement: 

The prerequisites in Procedure 20.4, item 1, should include /usr/bin/net.

Additional information: 

Note that between RHEL 7.1 and RHEL 7.2 (Samba 4.1 vs. 4.2.3), that utility moved from samba-common to samba-common-tools, so installing it via its path seems like the most compatible approach.

Comment 2 Jan Pazdziora (Red Hat) 2015-10-14 11:46:07 UTC
Also, on RHEL 7.1 samba-common was installed as part of dependencies of the other packages listed in Procedure 21.4 step 1. It no longer seem to be the case on RHEL 7.2.

Comment 3 Jan Pazdziora (Red Hat) 2015-10-14 11:54:07 UTC
It seems in RHEL 7.2, there's also bug 1271618 which might prevent full testing of the Direct AD scenario until fix/workaround is found, even if /usr/bin/net is installed.

Comment 4 Jan Pazdziora (Red Hat) 2015-10-16 08:51:10 UTC
The proposed fix is to amend the realm join command in Procedure 21.4. step 2 to read

realm join --membership-software=samba -v EXAMPLE.ORG

Comment 6 Jan Pazdziora (Red Hat) 2015-11-19 09:43:50 UTC
Both bug 1271608 and bug 1271618 were resolved with RHEL 7.2 release.

No further action is needed here.


Note You need to log in before you can comment on or make changes to this bug.