Fog Client fails to join AD Domain with error 1326
-
Hostname changer and ad join is set per host. The global setting only impacts default when applying to a group or host.
-
Sorry, should have specified. I set the AD password on the specific host as well.
-
@ians said in Fog Client fails to join AD Domain with error 1326:
unknown username or bad password
The error is pretty clear. How do you set the password in the Web UI? In clear text or crypted?
-
@Sebastian-Roth I entered it as plain text since I’m using Fog 1.3+, was this the correct way?
-
@ians said in Fog Client fails to join AD Domain with error 1326:
This is on a fresh copy of Windows 10 Build 10240 running in HyperV, Ubuntu Server 18.04.02, and Fog 1.5.7.
and
I entered it as plain text since I’m using Fog 1.3+, was this the correct way?
Doesn’t make sense. Please clarify!
-
@Sebastian-Roth Sorry, I guess since I’ve been working with it all week it’s more clear in my head than it actually is:P
I’ve got FOG server running on Ubuntu 18.04 in HyperV
Then I’ve got the FOG( client running on Windows 10 10240, also running in HyperV but also deployed to about 25 physical machines as well now. All the machines that I’m running it on have been sysprepped and then deployed via FOG.FOG config side I’ve inputted my AD info to drop the computer into an OU utilizing my domain admin login and password entered in plain text via the web portal.
Hopefully, this clears things up and thanks in advance for any help!
-
@ians What I was referring to are the two different version numbers of FOG you posted!! Now that I read it again I see that I might have overlooked the
+
sign. So you meant “using plain text password because I run FOG newer than 1.3.0” right?Well, that’s definitely correct to use plain text on FOG 1.5.7.
Still the error message is pretty clear. Please search the forums. There are numerous topics on the “unknown username or bad password, code = 1326” error and I think most cases were solved by correcting the credentials.
There was one user stating that special characters in the password cause an issue but I wasn’t able to reproduce the issue myself: https://forums.fogproject.org/topic/12407/active-direcory-join-fail-bad-password-1-5-4
And here is another one who had issues with a sysprepped installation: https://forums.fogproject.org/topic/9256/computers-not-joining-our-domain-during-sysprep
Read through this and double check the credentials in the places mentioned by Wayne in this topic!!
-
@Sebastian-Roth Thanks for the suggestions, I hadn’t even thought of the possibility that it could be the special characters in the password. I went ahead and created a new domain admin account and used only letters and it worked!
I’ll need to do some more testing to see if it was truly the special characters causing the issue or if creating a new account triggered something else.
I’m sure this is mentioned somewhere but what takes precedence in the AD settings, or settings in general actually? There are the defaults, which seem to be just like an autofill, then group level settings then finally per-host settings. If the group to host settings are different which one takes precedence? Specifically, for the AD stuff. Trying to figure out if I need to change each machine individually.
Edit: Updating the settings on my groups also updated the settings on my hosts, yay!
Thanks for taking the time to help me!
-
@ians said in Fog Client fails to join AD Domain with error 1326:
I hadn’t even thought of the possibility that it could be the special characters in the password. I went ahead and created a new domain admin account and used only letters and it worked!
Ohhh, do we actually have a special character issue?!
Updating the settings on my groups also updated the settings on my hosts, yay!
So this sounds like you were able to get things right and domain join on the client worked? Shall we mark this solved?
About the group settings you want to use the forum search and ask it for “persistent groups”. My guess is that you are expecting something from FOG’s group capabilities that it doesn’t have.
-
@Sebastian-Roth I don’t want to say definitely that there is a character issue since it could have been a whole host of other things that changing the domain account and password fixed. I’ll try to give it a test when I get some more free time in the next week or so to see if that’s really the issue.
Thanks for all your help!