重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
Currently i have a problem trying to join a VCSA 5.5 and 6.0 to a domain it always get the same error, i double checked the DNS, name resolution, netbios and NTP with everithing working well, here is the output.
网站的建设成都创新互联专注网站定制,经验丰富,不做模板,主营网站定制开发.小程序定制开发,H5页面制作!给你焕然一新的设计体验!已为展览展示等企业提供专业服务。vcsa55:~ # /opt/likewise/bin/domainjoin-cli join nos.hk.cn gazh
Joining to AD Domain: nos.hk.cn
With Computer DNS Name: vcsa55.nos.hk.cn
gazh#NOS.HK.CN's password:
Error: ERROR_GEN_FAILURE [code 0x0000001f]
With the excitement surrounding WannaCry, I thought I'd take a few minutes and write about SMB1 and vSphere products. There's been a few threads over the past few months, including troubleshooting this myself. More admins are starting to turn SMB1 off on servers, especially on Domain Controllers.
Out of the box, vCSA and ESXi only support SMB 1.0. I don't know about 5.5, but in atleast 6.0 (and 6.5) the vCSA and ESXi use the likewise package to handle active directory communication. VMware's KB2134063 still only shows the fix as enabling SMBv1 on the domain controllers. This is Wrong! We can just enable likewise to use SMB2!
on the vCSA:
Check Values:
/opt/likewise/bin/lwregshell list_values '[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers\rdr]'
Change SMB2 to be Enabled:
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers\rdr]' Smb2Enabled 1
Restart lwio:
/opt/likewise/bin/lwsm restart lwio
join domain again: /opt/likewise/bin/domainjoin-cli join nos.hk.cn gazh
reboot!!!
on ESXi, the process is the same, but the path to the likewise binaries are in /usr/lib/vmware/likewise/bin/:
Check Values:
/usr/lib/vmware/likewise/bin/lwregshell list_values '[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers\rdr]'
Change SMB2 to be Enabled:
/usr/lib/vmware/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers\rdr]' SMB2Enabled 1
Restart lwio:
/usr/lib/vmware/likewise/bin/lwsm restart lwio
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。