-
Notifications
You must be signed in to change notification settings - Fork 8
Besser Auffindbarkeit bei Angabe eines Domainnamens... #78
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
Conversation
Besser Auffindbarkeit bei Angabe eines Domainnamens...
Besser Auffindbarkeit bei Angabe eines Domainnamens...
|
Hi @highTowerSU , |
|
Closing duento inactivity. Feel free to ping me if you want to continue working on this pr. |
|
Hi @dorianim, this PR addresses an issue on some clients where srv.linuxmuster.lan resolves correctly, but the search domain (lookup on srv) does not always resolve as expected. |
dorianim
left a comment
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.
Ok, I understand. I have added some comments, please fix them, then we can merge :)
| :rtype: tuple | ||
| """ | ||
| result = subprocess.run("realm discover --name-only", stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, shell=True) | ||
| result = subprocess.run("realm discover --name-only '" + domain + "'", stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, shell=True) |
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.
This will cause an error when domain is None.
| def _readConfigFromString(string): | ||
| configParser = configparser.ConfigParser() | ||
| configParser.read_string(string) | ||
| return configParser |
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.
Please avoid these kind of changes.
| logging.info(f"* {obsoleteDirectory}") | ||
| fileHelper.deleteDirectory(obsoleteDirectory) | ||
|
|
||
| return True |
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.
Please avoid these kind of changes.
| def discoverDomains(domain=None): | ||
| """ | ||
| Searches for avialable domains on the current network | ||
| Searches for avialable domains on the current network"realm discover --name-only '" + domain + "'" |
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.
Please revert or change to a normal sentence. Like this, it does not add any valuable information to the comment.
|
Implemented in 3d06523 |
Description
Besser Auffindbarkeit bei Angabe eines Domainnamens...
Fixes # (issue)
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Live Tested
Checklist: