-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix joining with samba 4.21 #122
Conversation
Pull Request Test Coverage Report for Build 11363037220Details
💛 - Coveralls |
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.
Sorry for being late with the review. We have been busy with other stuff.
The code looks correct, although I have suggested some improvements. Basically, we should stop using the old Yast::Builtins
and similar methods. As long as possible, please let's use ruby std classes and methods instead.
I see there already is a test/authconf_test.rb file. Could be possible to add some tests for these changes there?
Thanks!
71acf7d
to
de8e0c8
Compare
Thanks for the review, this looks much better now. I have added a test for the version check. |
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
de8e0c8
to
60db2f7
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.
Version bump is missing in package/yast2-auth-client.spec.
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
I see you marked as solved my last 2 comments, but I see no changes in the code. And the spec file is not updated neither with the new version. |
60db2f7
to
a738c49
Compare
Sorry, I wanted to test the changes before pushing and some tasks got in the middle. |
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
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.
Sorry @scabrero, I was on vacation when the review was requested. Fortunately, @joseivanlopez took care and changes looks good to him. So, I guess you can hit the merge button 🎉
❌ Autosubmission job #11437603416 failed |
Missing in #122, not autosubmitted because > Stopping, missing new bugzilla or fate entry in the *.changes file. > > https://github.com/yast/yast-auth-client/actions/runs/11437603416/job/31817441511
Auto-submission sent successfully after adding a reference in the latest changelog entry, see #123 (comment) |
Problem
Samba 4.21 changes the way the system keytab is created. To add the machine account name to the keytab it is necessary to set
sync machine password to keytab = /etc/krb5.keytab:account_name:sync_etypes:sync_kvno:machine_password
in /etc/smb.conf.Solution
Detect the installed samba version and add the necessary parameter.
Testing
Manually tested.