You use it as " smbclient -L host" and a list should appear. This option allows you to look at what services are available on a server. There is also a security issue involved, as at the maximum debug level cleartext passwords may be written to some log files. Be warned that this generates prodigious amounts of debug data. This parameter, if specified, causes the maximum debug level to be selected. Be cautious about including passwords in scripts. Lowercase or mixed case passwords may be rejected by these servers. Note: Some servers (including OS/2 and Windows for Workgroups) insist on an uppercase password. (If no password is required, press Enter to provide a null password.) If no password is supplied on the command line (either here or using the -U option (see below)) and -N is not specified, the client prompts for a password, even if the desired service does not require one. If supplied, the -N option (suppress password prompt) is assumed. Password is the password required to access the specified service on the specified server. The name required is a LAN Manager server name, which may or may not be the same as the hostname of the machine running the server. Note that the server name required isn't necessarily the hostname of the server. So to connect to the service " printer" on the LAN Manager server " lanman", you would use the servicename \\lanman\printer. A service name takes the form \\server\service where server is the netbios name of the LAN Manager server offering the desired service and service is the name of the service offered. Servicename is the name of the service you want to use on the server. Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on. It communicates with a LAN Manager server, offering an interface similar to that of the ftp program. Smbclient is a client that is part of the Samba software suite.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |