Skip to content
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

Allow hosts to join the domain using the same hostname #19

Open
clong opened this issue Mar 14, 2018 · 3 comments
Open

Allow hosts to join the domain using the same hostname #19

clong opened this issue Mar 14, 2018 · 3 comments

Comments

@clong
Copy link

clong commented Mar 14, 2018

Is there a technical constraint that doesn't allow computers to join the domain with the hostname they are currently using? Would it be possible to add a feature that allows hosts to join the domain using the same hostname they currently have?

==> wef: "Running Windows Domain Provisioner"
VERBOSE: Performing the operation "Join in domain 'windomain.local'" on target "wef".
Add-Computer : Skip computer 'wef' with new name 'wef' because the new name is the same as the current name.
@mefellows
Copy link
Owner

I'm not 100% sure, but judging by the message Add-Computer : Skip computer 'wef' with new name 'wef' because the new name is the same as the current name. titat looks like the Windows ecosystem is rejecting it. The plugin is definitely trying to join the domain. It's been a while since I wrote this code, so things may have moved on.

PR's are welcome :)

@alexisrosano89
Copy link

I have the same problem.

Solution?

@mefellows
Copy link
Owner

@alexisrosano89 I'm not actively maintaining this plugin I'm afraid, as I have no access to modern Windows machines to test this on. I'm openly accepting PRs and changes should they come through.

Unfortunately domain policy and a bunch of other things can also affect how this plugin works, but in most cases you should be able to test joining the domain using Powershell with a variety of CLI commands and if that sorts it out, it's fairly easy to translate into logic in this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants