smbsh |
The smbsh program allows SMB shares to be accessed from a Unix system. When smbsh is run, an extra directory tree called /smb becomes available to dynamically linked shell commands. The first level of directories under /smb represent available workgroups, the next level of subdirectories represent the SMB servers in each workgroup, and the third level of subdirectories represent the disk and printer shares of each server.
Samba must be compiled with the --with-smbwrappers option to enable smbsh .
Sets the debug (sometimes called logging) level. The level can range from 0, the default, to 10. Debug level 0 logs only the most important messages; level 1 is normal; levels 3 and above are primarily for debugging and slow smbsh considerably.
Sets the name of the logging file. By default, messages are sent to stderr .
Specifies the location of smbsh 's shared libraries, overriding the compiled-in default.
Sets the name of the root directory to use for the SMB filesystem. The default is /smb .
Sets the resolve order of the name servers. This option is similar to the resolve order configuration option and can take any of the four parameters lmhosts , host , wins , and bcast , in any order. If more than one is specified, the argument is specified as a space-separated list.
Provides the username, and optionally the password, for authenticating the connection to the SMB server. The password can be supplied using the username % password format. If either or both the username and password are not provided, smbsh will prompt interactively for them.
Specifies the NetBIOS workgroup or domain to which the client will connect. This overrides the workgroup parameter in the Samba configuration file and is sometimes necessary to connect to some servers.