From 69fb70bea547434753cd969c7134fa3ca7522bf2 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 19 Nov 1999 23:26:42 +0000 Subject: yodl update - rpcclient (This used to be commit 9eef1817f8f29c2d69832806b394658cf2cce5e9) --- docs/htmldocs/rpcclient.1.html | 592 +++++++++++++++++++++++++++++++++++++++++ docs/htmldocs/samba.7.html | 8 + docs/htmldocs/smb.conf.5.html | 6 +- docs/htmldocs/smbd.8.html | 15 +- 4 files changed, 613 insertions(+), 8 deletions(-) create mode 100644 docs/htmldocs/rpcclient.1.html (limited to 'docs/htmldocs') diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html new file mode 100644 index 0000000000..5af27f2088 --- /dev/null +++ b/docs/htmldocs/rpcclient.1.html @@ -0,0 +1,592 @@ + + + + + +rpcclient (1) + + + + + +
+ +

rpcclient (1)

+

Samba

+

23 Oct 1998

+ + + + +


+

NAME

+ rpcclient - utility to manage MSRPC resources on servers +


+

SYNOPSIS

+ +


rpcclient +[password] +-S servername +[-U [username][%][password]] +[-W domain] +[-l log basename] +[-d debuglevel] +[-O socket options] +[-i scope] +[-N] +[-n NetBIOS name] +[-h] +[-I dest IP] +[-E] +[-t terminal code] +[-c command string] +[-B IP addr] +[-s smb.conf] +[-m max protocol] +


+

DESCRIPTION

+ +


This program is part of the Samba suite. +


rpcclient is a client that can 'talk' to an SMB/CIFS MSRPC server. +Operations include things like managing a SAM Database (users, groups +and aliases) in the same way as the Windows NT programs +User Manager for Domains and Server Manager for Domains; +managing a remote registry in the same way as the Windows NT programs +REGEDT32.EXE and REGEDIT.EXE; viewing a remote event log (same +as EVENTVWR.EXE) etc. +


Typical usage is like this:
+rpcclient -I 192.168.32.1 -S "*SMBSERVER" -U fred%secret -l log +
+


+

OPTIONS

+ +


+


+

OPERATIONS

+ +


Once the client is running, the user is presented with a prompt : +


smb:\> +


The prompt indicates that the client is ready and waiting to carry out +a user command. Each command is a single word, optionally followed by +parameters specific to that command. Command and parameters are +space-delimited unless these notes specifically state otherwise. All +commands are case-insensitive. Parameters to commands may or may not +be case sensitive, depending on the command. +


You can specify names (e.g registry keys; user or group names; +service names) which have spaces in them by quoting the +name with double quotes, for example "dRMON SmartAgent". +


Parameters shown in square brackets (e.g., "[parameter]") are +optional. If not given, the command will use suitable +defaults. Parameters shown in angle brackets (e.g., "<parameter>") are +required. +


Note that all commands operating on the server are actually performed +by issuing a request to the server. Thus the behavior may vary from +server to server, depending on how the server was implemented. +


The commands available are listed in groups relating to different services: +


+


+

NOTES

+ +


Some servers are fussy about the case of supplied usernames, +passwords, share names (AKA service names) and machine names. If you +fail to connect try giving all parameters in uppercase. +


It is often necessary to use the -n option when connecting +to some types of servers. For example OS/2 LanManager insists on a valid +NetBIOS name being used, so you need to supply a valid name that would +be known to the server. +


rpcclient only works on servers that support MSRPC over SMB. This includes +all versions of Windows NT, including the ports to Unix such as AS/U and +AFPS. Support for MSRPC over SMB in other servers is currently rare and +patchy, for example Samba 2.0 only supports a limited set of MSRPC commands, +and some of those are not supported very well. +


+

ENVIRONMENT VARIABLES

+ +


The variable USER may contain the username of the person using the +client. This information is used only if the protocol level is high +enough to support session-level passwords. +


The variable PASSWORD may contain the password of the person using +the client. This information is used only if the protocol level is +high enough to support session-level passwords. +


+

INSTALLATION

+ +


The location of the client program is a matter for individual system +administrators. The following are thus suggestions only. +


It is recommended that the rpcclient software be installed in the +/usr/local/samba/bin or /usr/samba/bin directory, this directory +readable by all, writeable only by root. The client program itself +should be executable by all. The client should NOT be setuid or +setgid! +


The client log files should be put in a directory readable and +writeable only by the user. +


To test the client, you will need to know the name of a running +SMB/CIFS server. It is possible to run smbd (8) +an ordinary user - running that server as a daemon on a +user-accessible port (typically any port number over 1024) would +provide a suitable test server. +


+

DIAGNOSTICS

+ +


Most diagnostics issued by the client are logged in a specified log +file. The log file name is specified at compile time, but may be +overridden on the command line. +


The number and nature of diagnostics available depends on the debug +level used by the client. If you have problems, set the debug level to +3 and peruse the log files. +


+

VERSION

+ +


This man page is correct for version 2.0 of the Samba suite. +


+

BUGS

+ +


+


+

AUTHOR

+ +


The original Samba software and related utilities were created by +Andrew Tridgell samba-bugs@samba.org. Samba is now developed +by the Samba Team as an Open Source project similar to the way the +Linux kernel is developed. +


The original Samba man pages were written by Karl Auer. The man page +sources were converted to YODL format (another excellent piece of Open +Source software, available at +ftp://ftp.icce.rug.nl/pub/unix/) +and updated for the Samba2.0 release by Jeremy Allison. This man page +was developed cut-and-paste style from the smbclient man page, by +Luke Kenneth Casson Leighton. +samba-bugs@samba.org. +


See samba (7) to find out how to get a full +list of contributors and details on how to submit bug reports, +comments etc. +


+ diff --git a/docs/htmldocs/samba.7.html b/docs/htmldocs/samba.7.html index f197ccfa32..2fc86fd65a 100644 --- a/docs/htmldocs/samba.7.html +++ b/docs/htmldocs/samba.7.html @@ -56,6 +56,14 @@ client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT). +


  • rpcclient

    The rpcclient +(1) program is a client that can 'talk' to an +SMB/CIFS MSRPC server. Operations include things like managing a SAM +Database (users, groups and aliases) in the same way as the Windows NT +programs User Manager for Domains and Server Manager for Domains; +managing a remote registry in the same way as the Windows NT programs +REGEDT32.EXE and REGEDIT.EXE; viewing a remote event log (same +as EVENTVWR.EXE).


  • testparm

    The testparm (1) utility allows you to test your smb.conf (5) configuration file. diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html index 433c7ce5bb..bba323c40a 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -840,10 +840,10 @@ shares in a net view and in the browse list.


    Example: browseable = No


    -

  • case sensitive (G) +
  • case sensitive (S)


    See the discussion in the section NAME MANGLING.


    -

  • casesignames (G) +
  • casesignames (S)


    Synonym for "case sensitive".


  • change notify timeout (G) @@ -3732,7 +3732,7 @@ smb_shm_alloc : alloc of XX bytes failed".


    Example: shared mem size = 5242880 ; Set to 5mb for a large number of files.


    -

  • short preserve case (G) +
  • short preserve case (S)


    This boolean parameter controls if new files which conform to 8.3 syntax, that is all in upper case and of suitable length, are created upper case, or if they are forced to be the "default" case. This diff --git a/docs/htmldocs/smbd.8.html b/docs/htmldocs/smbd.8.html index 78d8c3587a..790c406394 100644 --- a/docs/htmldocs/smbd.8.html +++ b/docs/htmldocs/smbd.8.html @@ -357,11 +357,16 @@ performance.


    SEE ALSO

    -


    hosts_access (5), inetd (8), nmbd (8), -smb.conf (5), smbclient -(1), testparm (1), -testprns (1), and the Internet RFC's -rfc1001.txt, rfc1002.txt. In addition the CIFS (formerly SMB) +


    hosts_access (5), +inetd (8), +nmbd (8), +smb.conf (5), +smbclient (1), +testparm (1), +testprns (1), +rpcclient (1), +and the Internet RFC's rfc1001.txt, rfc1002.txt. +In addition the CIFS (formerly SMB) specification is available as a link from the Web page : http://samba.org/cifs/.


    -- cgit