Bug 1402508 - Creating private groups for smartcard users when the home directory is created
Summary: Creating private groups for smartcard users when the home directory is created
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: authconfig
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Březina
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 1406888
TreeView+ depends on / blocked
 
Reported: 2016-12-07 17:25 UTC by Roshni
Modified: 2017-01-31 13:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1406888 (view as bug list)
Environment:
Last Closed: 2017-01-31 13:01:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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