problems of access to the shared drive by Samba (problemas de acceso a la unidad compartida por Samba)

José L. Medina jolumedina at corpoelec.gob.ve
Thu May 2 09:59:24 MDT 2013


good morning

I have a problem of access to a Samba share drives. I have a PCS with OS Linux (debian, ubuntu) are validated in an LDAP user, I have a server with debian linux with samba installed, sharing some folders to certain group of users, disk quotas, security, permits, has created server users and those users are in different group of users and their respective key in samba. Since the user is validated in the PCS under LDAP and they change your password regularly, you choose to connect to samba server using the following command:

mount-t smbfs-o username = USER% PASSWORD / / NAME_OF_SERVER / SHARED / PUNTO_DE_MONTURA

mounted unit with a username and password that exists on the server with Samba, try entering and says access denied.
I do it as root from the client machine that is different from the Samba server and enters without any problem, create a file in that shared and make the file name of the user to mount the shared, but with a user other than root does not let me do anything, not even enter.

I'm doing something wrong, or is done differently, or is there another way to use it.

Thank you for your help.

Jose Medina

#########################################################################################################################################
                                                                                                        ESPAÑOL
#########################################################################################################################################
Buenos días

tengo un problema de acceso hacia unas unidades compartidas a través de Samba. tengo unas PCS con SO Linux (debian, ubuntu) que se validan los usuarios a través de LDAP, tengo un servidor con linux debian con samba instalado, compartiendo unas carpetas a ciertos grupo de usuarios, con cuotas de disco, seguridad, permisos, tiene creado usuarios en el servidor y esos usuarios están en los diferentes grupo de usuarios y con su respectiva clave en samba. Como el usuario que se validan en las PCS bajo LDAP y ellos cambian su clave regularmente, se decide conectar al servidor con samba a través del siguiente comando:

mount -t smbfs -o username=USUARIO%CONTRASEÑA //NOMBRE_DEL_SERVIDOR/COMPARTIDA /PUNTO_DE_MONTURA

monta la unidad con un usuario y contraseña que existe en el servidor con Samba, intento ingresar y me dice acceso denegado.
esto lo hago con el usuario root de la maquina del cliente que es diferente al del servidor con Samba y entra sin ningún problema, cree un archivo en esa compartida y crea el archivo a nombre del usuario con que monte la compartida, pero con un usuario diferente a root no me deja realizar nada, ni siquiera entrar.

Estoy haciendo algo mal, o se realiza de otra forma, o hay otra forma de usarlo.

Gracias por su ayuda.

José Medina


More information about the samba-technical mailing list