-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests: SSSD fails to store users if any of the requested attribute is… #7714
Conversation
0aee34f
to
49a6ad4
Compare
src/tests/system/tests/test_ldap.py
Outdated
|
||
assert client.tools.id("emp_user") is not None | ||
assert client.tools.getent.group("Group_1") is not None | ||
assert client.tools.getent.group("Group_2") is not None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see a point in having/checking two groups there. Maybe the user should try to log in instead and the default/fallback home should be used as a check.
src/tests/system/tests/test_ldap.py
Outdated
2. Add a User | ||
3. Create an Organizational Unit | ||
4. Add Groups | ||
5. Configure SSSD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you mean Start SSSD
6280e6e
to
969e1ad
Compare
src/tests/system/tests/test_ldap.py
Outdated
1. Disable Syntax Checking | ||
2. Add a User | ||
3. Make home attribute of user empty | ||
4. Create an Organizational Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are you creating the organizational unit?
src/tests/system/tests/test_ldap.py
Outdated
5. Add Groups | ||
6. Start SSSD | ||
:steps: | ||
1. The user can be queried (id command) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/The user can be queried (id command)/User exists
src/tests/system/tests/test_ldap.py
Outdated
6. Start SSSD | ||
:steps: | ||
1. The user can be queried (id command) | ||
2. Groups are resolved properly using the getent group command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Groups are resolved properly using the getent group command/Groups are resolved
No need to explain how in the steps, just the what.
… empty SSSD fails to store users if any of the requested attribute is empty
969e1ad
to
0b88463
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
… empty
SSSD fails to store users if any of the requested attribute is empty