El 15/11/17 a las 15:55, Ulises Gonzalez Horta escribió:
>
>>>
>>>
>> el usuario test, se encuentra en los samba users, local, es un
>> dominio??, porque mejor no crear una carpeta iso vacía en mnt. y montar
>> en /mnt/isos mejor,
>>
>> yo hago el mount smb en mis servidores de la siguiente forma
>>
>> mount -t cifs //qnap2.dominio.cu/Reportes/ /mnt/reportes/ -o
>> rw,username=reportes,password=Contraseña,domain=DOMINIO,file_mode=0777,dir_mode=0777
>>
>
>
> el usuario test es usuario local, no hay dominio alguno en este
> ambiente. El problema no es donde se monte el recurso, aunque tienes
> razon
> que lo estoy montando en un lugar no muy recomendado, pero el tema
> real es que no se deja montar sin una razon aparente..
>
OPTIONS
       username=arg
           specifies the username to connect as. If this is not given,
then the environment variable USER is used.

           Earlier versions of mount.cifs also allowed one to specify
the username in a "user%password" or "workgroup/user" or
"workgroup/user%password" to allow
           the password and workgroup to be specified as part of the
username. Support for those alternate username formats is now deprecated
and should no longer
           be used. Users should use the discrete "password=" and
"domain=" to specify those values. While some versions of the cifs
kernel module accept "user="
           as an abbreviation for this option, its use can confuse the
standard mount program into thinking that this is a non-superuser mount.
It is therefore
           recommended to use the full "username=" option name.

       password=arg
           specifies the CIFS password. If this option is not given then
the environment variable PASSWD is used. If the password is not
specified directly or
           indirectly via an argument to mount, mount.cifs will prompt
for a password, unless the guest option is specified.

           Note that a password which contains the delimiter character
(i.e. a comma ',') will fail to be parsed correctly on the command line.
However, the same
           password defined in the PASSWD environment variable or via a
credentials file (see below) or entered at the password prompt will be
read correctly.
          domain=arg
           sets the domain (workgroup) of the user

       credentials=filename
           specifies a file that contains a username and/or password and
optionally the name of the workgroup. The format of the file is:

                         username=value
                         password=value
                         domain=value

-- 
Arian Molina Aguilera 
Administrador de Redes y Servicios Telemáticos 
Linux Usuario Registrado #392892 
Telfs: +53(7)696-7510 ext 236
jabber: linuxc...@teknik.io 
Brascuba Cigarrillos S.A. La Habana. Cuba.
“Nunca consideres el estudio como una obligación, 
sino como una oportunidad para penetrar en el bello 
y maravilloso mundo del saber. Albert Einstein”


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a