- 要将主机加入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.
原文地址:https://www.cnblogs.com/jackadam/p/11444553.html
时间: 2024-10-10 11:15:48