• 要将主机加入Active Directory(AD),请输入:
#net ads加入-U administrator
输入管理员密码:Passw0rd
使用短域名 -  SAMDOM
加入'M1'到dns域'samdom.example.com'
  • 要将主机加入NT4域,请输入:
#net rpc join -U administrator
输入管理员密码:Passw0rd
加入域SAMDOM。

RPC模式是NT4域。
ADS模式是活动目录。



原文地址:https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member#Resolving_SRV_Records
  • To join the host to an Active Directory (AD), enter:
# net ads join -U administrator
Enter administrator's password: Passw0rd
Using short domain name -- SAMDOM
Joined 'M1' to dns domain 'samdom.example.com'
  • To join the host to an NT4 domain, enter:
# net rpc join -U administrator
Enter administrator's password: Passw0rd
Joined domain SAMDOM.




相关文章:

  • 2021-10-26
  • 2022-02-15
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
相关资源
相似解决方案