Page 1 of 1

mount CIFS share on linux and reexport it using samba

Posted: 30 May 2014 17:56
by Anip
hello I have HP NAS. It export 2 different shares one using CIFS and second using NFS

I mount both share on ubuntu machine 13.04 on different mount point. This linux machine is domain member of windows domain.

Now exporting these 2 mounts using samba server. samba config file is very simple[global]
netbios name = machinename
machine password timeout = 0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
domain master = no
local master = no
workgroup = COMPANY
realm = COMPANY.LOCAL
preferred master = no
security = ADS
log level = 3
log file = /var/log/samba/log.%m.%u
include = /etc/samba/smb.conf.%u
max log size = 50000
template shell = /bin/bash
unix extensions = yes
[reexported_share]
comment = This is a test share
path = /sambanas
browseable = yes
read only = no
writeable = yes
[localvm_share]
comment = This is a test share
path = /share
browseable = yes
read only = no
writeable = yes

So when i use NFS share it works fine means showing owner information and permission all works fine.

But when i use CIFS share all things are messed up. Not able to find the problem. When i create the folder and refresh it, it becomes unknown file.

So give me suggestion regarding CIFS to work it same way as NFS.

Thanks,
Anip.