1SMBTREE(1)                                                          SMBTREE(1)
2
3
4

NAME

6       smbtree - A text based smb network browser
7

SYNOPSIS

9       smbtree [-b] [-D] [-S]
10

DESCRIPTION

12       This tool is part of the samba(7) suite.
13
14       smbtree  is  a  smb  browser program in text mode. It is similar to the
15       "Network Neighborhood" found on Windows computers.  It  prints  a  tree
16       with all the known domains, the servers in those domains and the shares
17       on the servers.
18

OPTIONS

20       -b
21          Query network nodes by sending requests  as  broadcasts  instead  of
22          querying the local master browser.
23
24       -D
25          Only  print  a  list of all the domains known on broadcast or by the
26          master browser
27
28       -S
29          Only print a list of all  the  domains  and  servers  responding  on
30          broadcast or known by the master browser.
31
32       -V
33          Prints the program version number.
34
35       -s <configuration file>
36          The  file  specified  contains the configuration details required by
37          the server. The information in this  file  includes  server-specific
38          information  such  as what printcap file to use, as well as descrip‐
39          tions of all the  services  that  the  server  is  to  provide.  See
40          smb.conf  for  more information. The default configuration file name
41          is determined at compile time.
42
43       -d|--debuglevel=level
44          level is an integer from 0 to 10. The default value if this  parame‐
45          ter is not specified is zero.
46
47          The  higher  this  value,  the more detail will be logged to the log
48          files about the activities of the server. At level 0, only  critical
49          errors  and serious warnings will be logged. Level 1 is a reasonable
50          level for day-to-day running - it generates a small amount of infor‐
51          mation about operations carried out.
52
53          Levels  above  1 will generate considerable amounts of log data, and
54          should only be used when investigating a problem. Levels above 3 are
55          designed for use only by developers and generate HUGE amounts of log
56          data, most of which is extremely cryptic.
57
58          Note that specifying this parameter here will override the
59
60          parameter in the smb.conf file.
61
62       -l|--logfile=logdirectory
63          Base directory name for log/debug files. The  extension  ".progname"
64          will  be  appended  (e.g.  log.smbclient, log.smbd, etc...). The log
65          file is never removed by the client.
66
67       -N
68          If specified, this parameter suppresses the normal  password  prompt
69          from the client to the user. This is useful when accessing a service
70          that does not require a password.
71
72          Unless a password is specified on the command line or this parameter
73          is specified, the client will request a password.
74
75          If  a  password  is specified on the command line and this option is
76          also defined the password on the command line will be silently  ing‐
77          nored and no password will be used.
78
79       -k
80          Try  to  authenticate with kerberos. Only useful in an Active Direc‐
81          tory environment.
82
83       -A|--authentication-file=filename
84          This option allows you to specify a file  from  which  to  read  the
85          username and password used in the connection. The format of the file
86          is
87
88
89
90
91
92          username = <value>
93          password = <value>
94          domain   = <value>
95
96
97
98          Make certain that the permissions on the file restrict  access  from
99          unwanted users.
100
101       -U|--user=username[%password]
102          Sets the SMB username or username and password.
103
104          If %password is not specified, the user will be prompted. The client
105          will first check the USER environment  variable,  then  the  LOGNAME
106          variable  and  if  either exists, the string is uppercased. If these
107          environmental variables are not found, the username GUEST is used.
108
109          A third option is to use  a  credentials  file  which  contains  the
110          plaintext  of  the username and password. This option is mainly pro‐
111          vided for scripts where the admin does not wish to pass the  creden‐
112          tials  on  the  command  line  or via environment variables. If this
113          method is used, make  certain  that  the  permissions  on  the  file
114          restrict access from unwanted users. See the -A for more details.
115
116          Be cautious about including passwords in scripts. Also, on many sys‐
117          tems the command line of a running process may be seen  via  the  ps
118          command.  To be safe always allow rpcclient to prompt for a password
119          and type it in directly.
120
121       -h|--help
122          Print a summary of command line options.
123

VERSION

125       This man page is correct for version 3.0 of the Samba suite.
126

AUTHOR

128       The original Samba software  and  related  utilities  were  created  by
129       Andrew  Tridgell.  Samba  is now developed by the Samba Team as an Open
130       Source project similar to the way the Linux kernel is developed.
131
132       The smbtree man page was written by Jelmer Vernooij.
133
134
135
136
137                                                                    SMBTREE(1)
Impressum