Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve the error in joining the vCSA domain:

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

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]

WannaCry: SMB1 and vSphere Products

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,6.0,6.0,6.5 (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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report