Changeset 740 for vendor/current/docs/manpages/net.8
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/docs/manpages/net.8
r618 r740 3 3 .\" Author: [see the "AUTHOR" section] 4 4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 08/0 2/20115 .\" Date: 08/08/2011 6 6 .\" Manual: System Administration tools 7 .\" Source: Samba 3. 57 .\" Source: Samba 3.6 8 8 .\" Language: English 9 9 .\" 10 .TH "NET" "8" "08/0 2/2011" "Samba 3\&.5" "System Administration tools"10 .TH "NET" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools" 11 11 .\" ----------------------------------------------------------------- 12 12 .\" * set default formatting … … 468 468 .\} 469 469 comment \- Freeform text description of the group 470 .RE 470 471 .sp 471 472 .RE … … 550 551 .PP 551 552 List all interdomain trust relationships\&. 553 .SS "RPC TRUSTDOM LIST" 554 .PP 555 List all interdomain trust relationships\&. 556 .SS "RPC TRUST" 557 .SS "RPC TRUST CREATE" 558 .PP 559 Create a trust trust object by calling lsaCreateTrustedDomainEx2\&. The can be done on a single server or on two servers at once with the possibility to use a random trust password\&. 560 .PP 561 \fBOptions:\fR 562 .PP 563 otherserver 564 .RS 4 565 Domain controller of the second domain 566 .RE 567 .PP 568 otheruser 569 .RS 4 570 Admin user in the second domain 571 .RE 572 .PP 573 otherdomainsid 574 .RS 4 575 SID of the second domain 576 .RE 577 .PP 578 other_netbios_domain 579 .RS 4 580 NetBIOS (short) name of the second domain 581 .RE 582 .PP 583 otherdomain 584 .RS 4 585 DNS (full) name of the second domain 586 .RE 587 .PP 588 trustpw 589 .RS 4 590 Trust password 591 .RE 592 .PP 593 \fBExamples:\fR 594 .PP 595 Create a trust object on srv1\&.dom1\&.dom for the domain dom2 596 .RS 4 597 .sp 598 .if n \{\ 599 .RS 4 600 .\} 601 .nf 602 net rpc trust create \e 603 otherdomainsid=S\-x\-x\-xx\-xxxxxxxxxx\-xxxxxxxxxx\-xxxxxxxxx \e 604 other_netbios_domain=dom2 \e 605 otherdomain=dom2\&.dom \e 606 trustpw=12345678 \e 607 \-S srv1\&.dom1\&.dom 608 .fi 609 .if n \{\ 610 .RE 611 .\} 612 .RE 613 .PP 614 Create a trust relationship between dom1 and dom2 615 .RS 4 616 .sp 617 .if n \{\ 618 .RS 4 619 .\} 620 .nf 621 net rpc trust create \e 622 otherserver=srv2\&.dom2\&.test \e 623 otheruser=dom2adm \e 624 \-S srv1\&.dom1\&.dom 625 .fi 626 .if n \{\ 627 .RE 628 .\} 629 .RE 630 .SS "RPC TRUST DELETE" 631 .PP 632 Delete a trust trust object by calling lsaDeleteTrustedDomain\&. The can be done on a single server or on two servers at once\&. 633 .PP 634 \fBOptions:\fR 635 .PP 636 otherserver 637 .RS 4 638 Domain controller of the second domain 639 .RE 640 .PP 641 otheruser 642 .RS 4 643 Admin user in the second domain 644 .RE 645 .PP 646 otherdomainsid 647 .RS 4 648 SID of the second domain 649 .RE 650 .PP 651 \fBExamples:\fR 652 .PP 653 Delete a trust object on srv1\&.dom1\&.dom for the domain dom2 654 .RS 4 655 .sp 656 .if n \{\ 657 .RS 4 658 .\} 659 .nf 660 net rpc trust delete \e 661 otherdomainsid=S\-x\-x\-xx\-xxxxxxxxxx\-xxxxxxxxxx\-xxxxxxxxx \e 662 \-S srv1\&.dom1\&.dom 663 .fi 664 .if n \{\ 665 .RE 666 .\} 667 .RE 668 .PP 669 Delete a trust relationship between dom1 and dom2 670 .RS 4 671 .sp 672 .if n \{\ 673 .RS 4 674 .\} 675 .nf 676 net rpc trust delete \e 677 otherserver=srv2\&.dom2\&.test \e 678 otheruser=dom2adm \e 679 \-S srv1\&.dom1\&.dom 680 .fi 681 .if n \{\ 682 .RE 683 .\} 684 .RE 685 .SS "" 552 686 .SS "RPC RIGHTS" 553 687 .PP … … 726 860 .PP 727 861 Restore the mappings from the specified file or stdin\&. 728 .SS "IDMAP SECRET <DOMAIN> |ALLOC<secret>"862 .SS "IDMAP SECRET <DOMAIN> <secret>" 729 863 .PP 730 864 Store a secret for the specified domain, used primarily for domains that use idmap_ldap as a backend\&. In this case the secret is used as the password for the user DN used to bind to the ldap server\&. 865 .SS "IDMAP DELETE [\-f] [\-\-db=<DB>] <ID>" 866 .PP 867 Delete a mapping sid <\-> gid or sid <\-> uid from the IDMAP database\&. The mapping is given by <ID> which may either be a sid: S\-x\-\&.\&.\&., a gid: "GID number" or a uid: "UID number"\&. Use \-f to delete an invalid partial mapping <ID> \-> xx 868 .PP 869 Use "smbcontrol all idmap \&.\&.\&." to notify running smbd instances\&. See the 870 \fBsmbcontrol\fR(1) 871 manpage for details\&. 872 .SS "IDMAP CHECK [\-v] [\-r] [\-a] [\-T] [\-f] [\-l] [\-\-db=<DB>]" 873 .PP 874 Check and repair the IDMAP database\&. If no option is given a read only check of the database is done\&. Among others an interactive or automatic repair mode may be chosen with one of the following options: 875 .PP 876 \-r|\-\-repair 877 .RS 4 878 Interactive repair mode, ask a lot of questions\&. 879 .RE 880 .PP 881 \-a|\-\-auto 882 .RS 4 883 Noninteractive repair mode, use default answers\&. 884 .RE 885 .PP 886 \-v|\-\-verbose 887 .RS 4 888 Produce more output\&. 889 .RE 890 .PP 891 \-f|\-\-force 892 .RS 4 893 Try to apply changes, even if they do not apply cleanly\&. 894 .RE 895 .PP 896 \-T|\-\-test 897 .RS 4 898 Dry run, show what changes would be made but don\'t touch anything\&. 899 .RE 900 .PP 901 \-l|\-\-lock 902 .RS 4 903 Lock the database while doing the check\&. 904 .RE 905 .PP 906 \-\-db <DB> 907 .RS 4 908 Check the specified database\&. 909 .RE 910 .PP 911 .RS 4 912 .RE 913 It reports about the finding of the following errors: 914 .PP 915 Missing reverse mapping: 916 .RS 4 917 A record with mapping A\->B where there is no B\->A\&. Default action in repair mode is to "fix" this by adding the reverse mapping\&. 918 .RE 919 .PP 920 Invalid mapping: 921 .RS 4 922 A record with mapping A\->B where B\->C\&. Default action is to "delete" this record\&. 923 .RE 924 .PP 925 Missing or invalid HWM: 926 .RS 4 927 A high water mark is not at least equal to the largest ID in the database\&. Default action is to "fix" this by setting it to the largest ID found +1\&. 928 .RE 929 .PP 930 Invalid record: 931 .RS 4 932 Something we failed to parse\&. Default action is to "edit" it in interactive and "delete" it in automatic mode\&. 933 .RE 731 934 .SS "USERSHARE" 732 935 .PP … … 890 1093 .PP 891 1094 Delete the list of includes from the provided section (global or share)\&. 1095 .SS "REGISTRY" 1096 .PP 1097 Manipulate Samba\'s registry\&. 1098 .PP 1099 The registry commands are: 1100 .RS 4 1101 net registry enumerate \- Enumerate registry keys and values\&. 1102 .RE 1103 .RS 4 1104 net registry enumerate_recursive \- Enumerate registry key and its subkeys\&. 1105 .RE 1106 .RS 4 1107 net registry createkey \- Create a new registry key\&. 1108 .RE 1109 .RS 4 1110 net registry deletekey \- Delete a registry key\&. 1111 .RE 1112 .RS 4 1113 net registry deletekey_recursive \- Delete a registry key with subkeys\&. 1114 .RE 1115 .RS 4 1116 net registry getvalue \- Print a registry value\&. 1117 .RE 1118 .RS 4 1119 net registry getvalueraw \- Print a registry value (raw format)\&. 1120 .RE 1121 .RS 4 1122 net registry setvalue \- Set a new registry value\&. 1123 .RE 1124 .RS 4 1125 net registry increment \- Increment a DWORD registry value under a lock\&. 1126 .RE 1127 .RS 4 1128 net registry deletevalue \- Delete a registry value\&. 1129 .RE 1130 .RS 4 1131 net registry getsd \- Get security descriptor\&. 1132 .RE 1133 .RS 4 1134 net registry getsd_sdd1 \- Get security descriptor in sddl format\&. 1135 .RE 1136 .RS 4 1137 net registry setsd_sdd1 \- Set security descriptor from sddl format 1138 string\&. 1139 .RE 1140 .RS 4 1141 net registry import \- Import a registration entries (\&.reg) file\&. 1142 .RE 1143 .RS 4 1144 net registry export \- Export a registration entries (\&.reg) file\&. 1145 .RE 1146 .RS 4 1147 net registry convert \- Convert a registration entries (\&.reg) file\&. 1148 .RE 1149 .SS "REGISTRY ENUMERATE key " 1150 .PP 1151 Enumerate subkeys and values of 1152 \fIkey\fR\&. 1153 .SS "REGISTRY ENUMERATE_RECURSIVE key " 1154 .PP 1155 Enumerate values of 1156 \fIkey\fR 1157 and its subkeys\&. 1158 .SS "REGISTRY CREATEKEY key " 1159 .PP 1160 Create a new 1161 \fIkey\fR 1162 if not yet existing\&. 1163 .SS "REGISTRY DELETEKEY key " 1164 .PP 1165 Delete the given 1166 \fIkey\fR 1167 and its values from the registry, if it has no subkeys\&. 1168 .SS "REGISTRY DELETEKEY_RECURSIVE key " 1169 .PP 1170 Delete the given 1171 \fIkey\fR 1172 and all of its subkeys and values from the registry\&. 1173 .SS "REGISTRY GETVALUE key name" 1174 .PP 1175 Output type and actual value of the value 1176 \fIname\fR 1177 of the given 1178 \fIkey\fR\&. 1179 .SS "REGISTRY GETVALUERAW key name" 1180 .PP 1181 Output the actual value of the value 1182 \fIname\fR 1183 of the given 1184 \fIkey\fR\&. 1185 .SS "REGISTRY SETVALUE key name type value ..." 1186 .PP 1187 Set the value 1188 \fIname\fR 1189 of an existing 1190 \fIkey\fR\&. 1191 \fItype\fR 1192 may be one of 1193 \fIsz\fR, 1194 \fImulti_sz\fR 1195 or 1196 \fIdword\fR\&. In case of 1197 \fImulti_sz\fR 1198 \fIvalue\fR 1199 may be given multiple times\&. 1200 .SS "REGISTRY INCREMENT key name [inc]" 1201 .PP 1202 Increment the DWORD value 1203 \fIname\fR 1204 of 1205 \fIkey\fR 1206 by 1207 \fIinc\fR 1208 while holding a g_lock\&. 1209 \fIinc\fR 1210 defaults to 1\&. 1211 .SS "REGISTRY DELETEVALUE key name" 1212 .PP 1213 Delete the value 1214 \fIname\fR 1215 of the given 1216 \fIkey\fR\&. 1217 .SS "REGISTRY GETSD key" 1218 .PP 1219 Get the security descriptor of the given 1220 \fIkey\fR\&. 1221 .SS "REGISTRY GETSD_SDDL key" 1222 .PP 1223 Get the security descriptor of the given 1224 \fIkey\fR 1225 as a Security Descriptor Definition Language (SDDL) string\&. 1226 .SS "REGISTRY SETSD_SDDL keysd" 1227 .PP 1228 Set the security descriptor of the given 1229 \fIkey\fR 1230 from a Security Descriptor Definition Language (SDDL) string 1231 \fIsd\fR\&. 1232 .SS "REGISTRY IMPORT file[opt]" 1233 .PP 1234 Import a registration entries (\&.reg) 1235 \fIfile\fR\&. 1236 .SS "REGISTRY EXPORT keyfile[opt]" 1237 .PP 1238 Export a 1239 \fIkey\fR 1240 to a registration entries (\&.reg) 1241 \fIfile\fR\&. 1242 .SS "REGISTRY CONVERT in out [[inopt] outopt]" 1243 .PP 1244 Convert a registration entries (\&.reg) file 1245 \fIin\fR\&. 892 1246 .SS "EVENTLOG" 893 1247 .PP … … 1024 1378 \fIREBOOT\fR 1025 1379 is an optional parameter that can be set to reboot the remote machine after successful join to the domain\&. 1380 .RE 1026 1381 .sp 1027 1382 .RE … … 1071 1426 \fIREBOOT\fR 1072 1427 is an optional parameter that can be set to reboot the remote machine after successful unjoin from the domain\&. 1428 .RE 1073 1429 .sp 1074 1430 .RE … … 1130 1486 \fIREBOOT\fR 1131 1487 is an optional parameter that can be set to reboot the remote machine after successful rename in the domain\&. 1488 .RE 1132 1489 .sp 1133 1490 .RE … … 1180 1537 \fICOMMAND\fR 1181 1538 defines the shell command to execute\&. 1539 .RE 1182 1540 .SS "G_LOCK LOCKS" 1183 1541 .PP
Note:
See TracChangeset
for help on using the changeset viewer.