1 SMBUTIL(1) User Commands SMBUTIL(1)
2
3
4
5 NAME
6 smbutil - Solaris CIFS client utility
7
8 SYNOPSIS
9 /usr/bin/smbutil crypt
10
11
12 /usr/bin/smbutil login [-c] [[domain/]user]
13
14
15 /usr/bin/smbutil login [-c] [user[@domain]]
16
17
18 /usr/bin/smbutil logout [[domain/]user]
19
20
21 /usr/bin/smbutil logout [user[@domain]]
22
23
24 /usr/bin/smbutil logout -a
25
26
27 /usr/bin/smbutil logoutall
28
29
30 /usr/bin/smbutil lookup name
31
46 Subcommands
47 The smbutil command supports the following subcommands:
48
49 crypt
50
51 Creates a hash of a password. This subcommand prompts for a
52 password and writes the hash to standard output. This hash value is
53 suitable for use as a value for the password property in the
54 $HOME/.nsmbrc file.
55
56 The hashed password begins with two dollar signs ($$). If you
57 assign this hashed password to the password property in your
58 $HOME/.nsmbrc, be sure that you escape the special characters in
59 the password.
60
61 If you plan to store hashed passwords in your $HOME/.nsmbrc file,
62 ensure that the file permissions are set so that only the owner can
63 read or write the file (400 or 600), or the passwords are ignored.
64
65
66 login [-c] [ [[domain/]user] | [user[@domain] ]
67
68 Specifies persistent password information to be used for a CIFS
69 server user account. When you specify this information, mounts can
70 be done without a password prompt in non-Kerberos configurations.
71 Kerberos sites should use Kerberos automatically, not prompt for a
72 password. If a default domain is available in SMF or nsmbrc(4), the
73 domain can be omitted. If a user name is not specified, the Solaris
74 user account name is used.
75
76 Use the -c to check whether a persistent password is set for the
77 specified user.
78
79 Passwords can also be stored for a specific server by using a
80 server name in place of the domain name. This capability is useful
81 with servers that are configured for "workgroup mode."
82
83
84 logout [ [[domain/]user] | [user[@domain] ]
85
317 mount_smbfs(1M), nsmbrc(4), attributes(5), smbfs(7FS)
318
319 AUTHORS
320 This manual page contains material originally authored by Boris Popov,
321 bp@butya.kz, bp@FreeBSD.org.
322
323 NOTES
324 The Solaris CIFS client always attempts to use gethostbyname() to
325 resolve host names. If the host name cannot be resolved, the CIFS
326 client uses NetBIOS name resolution (NBNS). By default, the Solaris
327 CIFS client permits the use of NBNS to enable Solaris CIFS clients in
328 Windows environments to work without additional configuration.
329
330
331 Since NBNS has been exploited in the past, you might want to disable
332 it. To disable NBNS, set the nbns-enabled service management facility
333 property to false. By default, nbns-enabled is set to true.
334
335
336
337 June 24, 2009 SMBUTIL(1)
|
1 SMBUTIL(1) User Commands SMBUTIL(1)
2
3
4
5 NAME
6 smbutil - Solaris CIFS client utility
7
8 SYNOPSIS
9 /usr/bin/smbutil crypt
10
11
12 /usr/bin/smbutil discon //[domain;][user@]server
13
14
15 /usr/bin/smbutil login [-c] [[domain/]user]
16
17
18 /usr/bin/smbutil login [-c] [user[@domain]]
19
20
21 /usr/bin/smbutil logout [[domain/]user]
22
23
24 /usr/bin/smbutil logout [user[@domain]]
25
26
27 /usr/bin/smbutil logout -a
28
29
30 /usr/bin/smbutil logoutall
31
32
33 /usr/bin/smbutil lookup name
34
49 Subcommands
50 The smbutil command supports the following subcommands:
51
52 crypt
53
54 Creates a hash of a password. This subcommand prompts for a
55 password and writes the hash to standard output. This hash value is
56 suitable for use as a value for the password property in the
57 $HOME/.nsmbrc file.
58
59 The hashed password begins with two dollar signs ($$). If you
60 assign this hashed password to the password property in your
61 $HOME/.nsmbrc, be sure that you escape the special characters in
62 the password.
63
64 If you plan to store hashed passwords in your $HOME/.nsmbrc file,
65 ensure that the file permissions are set so that only the owner can
66 read or write the file (400 or 600), or the passwords are ignored.
67
68
69 discon -U user] //[domain;][userserver
70
71 Disconnects the specified SMB session to server. Usage is similar
72 to the view sub-command. This sub-command is primarily for use in
73 tests.
74
75
76 login [-c] [ [[domain/]user] | [user[@domain] ]
77
78 Specifies persistent password information to be used for a CIFS
79 server user account. When you specify this information, mounts can
80 be done without a password prompt in non-Kerberos configurations.
81 Kerberos sites should use Kerberos automatically, not prompt for a
82 password. If a default domain is available in SMF or nsmbrc(4), the
83 domain can be omitted. If a user name is not specified, the Solaris
84 user account name is used.
85
86 Use the -c to check whether a persistent password is set for the
87 specified user.
88
89 Passwords can also be stored for a specific server by using a
90 server name in place of the domain name. This capability is useful
91 with servers that are configured for "workgroup mode."
92
93
94 logout [ [[domain/]user] | [user[@domain] ]
95
327 mount_smbfs(1M), nsmbrc(4), attributes(5), smbfs(7FS)
328
329 AUTHORS
330 This manual page contains material originally authored by Boris Popov,
331 bp@butya.kz, bp@FreeBSD.org.
332
333 NOTES
334 The Solaris CIFS client always attempts to use gethostbyname() to
335 resolve host names. If the host name cannot be resolved, the CIFS
336 client uses NetBIOS name resolution (NBNS). By default, the Solaris
337 CIFS client permits the use of NBNS to enable Solaris CIFS clients in
338 Windows environments to work without additional configuration.
339
340
341 Since NBNS has been exploited in the past, you might want to disable
342 it. To disable NBNS, set the nbns-enabled service management facility
343 property to false. By default, nbns-enabled is set to true.
344
345
346
347 April 11, 2018 SMBUTIL(1)
|