samba domain integration
-
@plegrand What I need to know is what information is on the host that is having this issue. What I also need to know is if this is EVERY system or just this particular one. I need to know these pieces of information because, as of right now, the error messages you’re seeing is NOT coming from FOG. They are coming from Windows and it’s attempt to join the domain.
My guess is your domain is not setup correctly.
One way you can get a little bit of information, as I’m certain it’s not the password for right now, is to go to the browser. Go to the url: http://IP.OF.FOG/fog/service/hostname.php?mac=MACOFRELEVANTHOST
Get me the output in the browser. This will let me know a little more about what exactly is happening.
-
@Tom-Elliott
http://192.168.39.243/fog/service/hostname.php?mac=00:21:85:71:bd:8e
#!ok=gim-127-13 #AD=1 #ADDom=samba_domain #ADOU= #ADUser=samba_domain\admin_samba #ADPass=You can see my config here :
http://plegrand1.free.fr/fog1.png
http://plegrand1.free.fr/fog2.png
http://plegrand1.free.fr/fog3.png
as you can see i dont write ADUser=samba_domain\admin_samba but only admin_samba
Thanks -
Can you try setting this particular hosts’ user to IP.OF.Samba.Domain\admin_samba and see if that works better for you? You could even try: \admin_samba. It’s just a guess that it doesn’t know how to assign the domain part of it because it simply isn’t joined.
-
@Tom-Elliott you mean only for the domain user configuration ?
I don’t touch to domain name ? -
@plegrand Correct, the username. Make the AD Username either \admin_samba, or IP.Of.Samba.Domain\admin_samba (of course ensure the proper username).
-
@Tom-Elliott
Join Domain after image task : checked
Domain name : samba_domain
Domain Username : 192.168.39.237\admin_samba
Domain Password : password
No success
on the same computer here is the result with netdom command wich works :
C:\Documents and Settings\Administrateur>netdom.exe JOIN %ComputerName% /Domain:samba_domain /UserD:admin_samba /PasswordD:“password” /REBoot:60
The command completed successfully. -
@Tom-Elliott
is there a way to downgrade to the svn version wich worked before ? Just to test ? -
@plegrand Yes, but have you tried joining domain with the username set as \admin_samba?
-
@Tom-Elliott oups no .
I test now
Join Domain after image task : checked
Domain name : samba_domain
Domain Username : \admin_samba
Domain Password : passwordhttp://192.168.39.243/fog/service/hostname.php?mac=00:21:85:71:bd:8e
#!ok=gim-127-13 #AD=1 #ADDom=samba_domain #ADOU= #ADUser=samba_domain\\admin_samba #ADPass=
No more success
In fog.log :
The parameter is incorrect, code = 87 -
@Tom-Elliott is it possible to downgrade to a svn version for example 4058 then test all svn version to 4065 to see which version worked ?
-
Yes.
Use the command
svn up -r REVYOUWANTTOTRY
while in the trunk root directory -
@Tom-Elliott and then
cd bin
./installfog.sh?
i test that thanks -
@plegrand yep
-
@Tom-Elliott This only works going forward in version correct? Not downgrade.?
-
@EAHarvey yep too
-
-
@Tom-Elliott in fact i just begin to wonder if it worked once
I cant understand why it works with netdom command and not with fog clientDo i have to uninstall and reinstall client to ?
-
@plegrand Well can you provide a teamviewer session (in chat) with me and I can try to help narrow down exactly where the problem lies? I’m going to guess it has to do with the user having the domain as a part of the field.
-
@Tom-Elliott Eureka !!
I made some tests, and i know why i said it worked before : it works with the legacy client and
“Domain Password Legacy” field filled
without problem.
Then i uninstalled legacy client and install new client but now there is an other error29/09/2015 16:39 Client-Info Version: 0.9.5 29/09/2015 16:39 HostnameChanger Running... 29/09/2015 16:39 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:21:85:71:BD:8E|&newService=1 29/09/2015 16:39 Middleware::Communication Response: Success 29/09/2015 16:39 Middleware::Communication URL: http://192.168.39.243/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:21:85:71:BD:8E|&newService=1 29/09/2015 16:39 Middleware::Communication Response: Invalid host certificate 29/09/2015 16:39 Middleware::Communication URL: http://192.168.39.243/fog/management/other/ssl/srvpublic.crt 29/09/2015 16:39 Data::RSA CA cert found 29/09/2015 16:39 Middleware::Authentication Cert OK 29/09/2015 16:39 Middleware::Communication POST URL: http://192.168.39.243/fog/management/index.php?sub=authorize 29/09/2015 16:39 Middleware::Communication Response: Invalid security token
-
So does that seem to indicate a difference in the passwords?