From: Jelmer Vernooij Date: Thu, 3 Apr 2003 18:17:49 +0000 (+0000) Subject: Fix formatting of rpcclient manpage X-Git-Tag: samba-4.0.0alpha6~801^2~11793^2~1401 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=accd7c75a0eda57a9a1b928ebcc10519612d73a1 Fix formatting of rpcclient manpage (This used to be commit 13d79e38a6eaecbf6ce8369aaa5f2eeea7109667) --- diff --git a/docs/docbook/manpages/rpcclient.1.sgml b/docs/docbook/manpages/rpcclient.1.sgml index 3e81711d5d6..de4d8d72fc8 100644 --- a/docs/docbook/manpages/rpcclient.1.sgml +++ b/docs/docbook/manpages/rpcclient.1.sgml @@ -58,7 +58,7 @@ resolved using the name resolve order line from smb.conf 5. - + @@ -97,110 +97,121 @@ COMMANDS - LSARPC - - lsaquery - Query info policy + + LSARPC + + + lsaqueryQuery info policy - lookupsids - Resolve a list + lookupsidsResolve a list of SIDs to usernames. - + - lookupnames - Resolve a list + lookupnamesResolve a list of usernames to SIDs. - + - enumtrusts - Enumerate trusted domains + enumtrustsEnumerate trusted domains - enumprivs - Enumerate privileges + enumprivsEnumerate privileges - getdispname - Get the privilege name + getdispnameGet the privilege name - lsaenumsid - Enumerate the LSA SIDS + lsaenumsidEnumerate the LSA SIDS - lsaenumprivsaccount - Enumerate the privileges of an SID + lsaenumprivsaccountEnumerate the privileges of an SID - lsaenumacctrights - Enumerate the rights of an SID + lsaenumacctrightsEnumerate the rights of an SID - lsaenumacctwithright - Enumerate accounts with a right + lsaenumacctwithrightEnumerate accounts with a right - lsaaddacctrights - Add rights to an account + lsaaddacctrightsAdd rights to an account - lsaremoveacctrights - Remove rights from an account + lsaremoveacctrightsRemove rights from an account - lsalookupprivvalue - Get a privilege value given its name + lsalookupprivvalueGet a privilege value given its name - lsaquerysecobj - Query LSA security object + lsaquerysecobjQuery LSA security object - + + - - - LSARPC-DS - - dsroledominfo - Get Primary Domain Information - + + LSARPC-DS + + + dsroledominfoGet Primary Domain Information + DFS - - dfsexist - Query DFS support - dfsadd - Add a DFS share - dfsremove - Remove a DFS share - dfsgetinfo - Query DFS share info - dfsenum - Enumerate dfs shares - + + dfsexistQuery DFS support + dfsaddAdd a DFS share + dfsremoveRemove a DFS share + dfsgetinfoQuery DFS share info + dfsenumEnumerate dfs shares + - + - REG - - shutdown - Remote Shutdown - abortshutdown - Abort Shutdown - + + REG + + shutdownRemote Shutdown + abortshutdownAbort Shutdown + - + - SRVSVC - - srvinfo - Server query info + + SRVSVC + + + srvinfoServer query info - netshareenum - Enumerate shares + netshareenumEnumerate shares - netfileenum - Enumerate open files + netfileenumEnumerate open files - netremotetod - Fetch remote time of day + netremotetodFetch remote time of day - + - + - SAMR - - queryuser - Query user info - querygroup - Query group info - queryusergroups - Query user groups - querygroupmem - Query group membership - queryaliasmem - Query alias membership - querydispinfo - Query display info - querydominfo - Query domain info - enumdomusers - Enumerate domain users - enumdomgroups - Enumerate domain groups - enumalsgroups - Enumerate alias groups - createdomuser - Create domain user - samlookupnames - Look up names - samlookuprids - Look up names - deletedomuser - Delete domain user - samquerysecobj - Query SAMR security object - getdompwinfo - Retrieve domain password info - - + + SAMR + + + queryuserQuery user info + querygroupQuery group info + queryusergroupsQuery user groups + querygroupmemQuery group membership + queryaliasmemQuery alias membership + querydispinfoQuery display info + querydominfoQuery domain info + enumdomusersEnumerate domain users + enumdomgroupsEnumerate domain groups + enumalsgroupsEnumerate alias groups + createdomuserCreate domain user + samlookupnamesLook up names + samlookupridsLook up names + deletedomuserDelete domain user + samquerysecobjQuery SAMR security object + getdompwinfoRetrieve domain password info + + + - SPOOLSS + + SPOOLSS - - adddriver <arch> <config> - - Execute an AddPrinterDriver() RPC to install the printer driver + + adddriver <arch> <config> + + Execute an AddPrinterDriver() RPC to install the printer driver information on the server. Note that the driver files should already exist in the directory returned by getdriverdir. Possible values for @@ -227,130 +238,137 @@ Comma Separated list of Files use of a bi-directional link for communication. This field should be "NULL". On a remote NT print server, the Print Monitor for a driver must already be installed prior to adding the driver or - else the RPC will fail. + else the RPC will fail. - addprinter <printername> - <sharename> <drivername> <port> - - Add a printer on the remote server. This printer + addprinter <printername> + <sharename> <drivername> <port> + + Add a printer on the remote server. This printer will be automatically shared. Be aware that the printer driver must already be installed on the server (see adddriver) and the portmust be a valid port name (see enumports. - + - deldriver - Delete the + deldriverDelete the specified printer driver for all architectures. This does not delete the actual driver files from the server, only the entry from the server's list of drivers. - + - enumdata - Enumerate all + enumdataEnumerate all printer setting data stored on the server. On Windows NT clients, these values are stored in the registry, while Samba servers store them in the printers TDB. This command corresponds to the MS Platform SDK GetPrinterData() function (* This - command is currently unimplemented). + command is currently unimplemented). - enumjobs <printer> - - List the jobs and status of a given printer. + enumjobs <printer> + List the jobs and status of a given printer. This command corresponds to the MS Platform SDK EnumJobs() - function + function - enumports [level] - - Executes an EnumPorts() call using the specified + enumports [level] + + Executes an EnumPorts() call using the specified info level. Currently only info levels 1 and 2 are supported. - + - enumdrivers [level] - - Execute an EnumPrinterDrivers() call. This lists the various installed + enumdrivers [level] + + Execute an EnumPrinterDrivers() call. This lists the various installed printer drivers for all architectures. Refer to the MS Platform SDK documentation for more details of the various flags and calling - options. Currently supported info levels are 1, 2, and 3. + options. Currently supported info levels are 1, 2, and 3. - enumprinters [level] - - Execute an EnumPrinters() call. This lists the various installed + enumprinters [level] + Execute an EnumPrinters() call. This lists the various installed and share printers. Refer to the MS Platform SDK documentation for more details of the various flags and calling options. Currently - supported info levels are 0, 1, and 2. + supported info levels are 0, 1, and 2. - getdata <printername> <valuename;> - - Retrieve the data for a given printer setting. See + getdata <printername> <valuename;> + Retrieve the data for a given printer setting. See the enumdata command for more information. This command corresponds to the GetPrinterData() MS Platform - SDK function. + SDK function. - getdriver <printername> - - Retrieve the printer driver information (such as driver file, + getdriver <printername> + + Retrieve the printer driver information (such as driver file, config file, dependent files, etc...) for the given printer. This command corresponds to the GetPrinterDriver() MS Platform SDK function. Currently info level 1, 2, and 3 are supported. - + - getdriverdir <arch> - - Execute a GetPrinterDriverDirectory() + getdriverdir <arch> + + Execute a GetPrinterDriverDirectory() RPC to retrieve the SMB share name and subdirectory for storing printer driver files for a given architecture. Possible values for arch are "Windows 4.0" (for Windows 95/98), "Windows NT x86", "Windows NT PowerPC", "Windows - Alpha_AXP", and "Windows NT R4000". + Alpha_AXP", and "Windows NT R4000". - getprinter <printername> - - Retrieve the current printer information. This command + getprinter <printername> + Retrieve the current printer information. This command corresponds to the GetPrinter() MS Platform SDK function. - + - openprinter <printername> - - Execute an OpenPrinterEx() and ClosePrinter() RPC + openprinter <printername> + Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer. - setdriver <printername> - <drivername> - - Execute a SetPrinter() command to update the printer driver + setdriver <printername> + <drivername> + Execute a SetPrinter() command to update the printer driver associated with an installed printer. The printer driver must already be correctly installed on the print server. See also the enumprinters and enumdrivers commands for obtaining a list of - of installed printers and drivers. + of installed printers and drivers. - + + - GENERAL OPTIONS + + GENERAL COMMANDS - - debuglevel - Set the current - debug level used to log information. + + debuglevelSet the current + debug level used to log information. - help (?) - Print a listing of all + help (?)Print a listing of all known commands or extended help on a particular command. - + - quit (exit) - Exit rpcclient - . - - + quit (exit)Exit rpcclient + . + +