From 9f16d8b72dfc9386bd01a4862c76a254b4ce6df6 Mon Sep 17 00:00:00 2001
From: bubulle
NetBIOS over TCP/IP client used to lookup NetBIOS names
tool to allow external access to Winbind's NTLM authentication function -
PAM module for Winbind +
PAM module for Winbind
manage the SAM database (Database of Samba Users)
A utility to report and change SIDs in registry files diff --git a/docs/htmldocs/manpages/net.8.html b/docs/htmldocs/manpages/net.8.html index a19e0eec63..5bd0f779b5 100644 --- a/docs/htmldocs/manpages/net.8.html +++ b/docs/htmldocs/manpages/net.8.html @@ -437,8 +437,30 @@ list of one or more filenames. The filenames may contain the usual smb.conf macros like %I.
Starting with version 3.2.0 Samba has support for remote join and unjoin APIs, both client and server-side. Windows supports remote join capabilities since Windows 2000. +
In order for Samba to be joined or unjoined remotely an account must be used that is either member of the Domain Admins group, a member of the local Administrators group or a user that is granted the SeMachineAccountPrivilege privilege. +
The client side support for remote join is implemented in the net dom commands which are: +
net dom join - Join a remote computer into a domain. |
net dom unjoin - Unjoin a remote computer from a domain. |
+
domain=DOMAIN
ou=OU
account=ACCOUNT
password=PASSWORD
reboot
+Joins a computer into a domain. This command supports the following additional parameters: +
DOMAIN
can be a NetBIOS domain name (also known as short domain name) or a DNS domain name for Active Directory Domains. As in Windows, it is also possible to control which Domain Controller to use. This can be achieved by appending the DC name using the \ separator character. Example: MYDOM\MYDC. The DOMAIN
parameter cannot be NULL.
OU
can be set to a RFC 1779 LDAP DN, like ou=mymachines,cn=Users,dc=example,dc=com in order to create the machine account in a non-default LDAP containter. This optional parameter is only supported when joining Active Directory Domains.
ACCOUNT
defines a domain account that will be used to join the machine to the domain. This domain account needs to have sufficient privileges to join machines.
PASSWORD
defines the password for the domain account defined with ACCOUNT
.
REBOOT
is an optional parameter that can be set to reboot the remote machine after successful join to the domain.
+Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to join. These additional parameters include: -S computer and -U user. +
+ Example: + net dom join -S xp -U XP\\administrator%secret domain=MYDOM account=MYDOM\\administrator password=topsecret reboot. +
+This example would connect to a computer named XP as the local administrator using password secret, and join the computer into a domain called MYDOM using the MYDOM domain administrator account and password topsecret. After successful join, the computer would reboot. +
account=ACCOUNT
password=PASSWORD
reboot
+Unjoins a computer from a domain. This command supports the following additional parameters: +
ACCOUNT
defines a domain account that will be used to unjoin the machine from the domain. This domain account needs to have sufficient privileges to unjoin machines.
PASSWORD
defines the password for the domain account defined with ACCOUNT
.
REBOOT
is an optional parameter that can be set to reboot the remote machine after successful unjoin from the domain.
+Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to unjoin. These additional parameters include: -S computer and -U user. +
+ Example: + net dom unjoin -S xp -U XP\\administrator%secret account=MYDOM\\administrator password=topsecret reboot. +
+This example would connect to a computer named XP as the local administrator using password secret, and unjoin the computer from the domain using the MYDOM domain administrator account and password topsecret. After successful unjoin, the computer would reboot. +