Joining Domain Problems with windows 7
-
Do you have the join domain checkbox check on the client in fog?
-
yep, we have been using fog with XP for some years now, just cant get the AD to work with 7
-
oh ok. Can you check the Active Directory field and see if your domain username is typed in like this (domain\username) or did you just put (username)?
-
I have tried it both ways, when I tried it the domain\username method it comes up with an error Hostnamechanger Domain Error (Wrong username or password) Code 1326, so i took the domain part out of it and then it gives me 1312 error and i cant find any explanation for it online.
[CODE]
1/11/2013 9:39 AM Service Stop requested
1/11/2013 9:39 AM FOG::AutoLogOut Shutdown complete
1/11/2013 9:39 AM FOG::ClientUpdater Shutdown complete
1/11/2013 9:39 AM FOG::DirCleaner Shutdown complete
1/11/2013 9:39 AM FOG::DisplayManager Shutdown complete
1/11/2013 9:39 AM FOG::GreenFog Shutdown complete
1/11/2013 9:39 AM FOG::GUIWatcher Stopping…
1/11/2013 9:39 AM FOG::HostnameChanger Shutdown complete
1/11/2013 9:39 AM FOG::HostRegister Shutdown complete
1/11/2013 9:39 AM FOG::MODDebug Shutdown complete
1/11/2013 9:39 AM FOG::printerManager Shuting down
1/11/2013 9:39 AM FOG::SnapinClient Shutdown complete
1/11/2013 9:39 AM FOG::TaskReboot Stopping…
1/11/2013 9:39 AM FOG::UserCleanup Shutdown complete
1/11/2013 9:39 AM FOG::UserTracker Shutdown complete
1/11/2013 9:39 AM FOG Service Engine Version: 3
1/11/2013 9:39 AM Starting all sub processes
1/11/2013 9:39 AM 14 modules loaded
1/11/2013 9:39 AM * Starting FOG.AutoLogOut
1/11/2013 9:39 AM FOG::AutoLogOut Starting process…
1/11/2013 9:39 AM * Starting FOG.SnapinClient
1/11/2013 9:39 AM FOG::ClientUpdater Starting client update process…
1/11/2013 9:39 AM FOG::ClientUpdater Sleeping for 202 seconds.
1/11/2013 9:39 AM * Starting FOG.DirCleaner
1/11/2013 9:39 AM FOG::DirCleaner Sleeping for 50 seconds.
1/11/2013 9:39 AM * Starting FOG.DisplayManager
1/11/2013 9:39 AM FOG::DisplayManager Starting display manager process…
1/11/2013 9:39 AM * Starting FOG.GreenFog
1/11/2013 9:39 AM FOG::GreenFog Sleeping for 48 seconds.
1/11/2013 9:39 AM * Starting FOG.GUIWatcher
1/11/2013 9:39 AM FOG::GUIWatcher Starting GUI Watcher…
1/11/2013 9:39 AM * Starting FOG.HostNameChanger
1/11/2013 9:39 AM FOG::HostnameChanger Starting hostname change process…
1/11/2013 9:39 AM FOG::HostnameChanger Yielding to other subservices for 2 seconds.
1/11/2013 9:39 AM * Starting FOG.HostRegister
1/11/2013 9:39 AM FOG::HostRegister Starting host registration process…
1/11/2013 9:39 AM * Starting FOG.MODDebug
1/11/2013 9:39 AM FOG::MODDebug Start Called
1/11/2013 9:39 AM FOG::MODDebug Sleeping for 100 Seconds
1/11/2013 9:39 AM * Starting FOG.PrinterManager
1/11/2013 9:39 AM FOG::printerManager Starting interprocess communication process…
1/11/2013 9:39 AM * Starting FOG.SnapinClient
1/11/2013 9:39 AM FOG::SnapinClient Starting snapin client process…
1/11/2013 9:39 AM FOG::printerManager interprocess comm startup: OK
1/11/2013 9:39 AM * Starting FOG.TaskReboot
1/11/2013 9:39 AM FOG::TaskReboot Taskreboot in lazy mode.
1/11/2013 9:39 AM FOG::TaskReboot Starting Task Reboot…
1/11/2013 9:39 AM * Starting FOG.UserCleanup
1/11/2013 9:39 AM FOG::UserCleanup Sleeping for 14 seconds.
1/11/2013 9:39 AM * Starting FOG.UserTracker
1/11/2013 9:39 AM FOG::UserTracker Starting user tracking process…
1/11/2013 9:39 AM FOG::DisplayManager Attempting to connect to fog server…
1/11/2013 9:39 AM FOG::HostRegister Exiting because only 1 mac address was found.
1/11/2013 9:39 AM FOG::SnapinClient Sleeping for 464 seconds.
1/11/2013 9:39 AM FOG::printerManager Attempting to connect to fog server…
1/11/2013 9:39 AM FOG::UserTracker Attempting to connect to fog server…
1/11/2013 9:39 AM FOG::HostnameChanger Attempting to connect to fog server…
1/11/2013 9:39 AM FOG::DisplayManager Module is disabled globally on the FOG Server.
1/11/2013 9:39 AM FOG::AutoLogOut Module is active…
1/11/2013 9:39 AM FOG::printerManager Module is active…
1/11/2013 9:39 AM FOG::printerManager Starting printer manager…
1/11/2013 9:39 AM FOG::printerManager Yielding to other services for 20 seconds.
1/11/2013 9:39 AM FOG::UserTracker Module is active…
1/11/2013 9:39 AM FOG::HostnameChanger Module is active…
1/11/2013 9:39 AM FOG::AutoLogOut Timeout value is Zero, disabling module.
1/11/2013 9:39 AM FOG::HostnameChanger AD mode requested, confirming settings.
1/11/2013 9:39 AM FOG::HostnameChanger Hostname is up to date
1/11/2013 9:39 AM FOG::HostnameChanger Attempting to join domain if not already a member…
1/11/2013 9:40 AM FOG::UserCleanup Starting user cleanup process…
1/11/2013 9:40 AM FOG::UserCleanup Attempting to connect to fog server…
1/11/2013 9:40 AM FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
1/11/2013 9:40 AM FOG::printerManager Management level = 0
1/11/2013 9:40 AM FOG::printerManager This host is set to NO MANAGEMENT, we will exit now.
1/11/2013 9:40 AM FOG::printerManager Major printing operations complete, moving to tracking mode.
1/11/2013 9:40 AM FOG::HostnameChanger Domain Error! (‘Unknown Error’ Code: 1312)[/CODE] -
Is this log from the fog service on the client computer? And is the account your trying to use to join the domain setup so the password doesn’t expire? we have ours setup domain\user using a domain admin account with a password set to not expire.
-
yep that’s the log. and yea the password is set to never expire. And for kicks and giggles we would up the permissions on the account but that didn’t do anything either.
-
So its not changing the hostname or joining the domain? Does the fog service on the client have the correct ip or hostname for your fog server?
-
yea it changes the host name but throws that error when trying to join domain.
-
The computer you created the image from, was it joined to the domain when you ran fogprep and pulled the image to the fog server? Also the computers you are trying to image, were they on the domain before you imaged them with windows 7 or are they brand new computers?
-
They aren’t brand new but had wiped disks, also the computer that i uploaded it from was not on the domain when i pulled the image from it.
-
Ok. Even though you are wiping the computers make sure they have been deleted out of active directory before FOG tries to join them to the domain otherwise it won’t be able to join them.
-
We tried that and didn’t have any luck but i believe that it was a combination of issues one being that we had to delete out of active directory, the other being that i completely spaced that you have to update the config.ini in the fogcrypt folder with your passkey in order to encrypt it. which is why we were getting padding invalid errors after deleting from active directory then trying to join again. but it works now!
-
Great! glad you got it fixed.
-
A side note: if you manage your computers into separate OU’s or add them to groups; If you need to reimage a machine that was in active directory already and you want it to remain in the same OU and same groups, just reset the computer account instead of deleting it. That should allow the FOG client to rejoin the computer to the domain with the same name, in the same OU, and in the same groups.
-
I’m also having trouble getting a machine to join the domain. I’m very new to FOG so I could be missing something obvious. Maybe someone can help?
Questions:
- Under [LEFT][FONT=sans-serif][COLOR=#000000]‘Other Information -> FOG Settings’, is that supposed to be a Global way to join all machines to the domain? If so where do I enter the credentials to use? The information in the flyovers to the side of the fields seems to be asking for the default user to create on the newly imaged machine rather than Domain Admin credentials.[/COLOR][/FONT][/LEFT]
[LEFT][FONT=sans-serif][COLOR=#000000]2. Under ‘Host Management > Active Directory’ I read the OU should be entered in LDAP format. So that would be something like this:? OU=Computers,OU=SupportSpace Customer Support,OU=Director Service Operations,OU=CSO,OU=SupportSpace,DC=SupportSpace,DC=local [/COLOR][/FONT][/LEFT]
- [LEFT][FONT=sans-serif][COLOR=#000000]I don’t understand the comment above about modifying the config.ini file [/COLOR][/FONT][/LEFT]in the fogcrypt folder with your passkey in order to encrypt it. I didn’t see this in the wiki.
Any and all help would be very appreciated. Thanks in advance.
-
1.) Under the Other information -> Fog Settings -> Active Directory defaults. That’s where you enter your credentials so that when you image a host and select join domain after imaging those boxes will be pre-filled with your information.
2.) Honestly I would leave the Organizational Unit blank. It’s not required to join the Domain.
3.) In the FOGCrypt Folder you will see an etc folder, in that will be a Config.ini file if you open that with notepad and only notepad. you will see the line that says passkey then it has an equal symbol with the phrase FOG-OpenSource-Imaging
if you change that line to whatever you want your passkey to be and then Use the Command prompt to CD over to the FOGCrpyt Folder and run the fogcrypt.exe file it will encrypt the passkey you enter with the phrase you put into the config.ini file
I think the exact Command is FOGCrypt.exe (yourpassword) > (newpass.txt) Change whats int the parenthesis to what fits you and it will create a .txt file in the fog crypt directory with the encrypted passkey.[SIZE=3][FONT=Times New Roman][COLOR=#222222][url]http://www.fogproject.org/wiki/index.php/FOGCrypt[/url][/COLOR][/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman][COLOR=#222222]Then only thing that tutorial doesn’t tell you is to change the passkey in the config.ini Folder[/COLOR][/FONT][/SIZE]
-
Hi All,
I am very new to FOG.
I have installed Windows 7 in a New Machine with all the software in need. I have uploaded the image in Fog server. I just want to know what are the steps i need to follow to make the image which adds the client computer in domain automatically.
Can anyone explain me the steps please.
Thanks in advance…
-
Try this wiki article: [url]http://fogproject.org/wiki/index.php/Active_Directory_-_FOG_Setting[/url]
Let me know if any particular section is confusing or lacking information.
-
Vignesh R,
I'm having the same issues you are (or were) in regards to Auto joining the domain. I was wondering if you ever got a resolution to your problem? I can offer you what little knowledge I have, but I warn you that I have had NO success in getting the computers to auto join the domain.
- Megabyte
-
Megabyte, go ahead and start your own thread and post your question including what version of windows and FOG you are using. I’ll be happy to help you get it working with AD if I can.