fix bug #3434
[Samba/gebeck_regimport.git] / docs / manpages-3 / net.8.xml
blobf65d0bc2548179aaedddf00d6169f78ec99dc598
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="net.8">
5 <refmeta>
6         <refentrytitle>net</refentrytitle>
7         <manvolnum>8</manvolnum>
8 </refmeta>
11 <refnamediv>
12         <refname>net</refname>
13         <refpurpose>Tool for administration of Samba and remote
14         CIFS servers.
15         </refpurpose>
16 </refnamediv>
18 <refsynopsisdiv>
19         <cmdsynopsis>
20                 <command>net</command>
21                 <arg choice="req">&lt;ads|rap|rpc&gt;</arg>
22                 <arg choice="opt">-h</arg>
23                 <arg choice="opt">-w workgroup</arg>
24                 <arg choice="opt">-W myworkgroup</arg>
25                 <arg choice="opt">-U user</arg>
26                 <arg choice="opt">-I ip-address</arg>
27                 <arg choice="opt">-p port</arg>
28                 <arg choice="opt">-n myname</arg>
29                 <arg choice="opt">-s conffile</arg>
30                 <arg choice="opt">-S server</arg>
31                 <arg choice="opt">-l</arg>
32                 <arg choice="opt">-P</arg>
33                 <arg choice="opt">-d debuglevel</arg>
34                 <arg choice="opt">-V</arg>
35         </cmdsynopsis>
36 </refsynopsisdiv>
38 <refsect1>
39         <title>DESCRIPTION</title>
41         <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
42         <manvolnum>7</manvolnum></citerefentry> suite.</para>
44         <para>The samba net utility is meant to work just like the net utility 
45         available for windows and DOS. The first argument should be used 
46         to specify the protocol to use when executing a certain command. 
47         ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3) 
48         clients and RPC can be used for NT4 and Windows 2000. If this 
49         argument is omitted, net will try to determine it automatically. 
50         Not all commands are available on all protocols.
51         </para>
53 </refsect1>
55 <refsect1>
56         <title>OPTIONS</title>
58         <variablelist>
59                 &stdarg.help;
60                 
61                 <varlistentry>
62                 <term>-w target-workgroup</term>
63                 <listitem><para>
64                 Sets target workgroup or domain. You have to specify 
65                 either this option or the IP address or the name of a server.
66                 </para></listitem>
67                 </varlistentry>
69                 <varlistentry>
70                 <term>-W workgroup</term>
71                 <listitem><para>
72                 Sets client workgroup or domain
73                 </para></listitem>
74                 </varlistentry>
76                 <varlistentry>
77                 <term>-U user</term>
78                 <listitem><para>
79                 User name to use
80                 </para></listitem>
81                 </varlistentry>
83                 <varlistentry>
84                 <term>-I ip-address</term>
85                 <listitem><para>
86                 IP address of target server to use. You have to
87                 specify either this option or a target workgroup or
88                 a target server.
89                 </para></listitem>
90                 </varlistentry>
92                 <varlistentry>
93                 <term>-p port</term>
94                 <listitem><para>
95                 Port on the target server to connect to (usually 139 or 445). 
96                 Defaults to trying 445 first, then 139.
97                 </para></listitem>
98                 </varlistentry>
100                 &stdarg.netbios.name;
101                 &stdarg.configfile;
103                 <varlistentry>
104                 <term>-S server</term>
105                 <listitem><para>
106                 Name of target server. You should specify either 
107                 this option or a target workgroup or a target IP address.
108                 </para></listitem>
109                 </varlistentry>
111                 <varlistentry>
112                 <term>-l</term>
113                 <listitem><para>
114                 When listing data, give more information on each item.
115                 </para></listitem>
116                 </varlistentry>
118                 <varlistentry>
119                 <term>-P</term>
120                 <listitem><para>
121                 Make queries to the external server using the machine account of the local server.
122                 </para></listitem>
123                 </varlistentry>
125                 &stdarg.debug;
126         </variablelist>
127 </refsect1>
129 <refsect1>
130 <title>COMMANDS</title>
132 <refsect2>
133 <title>CHANGESECRETPW</title>
135 <para>This command allows the Samba machine account password to be set from an external application
136 to a machine account password that has already been stored in Active Directory. DO NOT USE this command
137 unless you know exactly what you are doing. The use of this command requires that the force flag (-f)
138 be used also. There will be NO command prompt. Whatever information is piped into stdin, either by
139 typing at the command line or otherwise, will be stored as the literal machine password. Do NOT use
140 this without care and attention as it will overwrite a legitimate machine password without warning.
141 YOU HAVE BEEN WARNED.
142 </para>
144 </refsect2>
146 <refsect2>
147         <title>TIME</title>
149         <para>The <command>NET TIME</command> command allows you to view the time on a remote server
150         or synchronise the time on the local server with the time on the remote server.</para>
152 <refsect3>
153 <title>TIME</title>
155 <para>Without any options, the <command>NET TIME</command> command 
156 displays the time on the remote server.
157 </para>
159 </refsect3>
161 <refsect3>
162 <title>TIME SYSTEM</title>
164 <para>Displays the time on the remote server in a format ready for <command>/bin/date</command></para>
166 </refsect3>
168 <refsect3>
169 <title>TIME SET</title>
170 <para>Tries to set the date and time of the local server to that on 
171 the remote server using <command>/bin/date</command>. </para>
173 </refsect3>
175 <refsect3>
176 <title>TIME ZONE</title>
178 <para>Displays the timezone in hours from GMT on the remote computer.</para>
180 </refsect3>
181 </refsect2>
183 <refsect2>
184 <title>[RPC|ADS] JOIN [TYPE] [-U username[%password]] [options]</title>
186 <para>
187 Join a domain.  If the account already exists on the server, and 
188 [TYPE] is MEMBER, the machine will attempt to join automatically. 
189 (Assuming that the machine has been created in server manager)
190 Otherwise, a password will be prompted for, and a new account may
191 be created.</para>
193 <para>
194 [TYPE] may be PDC, BDC or MEMBER to specify the type of server
195 joining the domain.
196 </para>
197 </refsect2>
199 <refsect2>
200 <title>[RPC] OLDJOIN [options]</title>
202 <para>Join a domain. Use the OLDJOIN option to join the domain 
203 using the old style of domain joining - you need to create a trust 
204 account in server manager first.</para>
205 </refsect2>
207 <refsect2>
208 <title>[RPC|ADS] USER</title>
210 <refsect3>
211 <title>[RPC|ADS] USER</title>
213 <para>List all users</para>
215 </refsect3>
217 <refsect3>
218 <title>[RPC|ADS] USER DELETE <replaceable>target</replaceable></title>
220 <para>Delete specified user</para>
222 </refsect3>
224 <refsect3>
225 <title>[RPC|ADS] USER INFO <replaceable>target</replaceable></title>
227 <para>List the domain groups of a the specified user.</para>
229 </refsect3>
231 <refsect3>
232 <title>[RPC|ADS] USER RENAME <replaceable>oldname</replaceable> <replaceable>newname</replaceable></title>
234 <para>Rename specified user.</para>
236 </refsect3>
238 <refsect3>
239 <title>[RPC|ADS] USER ADD <replaceable>name</replaceable> [password] [-F user flags] [-C comment]</title>
241 <para>Add specified user.</para>
242 </refsect3>
243 </refsect2>
245 <refsect2>
246 <title>[RPC|ADS] GROUP</title>
248 <refsect3>
249 <title>[RPC|ADS] GROUP [misc options] [targets]</title>
250 <para>List user groups.</para>
251 </refsect3>
253 <refsect3>
254 <title>[RPC|ADS] GROUP DELETE <replaceable>name</replaceable> [misc. options]</title>
256 <para>Delete specified group.</para>
258 </refsect3>
260 <refsect3>
261 <title>[RPC|ADS] GROUP ADD <replaceable>name</replaceable> [-C comment]</title>
263 <para>Create specified group.</para>
265 </refsect3>
266 </refsect2>
268 <refsect2>
269 <title>[RAP|RPC] SHARE</title>
271 <refsect3>
272 <title>[RAP|RPC] SHARE [misc. options] [targets]</title>
274 <para>Enumerates all exported resources (network shares) on target server.</para>
276 </refsect3>
278 <refsect3>
279 <title>[RAP|RPC] SHARE ADD <replaceable>name=serverpath</replaceable> [-C comment] [-M maxusers] [targets]</title>
281 <para>Adds a share from a server (makes the export active). Maxusers 
282 specifies the number of users that can be connected to the 
283 share simultaneously.</para>
285 </refsect3>
287 <refsect3>
288 <title>SHARE DELETE <replaceable>sharenam</replaceable></title>
290 <para>Delete specified share.</para>
291 </refsect3>
292 </refsect2>
294 <refsect2>
295 <title>[RPC|RAP] FILE</title>
297 <refsect3>
298 <title>[RPC|RAP] FILE</title>
300 <para>List all open files on remote server.</para>
302 </refsect3>
304 <refsect3>
305 <title>[RPC|RAP] FILE CLOSE <replaceable>fileid</replaceable></title>
307 <para>Close file with specified <replaceable>fileid</replaceable> on 
308 remote server.</para>
310 </refsect3>
312 <refsect3>
313 <title>[RPC|RAP] FILE INFO <replaceable>fileid</replaceable></title>
315 <para>
316 Print information on specified <replaceable>fileid</replaceable>. 
317 Currently listed are: file-id, username, locks, path, permissions.
318 </para>
320 </refsect3>
322 <refsect3>
323 <title>[RAP|RPC] FILE USER</title>
325 &not.implemented;
327 </refsect3>
329 </refsect2>
331 <refsect2>
332 <title>SESSION</title>
334 <refsect3>
335 <title>RAP SESSION</title>
337 <para>Without any other options, SESSION enumerates all active SMB/CIFS 
338 sessions on the target server.</para>
340 </refsect3>
342 <refsect3>
343 <title>RAP SESSION DELETE|CLOSE <replaceable>CLIENT_NAME</replaceable></title>
345 <para>Close the specified sessions.</para>
347 </refsect3>
349 <refsect3>
350 <title>RAP SESSION INFO <replaceable>CLIENT_NAME</replaceable></title>
352 <para>Give a list with all the open files in specified session.</para>
354 </refsect3>
356 </refsect2>
358 <refsect2>
359 <title>RAP SERVER <replaceable>DOMAIN</replaceable></title>
361 <para>List all servers in specified domain or workgroup. Defaults
362 to local domain.</para>
364 </refsect2>
366 <refsect2>
367 <title>RAP DOMAIN</title>
369 <para>Lists all domains and workgroups visible on the 
370 current network.</para>
372 </refsect2>
374 <refsect2>
375 <title>RAP PRINTQ</title>
377 <refsect3>
378 <title>RAP PRINTQ LIST <replaceable>QUEUE_NAME</replaceable></title>
380 <para>Lists the specified print queue and print jobs on the server.
381 If the <replaceable>QUEUE_NAME</replaceable> is omitted, all 
382 queues are listed.</para>
384 </refsect3>
386 <refsect3>
387 <title>RAP PRINTQ DELETE <replaceable>JOBID</replaceable></title>
389 <para>Delete job with specified id.</para>
391 </refsect3>
393 </refsect2>
395 <refsect2>
396 <title>RAP VALIDATE <replaceable>user</replaceable> [<replaceable>password</replaceable>]</title>
398 <para>
399 Validate whether the specified user can log in to the 
400 remote server. If the password is not specified on the commandline, it 
401 will be prompted. 
402 </para>
404 &not.implemented;
406 </refsect2>
408 <refsect2>
409 <title>RAP GROUPMEMBER</title>
411 <refsect3>
412 <title>RAP GROUPMEMBER LIST <replaceable>GROUP</replaceable></title>
414 <para>List all members of the specified group.</para>
416 </refsect3>
418 <refsect3>
419 <title>RAP GROUPMEMBER DELETE <replaceable>GROUP</replaceable> <replaceable>USER</replaceable></title>
421 <para>Delete member from group.</para>
423 </refsect3>
425 <refsect3>
426 <title>RAP GROUPMEMBER ADD <replaceable>GROUP</replaceable> <replaceable>USER</replaceable></title>
428 <para>Add member to group.</para>
430 </refsect3>
432 </refsect2>
434 <refsect2>
435 <title>RAP ADMIN <replaceable>command</replaceable></title>
437 <para>Execute the specified <replaceable>command</replaceable> on 
438 the remote server. Only works with OS/2 servers.
439 </para>
441 &not.implemented;
443 </refsect2>
445 <refsect2>
446 <title>RAP SERVICE</title>
448 <refsect3>
449 <title>RAP SERVICE START <replaceable>NAME</replaceable> [arguments...]</title>
451 <para>Start the specified service on the remote server. Not implemented yet.</para>
453 &not.implemented;
455 </refsect3>
457 <refsect3>
458 <title>RAP SERVICE STOP</title>
460 <para>Stop the specified service on the remote server.</para>
462 &not.implemented;
464 </refsect3>
466 </refsect2>
468 <refsect2>
469 <title>RAP PASSWORD <replaceable>USER</replaceable> <replaceable>OLDPASS</replaceable> <replaceable>NEWPASS</replaceable></title>
471 <para>
472 Change password of <replaceable>USER</replaceable> from <replaceable>OLDPASS</replaceable> to <replaceable>NEWPASS</replaceable>.
473 </para>
475 </refsect2>
477 <refsect2>
478 <title>LOOKUP</title>
480 <refsect3>
481 <title>LOOKUP HOST <replaceable>HOSTNAME</replaceable> [<replaceable>TYPE</replaceable>]</title>
483 <para>
484 Lookup the IP address of the given host with the specified type (netbios suffix). 
485 The type defaults to 0x20 (workstation).
486 </para>
488 </refsect3>
490 <refsect3>
491 <title>LOOKUP LDAP [<replaceable>DOMAIN</replaceable></title>
493 <para>Give IP address of LDAP server of specified <replaceable>DOMAIN</replaceable>. Defaults to local domain.</para>
495 </refsect3>
497 <refsect3>
498 <title>LOOKUP KDC [<replaceable>REALM</replaceable>]</title>
500 <para>Give IP address of KDC for the specified <replaceable>REALM</replaceable>.
501 Defaults to local realm.</para>
503 </refsect3>
505 <refsect3>
506 <title>LOOKUP DC [<replaceable>DOMAIN</replaceable>]</title>
508 <para>Give IP's of Domain Controllers for specified <replaceable>
509 DOMAIN</replaceable>. Defaults to local domain.</para>
511 </refsect3>
513 <refsect3>
514 <title>LOOKUP MASTER <replaceable>DOMAIN</replaceable></title>
516 <para>Give IP of master browser for specified <replaceable>DOMAIN</replaceable>
517 or workgroup. Defaults to local domain.</para>
519 </refsect3>
521 </refsect2>
523 <refsect2>
524 <title>CACHE</title>
526 <para>Samba uses a general caching interface called 'gencache'. It 
527 can be controlled using 'NET CACHE'.</para>
529 <para>All the timeout parameters support the suffixes:
531 <simplelist>
532 <member>s - Seconds</member>
533 <member>m - Minutes</member>
534 <member>h - Hours</member>
535 <member>d - Days</member>
536 <member>w - Weeks</member>
537 </simplelist>
539 </para>
541 <refsect3>
542 <title>CACHE ADD <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable></title>
544 <para>Add specified key+data to the cache with the given timeout.</para>
546 </refsect3>
548 <refsect3>
549 <title>CACHE DEL <replaceable>key</replaceable></title>
551 <para>Delete key from the cache.</para>
553 </refsect3>
555 <refsect3>
556 <title>CACHE SET <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable></title>
558 <para>Update data of existing cache entry.</para>
560 </refsect3>
562 <refsect3>
563 <title>CACHE SEARCH <replaceable>PATTERN</replaceable></title>
565 <para>Search for the specified pattern in the cache data.</para>
567 </refsect3>
569 <refsect3>
570 <title>CACHE LIST</title>
572 <para>
573 List all current items in the cache.
574 </para>
576 </refsect3>
578 <refsect3>
579 <title>CACHE FLUSH</title>
581 <para>Remove all the current items from the cache.</para>
583 </refsect3>
585 </refsect2>
587 <refsect2>
588 <title>GETLOCALSID [DOMAIN]</title>
590 <para>Print the SID of the specified domain, or if the parameter is
591 omitted, the SID of the domain the local server is in.</para>
593 </refsect2>
595 <refsect2>
596 <title>SETLOCALSID S-1-5-21-x-y-z</title>
598 <para>Sets domain sid for the local server to the specified SID.</para>
600 </refsect2>
602 <refsect2>
603 <title>GROUPMAP</title>
605 <para>Manage the mappings between Windows group SIDs and UNIX groups.
606 Parameters take the for "parameter=value".  Common options include:</para>
608 <itemizedlist>
609 <listitem><para>unixgroup - Name of the UNIX group</para></listitem>
610 <listitem><para>ntgroup - Name of the Windows NT group (must be
611   resolvable to a SID</para></listitem>
612 <listitem><para>rid - Unsigned 32-bit integer</para></listitem>
613 <listitem><para>sid - Full SID in the form of "S-1-..."</para></listitem>
614 <listitem><para>type - Type of the group; either 'domain', 'local',
615   or 'builtin'</para></listitem>
616 <listitem><para>comment - Freeform text description of the group</para></listitem>
617 </itemizedlist>
619 <refsect3>
620 <title>GROUPMAP ADD</title>
622 <para>
623 Add a new group mapping entry:
624 <programlisting>
625 net groupmap add {rid=int|sid=string} unixgroup=string \
626       [type={domain|local}] [ntgroup=string] [comment=string]
627 </programlisting>
628 </para>
630 </refsect3>
632 <refsect3>
633 <title>GROUPMAP DELETE</title>
635 <para>Delete a group mapping entry. If more then one group name matches, the first entry found is deleted.</para>
637 <para>net groupmap delete {ntgroup=string|sid=SID}</para>
639 </refsect3>
641 <refsect3>
642 <title>GROUPMAP MODIFY</title>
644 <para>Update en existing group entry</para>
646 <para>
647 <programlisting>
648 net groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] \
649        [comment=string] [type={domain|local}]
650 </programlisting>
651 </para>
652 </refsect3>
654 <refsect3>
655 <title>GROUPMAP LIST</title>
657 <para>List existing group mapping entries</para>
659 <para>net groupmap list [verbose] [ntgroup=string] [sid=SID]</para>
661 </refsect3>
662 </refsect2>
666 <refsect2>
667 <title>MAXRID</title>
669 <para>Prints out the highest RID currently in use on the local
670 server (by the active 'passdb backend').
671 </para>
673 </refsect2>
675 <refsect2>
676 <title>RPC INFO</title>
678 <para>Print information about the domain of the remote server,
679 such as domain name, domain sid and number of users and groups.
680 </para>
682 </refsect2>
684 <refsect2>
685 <title>[RPC|ADS] TESTJOIN</title>
687 <para>Check whether participation in a domain is still valid.</para>
689 </refsect2>
691 <refsect2>
692 <title>[RPC|ADS] CHANGETRUSTPW</title>
694 <para>Force change of domain trust password.</para>
696 </refsect2>
698 <refsect2>
699 <title>RPC TRUSTDOM</title>
701 <refsect3>
702 <title>RPC TRUSTDOM ADD <replaceable>DOMAIN</replaceable></title>
704 <para>Add a interdomain trust account for 
705 <replaceable>DOMAIN</replaceable> to the remote server. 
706 </para>
708 </refsect3>
710 <refsect3>
711 <title>RPC TRUSTDOM DEL <replaceable>DOMAIM</replaceable></title>
713 <para>Remove interdomain trust account for 
714 <replaceable>DOMAIN</replaceable> from the remote server. 
715 </para>
717 &not.implemented;
719 </refsect3>
721 <refsect3>
722 <title>RPC TRUSTDOM ESTABLISH <replaceable>DOMAIN</replaceable></title>
724 <para>
725 Establish a trust relationship to a trusting domain. 
726 Interdomain account must already be created on the remote PDC.
727 </para>
729 </refsect3>
731 <refsect3>
732 <title>RPC TRUSTDOM REVOKE <replaceable>DOMAIN</replaceable></title>
733 <para>Abandon relationship to trusted domain</para>
735 </refsect3>
737 <refsect3>
738 <title>RPC TRUSTDOM LIST</title>
740 <para>List all current interdomain trust relationships.</para>
742 </refsect3>
744 <refsect3>
745 <title>RPC RIGHTS</title>
747 <para>This subcommand is used to view and manage Samba's rights assignments (also 
748 referred to as privileges).  There are three options current available: 
749 <parameter>list</parameter>, <parameter>grant</parameter>, and 
750 <parameter>revoke</parameter>.  More details on Samba's privilege model and its use
751 can be found in the Samba-HOWTO-Collection.</para>
753 </refsect3>
756 </refsect2>
758 <refsect2>
759 <title>RPC ABORTSHUTDOWN</title>
761 <para>Abort the shutdown of a remote server.</para>
763 </refsect2>
765 <refsect2>
766 <title>SHUTDOWN [-t timeout] [-r] [-f] [-C message]</title>
768 <para>Shut down the remote server.</para>
770 <variablelist>
771 <varlistentry>
772 <term>-r</term>
773 <listitem><para>
774 Reboot after shutdown.
775 </para></listitem>
776 </varlistentry>
778 <varlistentry>
779 <term>-f</term>
780 <listitem><para>
781 Force shutting down all applications.
782 </para></listitem>
783 </varlistentry>
785 <varlistentry>
786 <term>-t timeout</term>
787 <listitem><para>
788 Timeout before system will be shut down. An interactive 
789 user of the system can use this time to cancel the shutdown.
790 </para></listitem>
791 </varlistentry>'>
793 <varlistentry>
794 <term>-C message</term>
795 <listitem><para>Display the specified message on the screen to 
796 announce the shutdown.</para></listitem>
797 </varlistentry>
798 </variablelist>
800 </refsect2>
802 <refsect2>
803 <title>SAMDUMP</title>
805 <para>Print out sam database of remote server. You need
806 to run this on either a BDC. <!-- 
807 Is that correct? - Jelmer --></para>
808 </refsect2>
810 <refsect2>
811 <title>VAMPIRE</title>
813 <para>Export users, aliases and groups from remote server to 
814 local server. Can only be run an a BDC.
815 </para>
817 </refsect2>
819 <refsect2>
820 <title>GETSID</title>
822 <para>Fetch domain SID and store it in the local <filename>secrets.tdb</filename>. </para>
824 </refsect2>
826 <refsect2>
827 <title>ADS LEAVE</title>
829 <para>Make the remote host leave the domain it is part of. </para>
831 </refsect2>
833 <refsect2>
834 <title>ADS STATUS</title>
836 <para>Print out status of machine account of the local machine in ADS.
837 Prints out quite some debug info. Aimed at developers, regular 
838 users should use <command>NET ADS TESTJOIN</command>.</para>
840 </refsect2>
842 <refsect2>
843 <title>ADS PRINTER</title>
845 <refsect3>
846 <title>ADS PRINTER INFO [<replaceable>PRINTER</replaceable>] [<replaceable>SERVER</replaceable>]</title>
848 <para>
849 Lookup info for <replaceable>PRINTER</replaceable> on <replaceable>SERVER</replaceable>. The printer name defaults to "*", the 
850 server name defaults to the local host.</para>
852 </refsect3>
854 <refsect3>
855 <title>ADS PRINTER PUBLISH <replaceable>PRINTER</replaceable></title>
857 <para>Publish specified printer using ADS.</para>
859 </refsect3>
861 <refsect3>
862 <title>ADS PRINTER REMOVE <replaceable>PRINTER</replaceable></title>
864 <para>Remove specified printer from ADS directory.</para>
866 </refsect3>
868 </refsect2>
870 <refsect2>
871 <title>ADS SEARCH <replaceable>EXPRESSION</replaceable> <replaceable>ATTRIBUTES...</replaceable></title>
873 <para>Perform a raw LDAP search on a ADS server and dump the results. The 
874 expression is a standard LDAP search expression, and the 
875 attributes are a list of LDAP fields to show in the results.</para>
877 <para>Example: <userinput>net ads search '(objectCategory=group)' sAMAccountName</userinput>
878 </para>
880 </refsect2>
882 <refsect2>
883 <title>ADS DN <replaceable>DN</replaceable> <replaceable>(attributes)</replaceable></title>
885 <para>
886 Perform a raw LDAP search on a ADS server and dump the results. The 
887 DN standard LDAP DN, and the attributes are a list of LDAP fields 
888 to show in the result. 
889 </para>
891 <para>Example: <userinput>net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName</userinput></para>
893 </refsect2>
895 <refsect2>
896 <title>WORKGROUP</title>
898 <para>Print out workgroup name for specified kerberos realm.</para>
900 </refsect2>
903 <refsect2>
904 <title>HELP [COMMAND]</title>
906 <para>Gives usage information for the specified command.</para>
908 </refsect2>
910 </refsect1>
912 <refsect1>
913         <title>VERSION</title>
915         <para>This man page is complete for version 3.0 of the Samba 
916         suite.</para>
917 </refsect1>
919 <refsect1>
920         <title>AUTHOR</title>
921         
922         <para>The original Samba software and related utilities 
923         were created by Andrew Tridgell. Samba is now developed
924         by the Samba Team as an Open Source project similar 
925         to the way the Linux kernel is developed.</para>
927         <para>The net manpage was written by Jelmer Vernooij.</para>
928         
929 </refsect1>
931 </refentry>