Manual Page for cifsmount
CIFSMOUNT(1)               Sharity User's Manual

NAME
    cifsmount - Mount a CIFS file share.

LOCATION
    %globaldir%/bin/cifsmount

SYNOPSIS
    cifsmount //<server>/<share> <mountpoint> [<options>]

DESCRIPTION
    The cifsmount command mounts a CIFS file share at the given
    mountpoint and logs in the calling user to the server. Valid options
    are:

    -h   Print short help and exit
    -r   Mount as read-only filesystem
    -f   Mount in fake mode (not connecting server)
    -m <frontend> Use the given frontend for mounting (default is nfs2)
    -U <username> Login on server as this user. By default, the remote
         username is the same as the calling user's local name.
    -D <domain> Send this domain name to server. If not specified,
         Sharity's default domain is used. Some servers accept connects
         only from clients from their own domain.
    -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, cifsmount prompts the user for
    a password.

EXAMPLES
    The following command mounts the file share "C$" from the server
    "NTSERVER" at the mountpoint /mnt. We assume that /mnt does not
    exist. We also assume that root is issuing the commands:
    
        mkdir /mnt
        cifsmount '//ntserver/c$' /mnt -Uadministrator
    
    cifsmount will prompt for administrator's password, log in the user
    "root" as "administrator" on the NT server and mount the share. If
    other users should have access to the mountpoint, too, they must
    use cifslogin to log in to the server.