c7874e68fd56a231a06a5d117eac5469a36eb415
[abartlet/samba.git/.git] / docs / docbook / manpages / net.8.xml
1 <?xml version="1.0" encoding="iso8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3                   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4
5 <!ENTITY % globalentities SYSTEM './../global.ent'> %globalentities;
6
7 <!-- This one is only used for adding users using RAP -->
8 <!ENTITY net.arg.flags '
9 <varlistentry>
10 <term>-F flags</term>
11 <listitem><para>
12 FIXME. Defaults to 0x21
13 </para></listitem>
14 </varlistentry>'>
15
16 <!-- This one is only used by shutdown (RPC) -->
17 <!ENTITY net.arg.shutdown '
18 <varlistentry>
19 <term>-r</term>
20 <listitem><para>
21 Reboot after shutdown.
22 </para></listitem>
23 </varlistentry>
24
25 <varlistentry>
26 <term>-f</term>
27 <listitem><para>
28 Force shutting down all applications.
29 </para></listitem>
30 </varlistentry>
31
32 <varlistentry>
33 <term>-t timeout</term>
34 <listitem><para>
35 Timeout before system will be shut down. An interactive 
36 user of the system can use this time to cancel the shutdown.
37 </para></listitem>
38 </varlistentry>'>
39 ]>
40
41 <refentry id="net.8">
42
43 <refmeta>
44         <refentrytitle>net</refentrytitle>
45         <manvolnum>8</manvolnum>
46 </refmeta>
47
48
49 <refnamediv>
50         <refname>net</refname>
51         <refpurpose>Tool for administration of Samba and remote
52         CIFS servers.
53         </refpurpose>
54 </refnamediv>
55
56 <refsynopsisdiv>
57         <cmdsynopsis>
58                 <command>net</command>
59                 <arg choice="req">&lt;ads|rap|rpc&gt;</arg>
60                 <arg choice="opt">-h</arg>
61                 <arg choice="opt">-w workgroup</arg>
62                 <arg choice="opt">-W myworkgroup</arg>
63                 <arg choice="opt">-U user</arg>
64                 <arg choice="opt">-I ip-address</arg>
65                 <arg choice="opt">-p port</arg>
66                 <arg choice="opt">-n myname</arg>
67                 <arg choice="opt">-s conffile</arg>
68                 <arg choice="opt">-S server</arg>
69                 <arg choice="opt">-l</arg>
70                 <arg choice="opt">-P</arg>
71                 <arg choice="opt">-D debuglevel</arg>
72         </cmdsynopsis>
73 </refsynopsisdiv>
74
75 <refsect1>
76         <title>DESCRIPTION</title>
77
78         <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle>
79         <manvolnum>7</manvolnum></citerefentry> suite.</para>
80
81         <para>The samba net utility is meant to work just like the net utility 
82         available for windows and DOS. The first argument should be used 
83         to specify the protocol to use when executing a certain command. 
84         ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3) 
85         clients and RPC can be used for NT4 and Windows 2000. If this 
86         argument is omitted, net will try to determine it automatically. 
87         Not all commands are available on all protocols.
88         </para>
89
90 </refsect1>
91
92 <refsect1>
93         <title>OPTIONS</title>
94
95         <variablelist>
96                 &stdarg.help;
97                 
98                 <varlistentry>
99                 <term>-w target-workgroup</term>
100                 <listitem><para>
101                 Sets target workgroup or domain. You have to specify 
102                 either this option or the IP address or the name of a server.
103                 </para></listitem>
104                 </varlistentry>
105
106                 <varlistentry>
107                 <term>-W workgroup</term>
108                 <listitem><para>
109                 Sets client workgroup or domain
110                 </para></listitem>
111                 </varlistentry>
112
113                 <varlistentry>
114                 <term>-U user</term>
115                 <listitem><para>
116                 User name to use
117                 </para></listitem>
118                 </varlistentry>
119
120                 <varlistentry>
121                 <term>-I ip-address</term>
122                 <listitem><para>
123                 IP address of target server to use. You have to
124                 specify either this option or a target workgroup or
125                 a target server.
126                 </para></listitem>
127                 </varlistentry>
128
129                 <varlistentry>
130                 <term>-p port</term>
131                 <listitem><para>
132                 Port on the target server to connect to (usually 139 or 445). 
133                 Defaults to trying 445 first, then 139.
134                 </para></listitem>
135                 </varlistentry>
136
137                 &stdarg.netbios.name;
138                 &stdarg.configfile;
139
140                 <varlistentry>
141                 <term>-S server</term>
142                 <listitem><para>
143                 Name of target server. You should specify either 
144                 this option or a target workgroup or a target IP address.
145                 </para></listitem>
146                 </varlistentry>
147
148                 <varlistentry>
149                 <term>-l</term>
150                 <listitem><para>
151                 When listing data, give more information on each item.
152                 </para></listitem>
153                 </varlistentry>
154
155                 <varlistentry>
156                 <term>-P</term>
157                 <listitem><para>
158                 Make queries to the external server using the machine account of the local server.
159                 </para></listitem>
160                 </varlistentry>
161
162                 &stdarg.debug;
163         </variablelist>
164 </refsect1>
165
166 <refsect1>
167 <title>COMMANDS</title>
168
169 <refsect2>
170         <title>TIME</title>
171
172         <para>The <command>NET TIME</command> command allows you to view the time on a remote server
173         or synchronise the time on the local server with the time on the remote server.</para>
174
175 <refsect3>
176 <title>TIME</title>
177
178 <para>Without any options, the <command>NET TIME</command> command 
179 displays the time on the remote server.
180 </para>
181
182 </refsect3>
183
184 <refsect3>
185 <title>TIME SYSTEM</title>
186
187 <para> Displays the time on the remote server in a format ready for <command>/bin/date</command></para>
188
189 </refsect3>
190
191 <refsect3>
192 <title>TIME SET</title>
193 <para>Tries to set the date and time of the local server to that on 
194 the remote server using <command>/bin/date</command>. </para>
195
196 </refsect3>
197
198 <refsect3>
199 <title>TIME ZONE</title>
200
201 <para>Displays the timezone in hours from GMT on the remote computer.</para>
202
203 </refsect3>
204 </refsect2>
205
206 <refsect2>
207 <title>[RPC|ADS] JOIN [TYPE] [-U username[%password]] [options]</title>
208
209 <para>
210 Join a domain.  If the account already exists on the server, and 
211 [TYPE] is MEMBER, the machine will attempt to join automatically. 
212 (Assuming that the machine has been created in server manager)
213 Otherwise, a password will be prompted for, and a new account may
214 be created.</para>
215
216 <para>
217 [TYPE] may be PDC, BDC or MEMBER to specify the type of server
218 joining the domain.
219 </para>
220 </refsect2>
221
222 <refsect2>
223 <title>[RPC] OLDJOIN [options]</title>
224
225 <para>Join a domain. Use the OLDJOIN option to join the domain 
226 using the old style of domain joining - you need to create a trust 
227 account in server manager first.</para>
228 </refsect2>
229
230 <refsect2>
231 <title>[RPC|ADS] USER</title>
232
233 <refsect3>
234 <title>[RPC|ADS] USER DELETE <replaceable>target</replaceable></title>
235
236 <para>Delete specified user</para>
237
238 </refsect3>
239
240 <refsect3>
241 <title>[RPC|ADS] USER LIST</title>
242
243 <para>List all users</para>
244
245 </refsect3>
246
247 <refsect3>
248 <title>[RPC|ADS] USER INFO <replaceable>target</replaceable></title>
249
250 <para>List the domain groups of a the specified user.</para>
251
252 </refsect3>
253
254 <refsect3>
255 <title>[RPC|ADS] USER ADD <replaceable>name</replaceable> [password] [-F user flags] [-C comment]</title>
256
257 <para>Add specified user.</para>
258 </refsect3>
259 </refsect2>
260
261 <refsect2>
262 <title>[RPC|ADS] GROUP</title>
263
264 <refsect3>
265 <title>[RPC|ADS] GROUP [misc options] [targets]</title>
266 <para>List user groups.</para>
267 </refsect3>
268
269 <refsect3>
270 <title>[RPC|ADS] GROUP DELETE <replaceable>name</replaceable> [misc. options]</title>
271
272 <para>Delete specified group.</para>
273
274 </refsect3>
275
276 <refsect3>
277 <title>[RPC|ADS] GROUP ADD <replaceable>name</replaceable> [-C comment]</title>
278
279 <para>Create specified group.</para>
280
281 </refsect3>
282 </refsect2>
283
284 <refsect2>
285 <title>[RAP|RPC] SHARE</title>
286
287 <refsect3>
288 <title>[RAP|RPC] SHARE [misc. options] [targets]</title>
289
290 <para>Enumerates all exported resources (network shares) on target server.</para>
291
292 </refsect3>
293
294 <refsect3>
295 <title>[RAP|RPC] SHARE ADD <replaceable>name=serverpath</replaceable> [-C comment] [-M maxusers] [targets]</title>
296
297 <para>Adds a share from a server (makes the export active). Maxusers 
298 specifies the number of users that can be connected to the 
299 share simultaneously.</para>
300
301 </refsect3>
302
303 <refsect3>
304 <title>SHARE DELETE <replaceable>sharenam</replaceable></title>
305
306 <para>Delete specified share.</para>
307 </refsect3>
308 </refsect2>
309
310 <refsect2>
311 <title>[RPC|RAP] FILE</title>
312
313 <refsect3>
314 <title>[RPC|RAP] FILE</title>
315
316 <para>List all open files on remote server.</para>
317
318 </refsect3>
319
320 <refsect3>
321 <title>[RPC|RAP] FILE CLOSE <replaceable>fileid</replaceable></title>
322
323 <para>Close file with specified <replaceable>fileid</replaceable> on 
324 remote server.</para>
325
326 </refsect3>
327
328 <refsect3>
329 <title>[RPC|RAP] FILE INFO <replaceable>fileid</replaceable></title>
330
331 <para>
332 Print information on specified <replaceable>fileid</replaceable>. 
333 Currently listed are: file-id, username, locks, path, permissions.
334 </para>
335
336 </refsect3>
337
338 <refsect3>
339 <title>[RAP|RPC] FILE USER</title>
340
341 &not.implemented;
342
343 </refsect3>
344
345 </refsect2>
346
347 <refsect2>
348 <title>SESSION</title>
349
350 <refsect3>
351 <title>RAP SESSION</title>
352
353 <para>Without any other options, SESSION enumerates all active SMB/CIFS 
354 sessions on the target server.</para>
355
356 </refsect3>
357
358 <refsect3>
359 <title>RAP SESSION DELETE|CLOSE <replaceable>CLIENT_NAME</replaceable></title>
360
361 <para>Close the specified sessions.</para>
362
363 </refsect3>
364
365 <refsect3>
366 <title>RAP SESSION INFO <replaceable>CLIENT_NAME</replaceable></title>
367
368 <para>Give a list with all the open files in specified session.</para>
369
370 </refsect3>
371
372 </refsect2>
373
374 <refsect2>
375 <title>RAP SERVER <replaceable>DOMAIN</replaceable></title>
376
377 <para>List all servers in specified domain or workgroup. Defaults
378 to local domain.</para>
379
380 </refsect2>
381
382 <refsect2>
383 <title>RAP DOMAIN</title>
384
385 <para>Lists all domains and workgroups visible on the 
386 current network.</para>
387
388 </refsect2>
389
390 <refsect2>
391 <title>RAP PRINTQ</title>
392
393 <refsect3>
394 <title>RAP PRINTQ LIST <replaceable>QUEUE_NAME</replaceable></title>
395
396 <para>Lists the specified print queue and print jobs on the server.
397 If the <replaceable>QUEUE_NAME</replaceable> is omitted, all 
398 queues are listed.</para>
399
400 </refsect3>
401
402 <refsect3>
403 <title>RAP PRINTQ DELETE <replaceable>JOBID</replaceable></title>
404
405 <para>Delete job with specified id.</para>
406
407 </refsect3>
408
409 </refsect2>
410
411 <refsect2>
412 <title>RAP VALIDATE <replaceable>user</replaceable> [<replaceable>password</replaceable>]</title>
413
414 <para>
415 Validate whether the specified user can log in to the 
416 remote server. If the password is not specified on the commandline, it 
417 will be prompted. 
418 </para>
419
420 &not.implemented;
421
422 </refsect2>
423
424 <refsect2>
425 <title>RAP GROUPMEMBER</title>
426
427 <refsect3>
428 <title>RAP GROUPMEMBER LIST <replaceable>GROUP</replaceable></title>
429
430 <para>List all members of the specified group.</para>
431
432 </refsect3>
433
434 <refsect3>
435 <title>RAP GROUPMEMBER DELETE <replaceable>GROUP</replaceable> <replaceable>USER</replaceable></title>
436
437 <para>Delete member from group.</para>
438
439 </refsect3>
440
441 <refsect3>
442 <title>RAP GROUPMEMBER ADD <replaceable>GROUP</replaceable> <replaceable>USER</replaceable></title>
443
444 <para>Add member to group.</para>
445
446 </refsect3>
447
448 </refsect2>
449
450 <refsect2>
451 <title>RAP ADMIN <replaceable>command</replaceable></title>
452
453 <para>Execute the specified <replaceable>command</replaceable> on 
454 the remote server. Only works with OS/2 servers.
455 </para>
456
457 &not.implemented;
458
459 </refsect2>
460
461 <refsect2>
462 <title>RAP SERVICE</title>
463
464 <refsect3>
465 <title>RAP SERVICE START <replaceable>NAME</replaceable> [arguments...]</title>
466
467 <para>Start the specified service on the remote server. Not implemented yet.</para>
468
469 &not.implemented;
470
471 </refsect3>
472
473 <refsect3>
474 <title>RAP SERVICE STOP</title>
475
476 <para>Stop the specified service on the remote server.</para>
477
478 &not.implemented;
479
480 </refsect3>
481
482 </refsect2>
483
484 <refsect2>
485 <title>RAP PASSWORD <replaceable>USER</replaceable> <replaceable>OLDPASS</replaceable> <replaceable>NEWPASS</replaceable></title>
486
487 <para>
488 Change password of <replaceable>USER</replaceable> from <replaceable>OLDPASS</replaceable> to <replaceable>NEWPASS</replaceable>.
489 </para>
490
491 </refsect2>
492
493 <refsect2>
494 <title>LOOKUP</title>
495
496 <refsect3>
497 <title>LOOKUP HOST <replaceable>HOSTNAME</replaceable> [<replaceable>TYPE</replaceable>]</title>
498
499 <para>
500 Lookup the IP address of the given host with the specified type (netbios suffix). 
501 The type defaults to 0x20 (workstation).
502 </para>
503
504 </refsect3>
505
506 <refsect3>
507 <title>LOOKUP LDAP [<replaceable>DOMAIN</replaceable></title>
508
509 <para>Give IP address of LDAP server of specified <replaceable>DOMAIN</replaceable>. Defaults to local domain.</para>
510
511 </refsect3>
512
513 <refsect3>
514 <title>LOOKUP KDC [<replaceable>REALM</replaceable>]</title>
515
516 <para>Give IP address of KDC for the specified <replaceable>REALM</replaceable>.
517 Defaults to local realm.</para>
518
519 </refsect3>
520
521 <refsect3>
522 <title>LOOKUP DC [<replaceable>DOMAIN</replaceable>]</title>
523
524 <para>Give IP's of Domain Controllers for specified <replaceable>
525 DOMAIN</replaceable>. Defaults to local domain.</para>
526
527 </refsect3>
528
529 <refsect3>
530 <title>LOOKUP MASTER <replaceable>DOMAIN</replaceable></title>
531
532 <para>Give IP of master browser for specified <replaceable>DOMAIN</replaceable>
533 or workgroup. Defaults to local domain.</para>
534
535 </refsect3>
536
537 </refsect2>
538
539 <refsect2>
540 <title>CACHE</title>
541
542 <para>Samba uses a general caching interface called 'gencache'. It 
543 can be controlled using 'NET CACHE'.</para>
544
545 <para>All the timeout parameters support the suffixes:
546
547 <simplelist>
548 <member>s - Seconds</member>
549 <member>m - Minutes</member>
550 <member>h - Hours</member>
551 <member>d - Days</member>
552 <member>w - Weeks</member>
553 </simplelist>
554
555 </para>
556
557 <refsect3>
558 <title>CACHE ADD <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable></title>
559
560 <para>Add specified key+data to the cache with the given timeout.</para>
561
562 </refsect3>
563
564 <refsect3>
565 <title>CACHE DEL <replaceable>key</replaceable></title>
566
567 <para>Delete key from the cache.</para>
568
569 </refsect3>
570
571 <refsect3>
572 <title>CACHE SET <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable></title>
573
574 <para>Update data of existing cache entry.</para>
575
576 </refsect3>
577
578 <refsect3>
579 <title>CACHE SEARCH <replaceable>PATTERN</replaceable></title>
580
581 <para>Search for the specified pattern in the cache data.</para>
582
583 </refsect3>
584
585 <refsect3>
586 <title>CACHE LIST</title>
587
588 <para>
589 List all current items in the cache.
590 </para>
591
592 </refsect3>
593
594 <refsect3>
595 <title>CACHE FLUSH</title>
596
597 <para>Remove all the current items from the cache.</para>
598
599 </refsect3>
600
601 </refsect2>
602
603 <refsect2>
604 <title>GETLOCALSID [DOMAIN]</title>
605
606 <para>Print the SID of the specified domain, or if the parameter is
607 omitted, the SID of the domain the local server is in.</para>
608
609 </refsect2>
610
611 <refsect2>
612 <title>SETLOCALSID S-1-5-21-x-y-z</title>
613
614 <para>Sets domain sid for the local server to the specified SID.</para>
615
616 </refsect2>
617
618 <refsect2>
619 <title>GROUPMAP</title>
620
621 <para>Manage the mappings between Windows group SIDs and UNIX groups.
622 Parameters take the for "parameter=value".  Common options include:</para>
623
624 <itemizedlist>
625 <listitem><para>unixgroup - Name of the UNIX group</para></listitem>
626 <listitem><para>ntgroup - Name of the Windows NT group (must be
627   resolvable to a SID</para></listitem>
628 <listitem><para>rid - Unsigned 32-bit integer</para></listitem>
629 <listitem><para>sid - Full SID in the form of "S-1-..."</para></listitem>
630 <listitem><para>type - Type of the group; either 'domain', 'local',
631   or 'builtin'</para></listitem>
632 <listitem><para>comment - Freeform text description of the group</para></listitem>
633 </itemizedlist>
634
635 <refsect3>
636 <title>GROUPMAP ADD</title>
637
638 <para>Add a new group mapping entry</para>
639
640 <para>net groupmap add {rid=int|sid=string} unixgroup=string [type={domain|local|builtin}] [ntgroup=string] [comment=string]</para>
641
642 </refsect3>
643
644 <refsect3>
645 <title>GROUPMAP DELETE</title>
646
647 <para>Delete a group mapping entry</para>
648
649 <para>net groupmap delete {ntgroup=string|sid=SID}</para>
650
651 </refsect3>
652
653 <refsect3>
654 <title>GROUPMAP MODIFY</title>
655
656 <para>Update en existing group entry</para>
657
658 <para>net groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] [comment=string] [type={domain|local}</para>
659 </refsect3>
660
661 <refsect3>
662 <title>GROUPMAP LIST</title>
663
664 <para>List existing group mapping entries</para>
665
666 <para>net groupmap list [verbose] [ntgroup=string] [sid=SID]</para>
667
668 </refsect3>
669 </refsect2>
670
671
672
673 <refsect2>
674 <title>MAXRID</title>
675
676 <para>Prints out the highest RID currently in use on the local
677 server (by the active 'passdb backend').
678 </para>
679
680 </refsect2>
681
682 <refsect2>
683 <title>RPC INFO</title>
684
685 <para>Print information about the domain of the remote server,
686 such as domain name, domain sid and number of users and groups.
687 </para>
688
689 </refsect2>
690
691 <refsect2>
692 <title>[RPC|ADS] TESTJOIN</title>
693
694 <para>Check whether participation in a domain is still valid.</para>
695
696 </refsect2>
697
698 <refsect2>
699 <title>[RPC|ADS] CHANGETRUSTPW</title>
700
701 <para>Force change of domain trust password.</para>
702
703 </refsect2>
704
705 <refsect2>
706 <title>RPC TRUSTDOM</title>
707
708 <refsect3>
709 <title>RPC TRUSTDOM ADD <replaceable>DOMAIN</replaceable></title>
710
711 <para>Add a interdomain trust account for 
712 <replaceable>DOMAIN</replaceable> to the remote server. 
713 </para>
714
715 </refsect3>
716
717 <refsect3>
718 <title>RPC TRUSTDOM DEL <replaceable>DOMAIM</replaceable></title>
719
720 <para>Remove interdomain trust account for 
721 <replaceable>DOMAIN</replaceable> from the remote server. 
722 </para>
723
724 &not.implemented;
725
726 </refsect3>
727
728 <refsect3>
729 <title>RPC TRUSTDOM ESTABLISH <replaceable>DOMAIN</replaceable></title>
730
731 <para>
732 Establish a trust relationship to a trusting domain. 
733 Interdomain account must already be created on the remote PDC.
734 </para>
735
736 </refsect3>
737
738 <refsect3>
739 <title>RPC TRUSTDOM REVOKE <replaceable>DOMAIN</replaceable></title>
740 <para>Abandon relationship to trusted domain</para>
741
742 </refsect3>
743
744 <refsect3>
745 <title>RPC TRUSTDOM LIST</title>
746
747 <para>List all current interdomain trust relationships.</para>
748
749 </refsect3>
750
751 </refsect2>
752
753 <refsect2>
754 <title>RPC ABORTSHUTDOWN</title>
755
756 <para>Abort the shutdown of a remote server.</para>
757
758 </refsect2>
759
760 <refsect2>
761 <title>SHUTDOWN [-t timeout] [-r] [-f] [-C message]</title>
762
763 <para>Shut down the remote server.</para>
764
765 <variablelist>
766 &net.arg.shutdown;
767 <varlistentry>
768 <term>-C message</term>
769 <listitem><para>Display the specified message on the screen to 
770 announce the shutdown.</para></listitem>
771 </varlistentry>
772 </variablelist>
773
774 </refsect2>
775
776 <refsect2>
777 <title>SAMDUMP</title>
778
779 <para>Print out sam database of remote server. You need
780 to run this on either a BDC. <!-- 
781 Is that correct? - Jelmer --></para>
782 </refsect2>
783
784 <refsect2>
785 <title>VAMPIRE</title>
786
787 <para>Export users, aliases and groups from remote server to 
788 local server. Can only be run an a BDC.
789 </para>
790
791 </refsect2>
792
793 <refsect2>
794 <title>GETSID</title>
795
796 <para>Fetch domain SID and store it in the local <filename>secrets.tdb</filename>. </para>
797
798 </refsect2>
799
800 <refsect2>
801 <title>ADS LEAVE</title>
802
803 <para>Make the remote host leave the domain it is part of. </para>
804
805 </refsect2>
806
807 <refsect2>
808 <title>ADS STATUS</title>
809
810 <para>Print out status of machine account of the local machine in ADS.
811 Prints out quite some debug info. Aimed at developers, regular 
812 users should use <command>NET ADS TESTJOIN</command>.</para>
813
814 </refsect2>
815
816 <refsect2>
817 <title>ADS PRINTER</title>
818
819 <refsect3>
820 <title>ADS PRINTER INFO [<replaceable>PRINTER</replaceable>] [<replaceable>SERVER</replaceable>]</title>
821
822 <para>
823 Lookup info for <replaceable>PRINTER</replaceable> on <replaceable>SERVER</replaceable>. The printer name defaults to "*", the 
824 server name defaults to the local host.</para>
825
826 </refsect3>
827
828 <refsect3>
829 <title>ADS PRINTER PUBLISH <replaceable>PRINTER</replaceable></title>
830
831 <para>Publish specified printer using ADS.</para>
832
833 </refsect3>
834
835 <refsect3>
836 <title>ADS PRINTER REMOVE <replaceable>PRINTER</replaceable></title>
837
838 <para>Remove specified printer from ADS directory.</para>
839
840 </refsect3>
841
842 </refsect2>
843
844 <refsect2>
845 <title>ADS SEARCH <replaceable>EXPRESSION</replaceable> <replaceable>ATTRIBUTES...</replaceable></title>
846
847 <para>Perform a raw LDAP search on a ADS server and dump the results. The 
848 expression is a standard LDAP search expression, and the 
849 attributes are a list of LDAP fields to show in the results.</para>
850
851 <para>Example: <userinput>net ads search '(objectCategory=group)' sAMAccountName</userinput>
852 </para>
853
854 </refsect2>
855
856 <refsect2>
857 <title>ADS DN <replaceable>DN</replaceable> <replaceable>(attributes)</replaceable></title>
858
859 <para>
860 Perform a raw LDAP search on a ADS server and dump the results. The 
861 DN standard LDAP DN, and the attributes are a list of LDAP fields 
862 to show in the result. 
863 </para>
864
865 <para>Example: <userinput>net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName</userinput></para>
866
867 </refsect2>
868
869 <refsect2>
870 <title>WORKGROUP</title>
871
872 <para>Print out workgroup name for specified kerberos realm.</para>
873
874 </refsect2>
875
876
877 <refsect2>
878 <title>HELP [COMMAND]</title>
879
880 <para>Gives usage information for the specified command.</para>
881
882 </refsect2>
883
884 </refsect1>
885
886 <refsect1>
887         <title>VERSION</title>
888
889         <para>This man page is complete for version 3.0 of the Samba 
890         suite.</para>
891 </refsect1>
892
893 <refsect1>
894         <title>AUTHOR</title>
895         
896         <para>The original Samba software and related utilities 
897         were created by Andrew Tridgell. Samba is now developed
898         by the Samba Team as an Open Source project similar 
899         to the way the Linux kernel is developed.</para>
900
901         <para>The net manpage was written by Jelmer Vernooij.</para>
902         
903 </refsect1>
904
905 </refentry>