Manual Page for cifslogin
CIFSLOGIN(1)               Sharity User's Manual

NAME
    cifslogin - Login to a CIFS server.

LOCATION
    %globaldir%/bin/cifslogin

SYNOPSIS
    cifslogin <server> [<options>]

DESCRIPTION
    This command logs the calling user in to a server. While the login
    is established, all file accesses by the calling user are performed
    under the permissions available at the server with the credentials
    passed to cifslogin. <server> must be the netbios name of the server
    where you want to log in. This name must be resolvable through the
    netbios name service or with DNS. If neither gives an IP address,
    you can configure the IP address explicitly in the configuration
    file. Valid options are:

    -h   Print short help and exit
    -U <username> Login on server as this user. By default, the remote
         username is the same as the calling user's local name.
    -P <password> Password given in commandline. Using this option is
         STRONGLY discouraged because it will write your password to the
         shell's history file.
    -S   Read password from standard input (implies -N). This option can
         be used if the password is created by an external program (e.g.
         retrieved from a database).
    -N   Don't prompt for a password. If no password is given by the -P
         or -S options, use an empty password.
    -u   Allow sending password unencrypted. Sharity does not allow
         sending unencrypted passwords by default (for security reasons).

    If the password is not supplied with the -S or -P option and if
    the user is not already logged in, cifslogin prompts the user for
    a password.