Changeset 272 for branches/samba-3.2.x/docs/manpages/net.8
- Timestamp:
- Jun 16, 2009, 5:52:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/manpages/net.8
r235 r272 2 2 .\" Author: [see the "AUTHOR" section] 3 3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 0 4/17/20094 .\" Date: 06/16/2009 5 5 .\" Manual: System Administration tools 6 6 .\" Source: Samba 3.2 7 7 .\" Language: English 8 8 .\" 9 .TH "NET" "8" "0 4/17/2009" "Samba 3\&.2" "System Administration tools"9 .TH "NET" "8" "06/16/2009" "Samba 3\&.2" "System Administration tools" 10 10 .\" ----------------------------------------------------------------- 11 11 .\" * (re)Define some macros … … 172 172 .fam C 173 173 .HP \w'\ 'u 174 \FCnet\F[] {<ads|rap|rpc>} [\-h] [\-w\ workgroup] [\-W\ myworkgroup] [\-U\ user] [\-I\ ip\-address] [\-p\ port] [\-n\ myname] [\-s\ conffile] [\-S\ server] [\-l] [\-P] [\-d\ debuglevel] [\-V] 174 \FCnet\F[] {<ads|rap|rpc>} [\-h] [\-w\ workgroup] [\-W\ myworkgroup] [\-U\ user] [\-I\ ip\-address] [\-p\ port] [\-n\ myname] [\-s\ conffile] [\-S\ server] [\-l] [\-P] [\-d\ debuglevel] [\-V] [\-\-request\-timeout\ seconds] 175 175 .fam 176 176 .SH "DESCRIPTION" … … 243 243 .RS 4 244 244 Make queries to the external server using the machine account of the local server\&. 245 .RE 246 .PP 247 \-\-request\-timeout 30 248 .RS 4 249 Let client requests timeout after 30 seconds the default is 10 seconds\&. 245 250 .RE 246 251 .PP … … 1057 1062 .PP 1058 1063 Delete the list of includes from the provided section (global or share)\&. 1064 .SS "DOM" 1065 .PP 1066 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\&. 1067 .PP 1068 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\&. 1069 .PP 1070 The client side support for remote join is implemented in the net dom commands which are: 1071 .RS 4 1072 net dom join \- Join a remote computer into a domain\&. 1073 .RE 1074 .RS 4 1075 net dom unjoin \- Unjoin a remote computer from a domain\&. 1076 .RE 1077 .SS "DOM JOIN domain=DOMAIN ou=OU account=ACCOUNT password=PASSWORD reboot" 1078 .PP 1079 Joins a computer into a domain\&. This command supports the following additional parameters: 1080 .sp 1081 .RS 4 1082 .ie n \{\ 1083 \h'-04'\(bu\h'+03'\c 1084 .\} 1085 .el \{\ 1086 .sp -1 1087 .IP \(bu 2.3 1088 .\} 1089 \fIDOMAIN\fR 1090 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 \e separator character\&. Example: MYDOM\eMYDC\&. The 1091 \fIDOMAIN\fR 1092 parameter cannot be NULL\&. 1093 .RE 1094 .sp 1095 .RS 4 1096 .ie n \{\ 1097 \h'-04'\(bu\h'+03'\c 1098 .\} 1099 .el \{\ 1100 .sp -1 1101 .IP \(bu 2.3 1102 .\} 1103 \fIOU\fR 1104 can be set to a RFC 1779 LDAP DN, like 1105 \fIou=mymachines,cn=Users,dc=example,dc=com\fR 1106 in order to create the machine account in a non\-default LDAP containter\&. This optional parameter is only supported when joining Active Directory Domains\&. 1107 .RE 1108 .sp 1109 .RS 4 1110 .ie n \{\ 1111 \h'-04'\(bu\h'+03'\c 1112 .\} 1113 .el \{\ 1114 .sp -1 1115 .IP \(bu 2.3 1116 .\} 1117 \fIACCOUNT\fR 1118 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\&. 1119 .RE 1120 .sp 1121 .RS 4 1122 .ie n \{\ 1123 \h'-04'\(bu\h'+03'\c 1124 .\} 1125 .el \{\ 1126 .sp -1 1127 .IP \(bu 2.3 1128 .\} 1129 \fIPASSWORD\fR 1130 defines the password for the domain account defined with 1131 \fIACCOUNT\fR\&. 1132 .RE 1133 .sp 1134 .RS 4 1135 .ie n \{\ 1136 \h'-04'\(bu\h'+03'\c 1137 .\} 1138 .el \{\ 1139 .sp -1 1140 .IP \(bu 2.3 1141 .\} 1142 \fIREBOOT\fR 1143 is an optional parameter that can be set to reboot the remote machine after successful join to the domain\&. 1144 .sp 1145 .RE 1146 .PP 1147 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\&. 1148 .PP 1149 Example: net dom join \-S xp \-U XP\e\eadministrator%secret domain=MYDOM account=MYDOM\e\eadministrator password=topsecret reboot\&. 1150 .PP 1151 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\&. 1152 .SS "DOM UNJOIN account=ACCOUNT password=PASSWORD reboot" 1153 .PP 1154 Unjoins a computer from a domain\&. This command supports the following additional parameters: 1155 .sp 1156 .RS 4 1157 .ie n \{\ 1158 \h'-04'\(bu\h'+03'\c 1159 .\} 1160 .el \{\ 1161 .sp -1 1162 .IP \(bu 2.3 1163 .\} 1164 \fIACCOUNT\fR 1165 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\&. 1166 .RE 1167 .sp 1168 .RS 4 1169 .ie n \{\ 1170 \h'-04'\(bu\h'+03'\c 1171 .\} 1172 .el \{\ 1173 .sp -1 1174 .IP \(bu 2.3 1175 .\} 1176 \fIPASSWORD\fR 1177 defines the password for the domain account defined with 1178 \fIACCOUNT\fR\&. 1179 .RE 1180 .sp 1181 .RS 4 1182 .ie n \{\ 1183 \h'-04'\(bu\h'+03'\c 1184 .\} 1185 .el \{\ 1186 .sp -1 1187 .IP \(bu 2.3 1188 .\} 1189 \fIREBOOT\fR 1190 is an optional parameter that can be set to reboot the remote machine after successful unjoin from the domain\&. 1191 .sp 1192 .RE 1193 .PP 1194 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\&. 1195 .PP 1196 Example: net dom unjoin \-S xp \-U XP\e\eadministrator%secret account=MYDOM\e\eadministrator password=topsecret reboot\&. 1197 .PP 1198 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\&. 1059 1199 .SS "HELP [COMMAND]" 1060 1200 .PP
Note:
See TracChangeset
for help on using the changeset viewer.