summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-20 17:35:54 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-20 17:35:54 +0000
commit5b6e24e05185c64786346b04242e74ac62ce7a5c (patch)
tree71bd6d106a2d6234fc1db696534c29ff395c5730
parent8e9bb53722f8738d3304250aefb2a1dd9bc9d62b (diff)
downloadsamba-5b6e24e05185c64786346b04242e74ac62ce7a5c.tar.gz
samba-5b6e24e05185c64786346b04242e74ac62ce7a5c.tar.bz2
samba-5b6e24e05185c64786346b04242e74ac62ce7a5c.zip
yodl update
(This used to be commit 28a63ac24d7d2344f005440ca099b255be04521b)
-rw-r--r--docs/htmldocs/rpcclient.1.html87
-rw-r--r--docs/htmldocs/smb.conf.5.html3
-rw-r--r--docs/manpages/rpcclient.195
-rw-r--r--docs/manpages/smb.conf.53
4 files changed, 156 insertions, 32 deletions
diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html
index 5af27f2088..6e5cf88866 100644
--- a/docs/htmldocs/rpcclient.1.html
+++ b/docs/htmldocs/rpcclient.1.html
@@ -324,12 +324,14 @@ server to server, depending on how the server was implemented.
list the events
<p><br></ul>
<p><br><li><strong>Service Control</strong>
+<p><br>These commands provide functionality similar to the Windows
+ NT Service Control Manager.
<p><br>It is possible to use command-line completion (if you have
the GNU readline library) for Service names, by pressing the
tab key.
<p><br><ul>
<p><br><a name="svcenum"></a> <li><strong><strong>svcenum</strong></strong>
- [-i] Lists Services Manager
+ [-i] Lists Services.
<p><br><a name="svcinfo"></a> <li><strong><strong>svcinfo</strong></strong>
&lt;service&gt; Service Information
<p><br><a name="svcstart"></a> <li><strong><strong>svcstart</strong></strong>
@@ -374,11 +376,15 @@ server to server, depending on how the server was implemented.
pressing the tab key.
<p><br><ul>
<p><br><a name="spoolenum"></a> <li><strong><strong>spoolenum</strong></strong>
- Enumerate Printers
+ Enumerate Printers. This experimental command lists
+ all printers available on a remote spooler service.
<p><br><a name="spooljobs"></a> <li><strong><strong>spooljobs</strong></strong>
- &lt;printer name&gt; Enumerate Printer Jobs
+ &lt;printer name&gt; Enumerate Printer Jobs. This
+ experimental command lists all jobs, and their
+ status, currently queued on a remote spooler
+ service.
<p><br><a name="spoolopen"></a> <li><strong><strong>spoolopen</strong></strong>
- &lt;printer name&gt; Spool Printer Open Test
+ &lt;printer name&gt; Spool Printer Open Test. Experimental.
<p><br></ul>
<p><br><li><strong>Server</strong>
<p><br><ul>
@@ -404,24 +410,70 @@ server to server, depending on how the server was implemented.
<p><br><li><strong>Local Security Authority</strong>
<p><br><ul>
<p><br><a name="lsaquery"></a> <li><strong><strong>lsaquery</strong></strong>
- Query Info Policy (domain member or server)
+ Query Info Policy (domain member or server). Obtains
+ the SID and name of the SAM database that a server
+ is responsible for (i.e a workstation's local SAM
+ database or the PDC SAM database). Also obtains the
+ SID and name of the SAM database that a server is
+ a member of.
<p><br><a name="lsaenumdomains"></a> <li><strong><strong>lsaenumdomains</strong></strong>
- Enumerate Trusted Domains
+ Enumerate Trusted Domains. Lists all Trusted and
+ Trusting Domains with which the remote PDC has
+ trust relationships established.
<p><br><a name="lookupsids"></a> <li><strong><strong>lookupsids</strong></strong>
- Resolve names from SIDs
+ &lt;rid1 or sid1&gt; &lt;rid1 or sid2&gt; ... Resolve names from SIDs.
+ Mostly to be used by developers or for troubleshooting,
+ this command can take either Security Identifiers or Relative
+ Identifiers, and look them up in the local SAM database
+ (or look them up in a remote Trusting or Trusted PDC's SAM
+ database if there is an appropriate Trust Relationship
+ established). The result is a list of names, of the
+ format: <br>
+ <code>[TRUST_DOMAIN\]name</code>. <br>
+ the <a href="rpcclient.1.html#lsaquery"><strong>lsaquery</strong></a> command must have been
+ issued first if you wish to use lookupsids to resolve
+ RIDs. The only RIDs that will be resolved will be those
+ in the SAM database of the server to which you are connected.
<p><br><a name="lookupnames"></a> <li><strong><strong>lookupnames</strong></strong>
- Resolve SIDs from names
+ &lt;name1&gt; &lt;name2&gt; ... Resolve SIDs from names.
+ Mostly to be used by developers or for troubleshooting,
+ this command can take names of the following format: <br>
+ <code>[DOMAIN_NAME\]name</code>. <br>
+ The names, which can be user, group or alias names, will
+ either be looked up in the local SAM database or in a remote
+ Trusting or Trusted PDC's SAM database, if there is an
+ appropriate Trust Relationship established. The optional
+ Domain name component is the name of a SAM database, which
+ can include a workstation's local SAM database or a Trusted
+ Domain.
+ Example Usage: <br>
+ <code>lookupnames WKSTANAME\Administrator "Domain Guests"</code> <br>
<p><br><a name="querysecret"></a> <li><strong><strong>querysecret</strong></strong>
- LSA Query Secret (developer use)
+ LSA Query Secret (developer use). This command only appears
+ to work against NT4 SP3 and below. Due to its potential
+ for misuse, it looks like Microsoft modified their
+ implementation of the LsaRetrievePrivateData call to
+ always return NT_STATUS_ACCESS_DENIED.
<p><br></ul>
<p><br><li><strong>NETLOGON</strong>
<p><br><ul>
<p><br><a name="ntlogin"></a> <li><strong><strong>ntlogin</strong></strong>
- [username] [password] NT Domain login test
+ [username] [password] NT Domain login test. Demonstrates
+ how NT-style logins work. Mainly for developer usage,
+ it can also be used to verify that a user can log in
+ from a workstation. If you cannot ever get pam_ntdom
+ to work, try this command first.
<p><br><a name="domtrust"></a> <li><strong><strong>domtrust</strong></strong>
- &lt;domain&gt; NT Inter-Domain test
+ &lt;domain&gt; NT Inter-Domain test. Demonstrates how NT-style
+ Inter-Domain Trust relationships work. Mainly for
+ developer usage, it can also be used to verify that a
+ Trust Relationship is correctly established with a
+ remote PDC.
<p><br><a name="samsync"></a> <li><strong><strong>samsync</strong></strong>
- SAM Synchronization Test (experimental)
+ SAM Synchronisation Test (experimental). This command
+ is used to manually synchronise a SAM database from a
+ remote PDC, when Samba is set up as a Backup Domain
+ Controller.
<p><br></ul>
<p><br><li><strong>SAM Database</strong>
<p><br>It is possible to use command-line completion (if you have
@@ -561,14 +613,21 @@ illegal, accidental, deliberate, intentional, malicious, curious, etc.
<p><br><li><strong>Command Completion</strong>
Command-completion (available if you have the GNU readline library) used on
certain commands may not operate correctly if the word being completed (such as a registry key) contains a space. Typically, the name will be completed, but
-you will have to go back and put quotes round it, yourself.
+you will have to go back and put quotes round it, yourself.
<p><br><li><strong>SAM Database command-completion</strong>
Command-completion (available if you have the GNU readline library) of user,
group and alias names does not work on remote Domains, which would normally
be specified like this: <br>
-<code>DOMAIN_name\\user_name</code>. <br>
+<code>DOMAIN_name\user_name</code>. <br>
The only names that can be completed in this fashion are the local names
in the SAM database of the target server.
+<p><br><li><strong><a href="rpcclient.1.html#spoolenum"><strong>spoolenum</strong></a></strong>
+Due to current limitations in the rpcclient MSRPC / SMB code, and due to
+the extremely poor MSRPC implementation (by Microsoft) of the spooler
+service, if there are a large number of printers (or the names / comment
+fields associated with the printers), this command will fail. The
+limitations require further research to be carried out; we're stuck with
+the poor \PIPE\spoolss design.
<p><br></ul>
<p><br><a name="AUTHOR"></a>
<h2>AUTHOR</h2>
diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html
index bba323c40a..f2f75170f8 100644
--- a/docs/htmldocs/smb.conf.5.html
+++ b/docs/htmldocs/smb.conf.5.html
@@ -204,7 +204,6 @@ would look like this:
[printers]
path = /usr/spool/public
- writeable = no
guest ok = yes
printable = yes
@@ -3240,7 +3239,7 @@ in the docs/ directory, PRINTER_DRIVER.txt.
find the printer driver files for the automatic installation of
drivers for Windows 95 machines. If Samba is set up to serve printer
drivers to Windows 95 machines, this should be set to
-<p><br><code>\\MACHINE\aPRINTER$</code>
+<p><br><code>\\MACHINE\PRINTER$</code>
<p><br>Where MACHINE is the NetBIOS name of your Samba server, and PRINTER$
is a share you set up for serving printer driver files. For more
details on setting this up see the documentation file in the docs/
diff --git a/docs/manpages/rpcclient.1 b/docs/manpages/rpcclient.1
index f077587fb8..65517c84fb 100644
--- a/docs/manpages/rpcclient.1
+++ b/docs/manpages/rpcclient.1
@@ -391,13 +391,16 @@ list the events
.IP
.IP "Service Control"
.IP
+These commands provide functionality similar to the Windows
+NT Service Control Manager\&.
+.IP
It is possible to use command-line completion (if you have
the GNU readline library) for Service names, by pressing the
tab key\&.
.IP
.IP
.IP "\fBsvcenum\fP"
-[-i] Lists Services Manager
+[-i] Lists Services\&.
.IP
.IP "\fBsvcinfo\fP"
<service> Service Information
@@ -462,13 +465,17 @@ pressing the tab key\&.
.IP
.IP
.IP "\fBspoolenum\fP"
-Enumerate Printers
+Enumerate Printers\&. This experimental command lists
+all printers available on a remote spooler service\&.
.IP
.IP "\fBspooljobs\fP"
-<printer name> Enumerate Printer Jobs
+<printer name> Enumerate Printer Jobs\&. This
+experimental command lists all jobs, and their
+status, currently queued on a remote spooler
+service\&.
.IP
.IP "\fBspoolopen\fP"
-<printer name> Spool Printer Open Test
+<printer name> Spool Printer Open Test\&. Experimental\&.
.IP
.IP
.IP "Server"
@@ -506,32 +513,84 @@ List files on a server
.IP
.IP
.IP "\fBlsaquery\fP"
-Query Info Policy (domain member or server)
+Query Info Policy (domain member or server)\&. Obtains
+the SID and name of the SAM database that a server
+is responsible for (i\&.e a workstation\'s local SAM
+database or the PDC SAM database)\&. Also obtains the
+SID and name of the SAM database that a server is
+a member of\&.
.IP
.IP "\fBlsaenumdomains\fP"
-Enumerate Trusted Domains
+Enumerate Trusted Domains\&. Lists all Trusted and
+Trusting Domains with which the remote PDC has
+trust relationships established\&.
.IP
.IP "\fBlookupsids\fP"
-Resolve names from SIDs
+<rid1 or sid1> <rid1 or sid2> \&.\&.\&. Resolve names from SIDs\&.
+Mostly to be used by developers or for troubleshooting,
+this command can take either Security Identifiers or Relative
+Identifiers, and look them up in the local SAM database
+(or look them up in a remote Trusting or Trusted PDC\'s SAM
+database if there is an appropriate Trust Relationship
+established)\&. The result is a list of names, of the
+format:
+.br
+\f(CW[TRUST_DOMAIN\e]name\fP\&.
+.br
+the \fBlsaquery\fP command must have been
+issued first if you wish to use lookupsids to resolve
+RIDs\&. The only RIDs that will be resolved will be those
+in the SAM database of the server to which you are connected\&.
.IP
.IP "\fBlookupnames\fP"
-Resolve SIDs from names
+<name1> <name2> \&.\&.\&. Resolve SIDs from names\&.
+Mostly to be used by developers or for troubleshooting,
+this command can take names of the following format:
+.br
+\f(CW[DOMAIN_NAME\e]name\fP\&.
+.br
+The names, which can be user, group or alias names, will
+either be looked up in the local SAM database or in a remote
+Trusting or Trusted PDC\'s SAM database, if there is an
+appropriate Trust Relationship established\&. The optional
+Domain name component is the name of a SAM database, which
+can include a workstation\'s local SAM database or a Trusted
+Domain\&.
+Example Usage:
+.br
+\f(CWlookupnames WKSTANAME\eAdministrator "Domain Guests"\fP
+.br
.IP
.IP "\fBquerysecret\fP"
-LSA Query Secret (developer use)
+LSA Query Secret (developer use)\&. This command only appears
+to work against NT4 SP3 and below\&. Due to its potential
+for misuse, it looks like Microsoft modified their
+implementation of the LsaRetrievePrivateData call to
+always return NT_STATUS_ACCESS_DENIED\&.
.IP
.IP
.IP "NETLOGON"
.IP
.IP
.IP "\fBntlogin\fP"
-[username] [password] NT Domain login test
+[username] [password] NT Domain login test\&. Demonstrates
+how NT-style logins work\&. Mainly for developer usage,
+it can also be used to verify that a user can log in
+from a workstation\&. If you cannot ever get pam_ntdom
+to work, try this command first\&.
.IP
.IP "\fBdomtrust\fP"
-<domain> NT Inter-Domain test
+<domain> NT Inter-Domain test\&. Demonstrates how NT-style
+Inter-Domain Trust relationships work\&. Mainly for
+developer usage, it can also be used to verify that a
+Trust Relationship is correctly established with a
+remote PDC\&.
.IP
.IP "\fBsamsync\fP"
-SAM Synchronization Test (experimental)
+SAM Synchronisation Test (experimental)\&. This command
+is used to manually synchronise a SAM database from a
+remote PDC, when Samba is set up as a Backup Domain
+Controller\&.
.IP
.IP
.IP "SAM Database"
@@ -707,18 +766,26 @@ illegal, accidental, deliberate, intentional, malicious, curious, etc\&.
.IP "Command Completion"
Command-completion (available if you have the GNU readline library) used on
certain commands may not operate correctly if the word being completed (such as a registry key) contains a space\&. Typically, the name will be completed, but
-you will have to go back and put quotes round it, yourself\&.
+you will have to go back and put quotes round it, yourself\&.
.IP
.IP "SAM Database command-completion"
Command-completion (available if you have the GNU readline library) of user,
group and alias names does not work on remote Domains, which would normally
be specified like this:
.br
-\f(CWDOMAIN_name\e\euser_name\fP\&.
+\f(CWDOMAIN_name\euser_name\fP\&.
.br
The only names that can be completed in this fashion are the local names
in the SAM database of the target server\&.
.IP
+.IP "\fBspoolenum\fP"
+Due to current limitations in the rpcclient MSRPC / SMB code, and due to
+the extremely poor MSRPC implementation (by Microsoft) of the spooler
+service, if there are a large number of printers (or the names / comment
+fields associated with the printers), this command will fail\&. The
+limitations require further research to be carried out; we\'re stuck with
+the poor \ePIPE\espoolss design\&.
+.IP
.PP
.SH "AUTHOR"
.PP
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index b99dd66bad..a3a58e3899 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -242,7 +242,6 @@ would look like this:
[printers]
path = /usr/spool/public
- writeable = no
guest ok = yes
printable = yes
@@ -4649,7 +4648,7 @@ find the printer driver files for the automatic installation of
drivers for Windows 95 machines\&. If Samba is set up to serve printer
drivers to Windows 95 machines, this should be set to
.IP
-\f(CW\e\eMACHINE\eaPRINTER$\fP
+\f(CW\e\eMACHINE\ePRINTER$\fP
.IP
Where MACHINE is the NetBIOS name of your Samba server, and PRINTER$
is a share you set up for serving printer driver files\&. For more