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