Changeset 740 for vendor/current/docs-xml/manpages-3/net.8.xml
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/docs-xml/manpages-3/net.8.xml
r478 r740 8 8 <refmiscinfo class="source">Samba</refmiscinfo> 9 9 <refmiscinfo class="manual">System Administration tools</refmiscinfo> 10 <refmiscinfo class="version">3. 5</refmiscinfo>10 <refmiscinfo class="version">3.6</refmiscinfo> 11 11 </refmeta> 12 12 … … 796 796 797 797 </refsect3> 798 798 <refsect3> 799 <title>RPC TRUSTDOM LIST</title> 800 801 <para>List all interdomain trust relationships.</para> 802 803 </refsect3> 804 </refsect2> 805 806 <refsect2> 807 <title>RPC TRUST</title> 808 809 <refsect3> 810 <title>RPC TRUST CREATE</title> 811 812 <para>Create a trust trust object by calling lsaCreateTrustedDomainEx2. 813 The can be done on a single server or on two servers at once with the 814 possibility to use a random trust password.</para> 815 816 <variablelist><title>Options:</title> 817 <varlistentry> 818 <term>otherserver</term> 819 <listitem><para>Domain controller of the second domain</para></listitem> 820 </varlistentry> 821 822 <varlistentry> 823 <term>otheruser</term> 824 <listitem><para>Admin user in the second domain</para></listitem> 825 </varlistentry> 826 827 <varlistentry> 828 <term>otherdomainsid</term> 829 <listitem><para>SID of the second domain</para></listitem> 830 </varlistentry> 831 832 <varlistentry> 833 <term>other_netbios_domain</term> 834 <listitem><para>NetBIOS (short) name of the second domain</para></listitem> 835 </varlistentry> 836 837 <varlistentry> 838 <term>otherdomain</term> 839 <listitem><para>DNS (full) name of the second domain</para></listitem> 840 </varlistentry> 841 842 <varlistentry> 843 <term>trustpw</term> 844 <listitem><para>Trust password</para></listitem> 845 </varlistentry> 846 </variablelist> 847 848 <variablelist><title>Examples:</title> 849 <varlistentry> 850 <term>Create a trust object on srv1.dom1.dom for the domain dom2</term> 851 <listitem><literallayout> 852 net rpc trust create \ 853 otherdomainsid=S-x-x-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx \ 854 other_netbios_domain=dom2 \ 855 otherdomain=dom2.dom \ 856 trustpw=12345678 \ 857 -S srv1.dom1.dom 858 </literallayout></listitem> 859 </varlistentry> 860 <varlistentry> 861 <term>Create a trust relationship between dom1 and dom2</term> 862 <listitem><literallayout> 863 net rpc trust create \ 864 otherserver=srv2.dom2.test \ 865 otheruser=dom2adm \ 866 -S srv1.dom1.dom 867 </literallayout></listitem> 868 </varlistentry> 869 </variablelist> 870 </refsect3> 871 872 <refsect3> 873 <title>RPC TRUST DELETE</title> 874 875 <para>Delete a trust trust object by calling lsaDeleteTrustedDomain. 876 The can be done on a single server or on two servers at once.</para> 877 878 <variablelist><title>Options:</title> 879 <varlistentry> 880 <term>otherserver</term> 881 <listitem><para>Domain controller of the second domain</para></listitem> 882 </varlistentry> 883 884 <varlistentry> 885 <term>otheruser</term> 886 <listitem><para>Admin user in the second domain</para></listitem> 887 </varlistentry> 888 889 <varlistentry> 890 <term>otherdomainsid</term> 891 <listitem><para>SID of the second domain</para></listitem> 892 </varlistentry> 893 </variablelist> 894 895 <variablelist><title>Examples:</title> 896 <varlistentry> 897 <term>Delete a trust object on srv1.dom1.dom for the domain dom2</term> 898 <listitem><literallayout> 899 net rpc trust delete \ 900 otherdomainsid=S-x-x-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx \ 901 -S srv1.dom1.dom 902 </literallayout></listitem> 903 </varlistentry> 904 <varlistentry> 905 <term>Delete a trust relationship between dom1 and dom2</term> 906 <listitem><literallayout> 907 net rpc trust delete \ 908 otherserver=srv2.dom2.test \ 909 otheruser=dom2adm \ 910 -S srv1.dom1.dom 911 </literallayout></listitem> 912 </varlistentry> 913 </variablelist> 914 </refsect3> 915 916 </refsect2> 917 918 <refsect2> 799 919 <refsect3> 800 920 <title>RPC RIGHTS</title> … … 1268 1388 1269 1389 <refsect2> 1270 <title>IDMAP SECRET <DOMAIN> |ALLOC<secret></title>1390 <title>IDMAP SECRET <DOMAIN> <secret></title> 1271 1391 1272 1392 <para> … … 1277 1397 1278 1398 </refsect2> 1399 1400 <refsect2> 1401 1402 <title>IDMAP DELETE [-f] [--db=<DB>] <ID></title> 1403 1404 <para> 1405 Delete a mapping sid <-> gid or sid <-> uid from the IDMAP database. 1406 The mapping is given by <ID> which may either be a sid: S-x-..., a gid: "GID number" or a uid: "UID number". 1407 Use -f to delete an invalid partial mapping <ID> -> xx 1408 </para> 1409 <para> 1410 Use "smbcontrol all idmap ..." to notify running smbd instances. 1411 See the <citerefentry><refentrytitle>smbcontrol</refentrytitle> 1412 <manvolnum>1</manvolnum></citerefentry> manpage for details. 1413 </para> 1414 </refsect2> 1415 1416 <refsect2> 1417 1418 <title>IDMAP CHECK [-v] [-r] [-a] [-T] [-f] [-l] [--db=<DB>]</title> 1419 1420 <para> 1421 Check and repair the IDMAP database. If no option is given a read only check 1422 of the database is done. Among others an interactive or automatic repair mode 1423 may be chosen with one of the following options: 1424 1425 <variablelist> 1426 <varlistentry><term>-r|--repair</term> 1427 <listitem><para> 1428 Interactive repair mode, ask a lot of questions. 1429 </para></listitem> 1430 </varlistentry> 1431 1432 <varlistentry><term>-a|--auto</term> 1433 <listitem><para> 1434 Noninteractive repair mode, use default answers. 1435 </para></listitem> 1436 </varlistentry> 1437 1438 <varlistentry><term>-v|--verbose</term> 1439 <listitem><para> 1440 Produce more output. 1441 </para></listitem> 1442 </varlistentry> 1443 1444 <varlistentry><term>-f|--force</term> 1445 <listitem><para> 1446 Try to apply changes, even if they do not apply cleanly. 1447 </para></listitem> 1448 </varlistentry> 1449 1450 <varlistentry><term>-T|--test</term> 1451 <listitem><para> 1452 Dry run, show what changes would be made but don't touch anything. 1453 </para></listitem> 1454 </varlistentry> 1455 1456 <varlistentry><term>-l|--lock</term> 1457 <listitem><para> 1458 Lock the database while doing the check. 1459 </para></listitem> 1460 </varlistentry> 1461 1462 <varlistentry><term>--db <DB></term> 1463 <listitem><para> 1464 Check the specified database. 1465 </para></listitem> 1466 </varlistentry> 1467 <varlistentry><term></term> 1468 <listitem><para> 1469 </para></listitem> 1470 </varlistentry> 1471 </variablelist> 1472 1473 It reports about the finding of the following errors: 1474 1475 <variablelist> 1476 <varlistentry><term>Missing reverse mapping:</term> 1477 <listitem><para> 1478 A record with mapping A->B where there is no B->A. Default action 1479 in repair mode is to "fix" this by adding the reverse mapping. 1480 </para></listitem> 1481 </varlistentry> 1482 1483 <varlistentry><term>Invalid mapping:</term> 1484 <listitem><para> 1485 A record with mapping A->B where B->C. Default action 1486 is to "delete" this record. 1487 </para></listitem> 1488 </varlistentry> 1489 1490 <varlistentry><term>Missing or invalid HWM:</term> 1491 <listitem><para> 1492 A high water mark is not at least equal to the largest ID in the 1493 database. Default action is to "fix" this by setting it to the 1494 largest ID found +1. 1495 </para></listitem> 1496 </varlistentry> 1497 1498 <varlistentry><term>Invalid record:</term> 1499 <listitem><para> 1500 Something we failed to parse. Default action is to "edit" it 1501 in interactive and "delete" it in automatic mode. 1502 </para></listitem> 1503 </varlistentry> 1504 </variablelist> 1505 </para> 1506 </refsect2> 1507 1279 1508 1280 1509 <refsect2> … … 1618 1847 1619 1848 <refsect2> 1849 <title>REGISTRY</title> 1850 <para> 1851 Manipulate Samba's registry. 1852 </para> 1853 1854 <para>The registry commands are: 1855 <simplelist> 1856 <member>net registry enumerate - Enumerate registry keys and values.</member> 1857 <member>net registry enumerate_recursive - Enumerate registry key and its subkeys.</member> 1858 <member>net registry createkey - Create a new registry key.</member> 1859 <member>net registry deletekey - Delete a registry key.</member> 1860 <member>net registry deletekey_recursive - Delete a registry key with subkeys.</member> 1861 <member>net registry getvalue - Print a registry value.</member> 1862 <member>net registry getvalueraw - Print a registry value (raw format).</member> 1863 <member>net registry setvalue - Set a new registry value.</member> 1864 <member>net registry increment - Increment a DWORD registry value under a lock. 1865 </member> 1866 <member>net registry deletevalue - Delete a registry value.</member> 1867 <member>net registry getsd - Get security descriptor.</member> 1868 <member>net registry getsd_sdd1 - Get security descriptor in sddl format. 1869 </member> 1870 <member>net registry setsd_sdd1 - Set security descriptor from sddl format 1871 string.</member> 1872 <member>net registry import - Import a registration entries (.reg) file. 1873 </member> 1874 <member>net registry export - Export a registration entries (.reg) file. 1875 </member> 1876 <member>net registry convert - Convert a registration entries (.reg) file. 1877 </member> 1878 </simplelist> 1879 </para> 1880 1881 <refsect3> 1882 <title>REGISTRY ENUMERATE <replaceable>key</replaceable> </title> 1883 <para>Enumerate subkeys and values of <emphasis>key</emphasis>. 1884 </para> 1885 </refsect3> 1886 1887 <refsect3> 1888 <title>REGISTRY ENUMERATE_RECURSIVE <replaceable>key</replaceable> </title> 1889 <para>Enumerate values of <emphasis>key</emphasis> and its subkeys. 1890 </para> 1891 </refsect3> 1892 1893 <refsect3> 1894 <title>REGISTRY CREATEKEY <replaceable>key</replaceable> </title> 1895 <para>Create a new <emphasis>key</emphasis> if not yet existing. 1896 </para> 1897 </refsect3> 1898 1899 <refsect3> 1900 <title>REGISTRY DELETEKEY <replaceable>key</replaceable> </title> 1901 <para>Delete the given <emphasis>key</emphasis> and its 1902 values from the registry, if it has no subkeys. 1903 </para> 1904 </refsect3> 1905 1906 <refsect3> 1907 <title>REGISTRY DELETEKEY_RECURSIVE <replaceable>key</replaceable> </title> 1908 <para>Delete the given <emphasis>key</emphasis> and all of its 1909 subkeys and values from the registry. 1910 </para> 1911 </refsect3> 1912 1913 <refsect3> 1914 <title>REGISTRY GETVALUE <replaceable>key</replaceable> <!-- 1915 --><replaceable>name</replaceable></title> 1916 1917 <para>Output type and actual value of the value <emphasis>name</emphasis> 1918 of the given <emphasis>key</emphasis>. 1919 </para> 1920 </refsect3> 1921 1922 <refsect3> 1923 <title>REGISTRY GETVALUERAW <replaceable>key</replaceable> <!-- 1924 --><replaceable>name</replaceable></title> 1925 <para>Output the actual value of the value <emphasis>name</emphasis> 1926 of the given <emphasis>key</emphasis>. 1927 </para> 1928 </refsect3> 1929 1930 <refsect3> 1931 <title>REGISTRY SETVALUE <replaceable>key</replaceable> <!-- 1932 --><replaceable>name</replaceable> <replaceable>type</replaceable> <!-- 1933 --><replaceable>value</replaceable> ...<!-- 1934 --></title> 1935 1936 <para>Set the value <emphasis>name</emphasis> 1937 of an existing <emphasis>key</emphasis>. 1938 <emphasis>type</emphasis> may be one of 1939 <emphasis>sz</emphasis>, <emphasis>multi_sz</emphasis> or 1940 <emphasis>dword</emphasis>. 1941 In case of <emphasis>multi_sz</emphasis> <replaceable>value</replaceable> may 1942 be given multiple times. 1943 </para> 1944 </refsect3> 1945 1946 <refsect3> 1947 <title>REGISTRY INCREMENT <replaceable>key</replaceable> <!-- 1948 --><replaceable>name</replaceable> <replaceable>[inc]</replaceable><!-- 1949 --></title> 1950 1951 <para>Increment the DWORD value <emphasis>name</emphasis> 1952 of <emphasis>key</emphasis> by <replaceable>inc</replaceable> 1953 while holding a g_lock. 1954 <emphasis>inc</emphasis> defaults to 1. 1955 </para> 1956 </refsect3> 1957 1958 <refsect3> 1959 <title>REGISTRY DELETEVALUE <replaceable>key</replaceable> <!-- 1960 --><replaceable>name</replaceable></title> 1961 1962 <para>Delete the value <emphasis>name</emphasis> 1963 of the given <emphasis>key</emphasis>. 1964 </para> 1965 </refsect3> 1966 1967 <refsect3> 1968 <title>REGISTRY GETSD <replaceable>key</replaceable></title> 1969 1970 <para>Get the security descriptor of the given <emphasis>key</emphasis>. 1971 </para> 1972 </refsect3> 1973 1974 <refsect3> 1975 <title>REGISTRY GETSD_SDDL <replaceable>key</replaceable></title> 1976 1977 <para>Get the security descriptor of the given <emphasis>key</emphasis> as a 1978 Security Descriptor Definition Language (SDDL) string. 1979 </para> 1980 </refsect3> 1981 1982 <refsect3> 1983 <title>REGISTRY SETSD_SDDL <replaceable>key</replaceable><!-- 1984 --><replaceable>sd</replaceable></title> 1985 1986 <para>Set the security descriptor of the given <emphasis>key</emphasis> from a 1987 Security Descriptor Definition Language (SDDL) string <emphasis>sd</emphasis>. 1988 </para> 1989 </refsect3> 1990 1991 <refsect3> 1992 <title>REGISTRY IMPORT <replaceable>file</replaceable><!-- 1993 --><replaceable>[opt]</replaceable></title> 1994 1995 <para>Import a registration entries (.reg) <emphasis>file</emphasis>. 1996 </para> 1997 </refsect3> 1998 1999 <refsect3> 2000 <title>REGISTRY EXPORT <replaceable>key</replaceable><!-- 2001 --><replaceable>file</replaceable><!-- 2002 --><replaceable>[opt]</replaceable></title> 2003 2004 <para>Export a <emphasis>key</emphasis> to a registration entries (.reg) 2005 <emphasis>file</emphasis>. 2006 </para> 2007 </refsect3> 2008 2009 <refsect3> 2010 <title>REGISTRY CONVERT <replaceable>in</replaceable> <!-- 2011 --><replaceable>out</replaceable> <!-- 2012 --><replaceable>[[inopt] outopt]</replaceable></title> 2013 2014 <para>Convert a registration entries (.reg) file <emphasis>in</emphasis>. 2015 </para> 2016 </refsect3> 2017 2018 2019 </refsect2> 2020 2021 <refsect2> 1620 2022 <title>EVENTLOG</title> 1621 2023
Note:
See TracChangeset
for help on using the changeset viewer.