Samba4 and CIFS, some solution today?

Steve French smfrench at gmail.com
Sun May 1 23:59:44 UTC 2016


2016-04-29 12:36 GMT-05:00 Pablo Silva <psilva at bbr.cl>:

>
> Hi!
>
>     I would like to know if it's possible to use cifs with samba4 in
> centos 6.7, at the moment, as i can see it's impossible.., there is some
> other way for to mount windows sahred folder?
>
>   Thanks in advance!
>
> -Pablo
>
>
> [root at ERAServer ~]# yum install cifs-utils
> Complementos cargados:fastestmirror
> Configurando el proceso de instalación
> Loading mirror speeds from cached hostfile
> epel/metalink | 2.8 kB     00:00
>  * base: centos.secrel.com.br
>  * epel: mirror.cedia.org.ec
>  * extras: centos.secrel.com.br
>  * updates: centos.secrel.com.br
> base | 3.7 kB     00:00
> epel | 4.3 kB     00:00
> epel/primary_db | 5.9 MB     00:02
> extras | 3.4 kB     00:00
> mysql-connectors-community | 2.5 kB     00:00
> mysql-tools-community | 2.5 kB     00:00
> mysql56-community | 2.5 kB     00:00
> updates | 3.4 kB     00:00
> Resolviendo dependencias
> --> Ejecutando prueba de transacción
> ---> Package cifs-utils.x86_64 0:4.8.1-20.el6 will be instalado
> --> Procesando dependencias: libwbclient.so.0()(64bit) para el paquete:
> cifs-utils-4.8.1-20.el6.x86_64
> --> Ejecutando prueba de transacción
> ---> Package samba-winbind-clients.x86_64 0:3.6.23-30.el6_7 will be
> instalado
> --> Procesando dependencias: samba-winbind = 3.6.23-30.el6_7 para el
> paquete: samba-winbind-clients-3.6.23-30.el6_7.x86_64
> --> Ejecutando prueba de transacción
> ---> Package samba-winbind.x86_64 0:3.6.23-30.el6_7 will be instalado
> --> Procesando dependencias: samba-common = 3.6.23-30.el6_7 para el
> paquete: samba-winbind-3.6.23-30.el6_7.x86_64
> --> Ejecutando prueba de transacción
> ---> Package samba-common.x86_64 0:3.6.23-30.el6_7 will be instalado
> --> Procesando conflictos: samba4-common-4.2.10-6.el6_7.x86_64 choca con
> samba-common < 3.9.9
> --> Procesando conflictos: samba4-winbind-4.2.10-6.el6_7.x86_64 choca con
> samba-winbind < 3.9.9
> --> Procesando conflictos: samba4-winbind-clients-4.2.10-6.el6_7.x86_64
> choca con samba-winbind-clients < 3.9.9
> --> Resolución de dependencias finalizada
> Error: samba4-winbind conflicts with samba-winbind-3.6.23-30.el6_7.x86_64
> Error: samba4-common conflicts with samba-common-3.6.23-30.el6_7.x86_64
> Error: samba4-winbind-clients conflicts with
> samba-winbind-clients-3.6.23-30.el6_7.x86_64
>  Podría intentar utilizar el comando --skip-broken para sortear el problema
> Podría intentar ejecutar: rpm- Va --nofiles --nodigest
>
>
>
>
Until RedHat or CentOS fixes their package conflicts you have at least two
choices e.g.
1) simply mount using the ip address
   mount -t cifs //server-ip-address/share /mnt -o
username=youruser,password=yourpassword
(note that cifs-utils, unless you are using kerberos, is primarily helpful
for resolving the tcp hostname to an ip address. The kernel does almost
everything else, and the kernel with cifs.ko is already installed)
2) ignore the package conflict (except for kerberos cases, cifs-utils can
probably do fine without winbind dependency)



-- 
Thanks,

Steve


More information about the samba-technical mailing list