Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1402508

Summary: Creating private groups for smartcard users when the home directory is created
Product: Red Hat Enterprise Linux 6 Reporter: Roshni <rpattath>
Component: authconfigAssignee: Pavel Březina <pbrezina>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: pkis, rpattath, tmraz
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1406888 (view as bug list) Environment:
Last Closed: 2017-01-31 13:01:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1406888    

Description Roshni 2016-12-07 17:25:20 UTC
Description of problem:
Creating private groups for smartcard users when the home directory is created

Version-Release number of selected component (if applicable):
authconfig-6.1.12-23.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Using authconfig UI, enable smartcard login and check "Create home directory at first login" option
2.
3.

Actual results:
User is created during smartcard login but private directory is not created if the ldap user on the smartcard has a group id that does not exist on the client

Expected results:
User and private group should be created at the first login

Additional info:

Comment 2 Roshni 2016-12-21 18:33:05 UTC
The group is created for the user with the group id from the entry but no group name is assigned to the group. This is message I see when I login with the smartcard "/usr/bin/id: cannot find name for group ID 1002

Comment 3 Pavel Březina 2017-01-12 12:58:33 UTC
Does the group entry exist in LDAP?

Comment 8 Roshni 2017-01-23 12:58:00 UTC
I have specified the following:

uid: kdcuser6
uidnumber: 1002
gidnumber: 1002

I was expecting a user would be created with uid and uidnumber values and a private group would be created for the user with the gidnumber and the group name would be the same as uid (kdcuser6). Or am I missing any other parameters?

Comment 9 Tomas Mraz 2017-01-23 13:48:23 UTC
Create home directory functionality just creates the home directory on local filesystem. It won't create user and group accounts.

Comment 10 Pavel Březina 2017-01-31 13:01:15 UTC
I'm closing this as not a bug. Feel free to reopen this bugzilla if you have further issues.