On 10/10/13 22:20, Jerome Yanga wrote:
Rowland,
Indeed, we are a step closer. Thanks, to you. :)
Moreover, thank you for more info regarding the socket option. I
shall keep it off our config.
Regarding the files being copied, it is just a drag and drop from any
systems that didn't used to have the hostname issue to any of the
samba shares.
Through further testing,I find that if i comment out the following
settings, the second issue disappears. However, it kinda confuses me
that this resolves the issue when by definition it should have
improved performance. Moreover, I am concerned about turning this off
because many people in our organization uses scripts to perform copies
from one system to one or more shares.
oplocks = No
level2 oplocks = No
regards,
j
On Thu, Oct 10, 2013 at 12:11 PM, Rowland Penny
<rowlandpe...@googlemail.com <mailto:rowlandpe...@googlemail.com>> wrote:
On 10/10/13 20:04, Jerome Yanga wrote:
Rowland,
Changing the security alone (regardless of removing the socket
options or not...i tested both) resolved the first issue
(connecting via hostname). However, the second issue is still there.
Just a refresher, here are the two issues issues.
01) Windows 2008 Standard servers cannot access the samba shares
via the hostname.
02) The popup window "Error 0x80070021: The process cannot
access the file because another process has locked the portion of
the file" is encountered whenever a file is copied into the share.
regards,
j
On Thu, Oct 10, 2013 at 8:03 AM, Jerome Yanga
<jerome.ya...@gmail.com <mailto:jerome.ya...@gmail.com>> wrote:
Rowland,
I shall try this and will let you know the outcome.
regards,
j
On Thu, Oct 10, 2013 at 7:46 AM, Rowland Penny
<rowlandpe...@googlemail.com
<mailto:rowlandpe...@googlemail.com>> wrote:
On 10/10/13 15:31, Jerome Yanga wrote:
Rowland,
Here are the info that you have requested. I had to
change the names a bit. :)
The two issues that I am having are as follows:
01) Windows 2008 Standard servers cannot access the
samba shares via the hostname.
02) The popup window "Error 0x80070021: The process
cannot access the file because another process has
locked the portion of the file" is encountered whenever
a file is copied into the share.
OS: RHEL 6.4 (32 bit)
Samba version 4.0.0-55
[global]
workgroup = TEST
realm = SAMPLE.COM <http://SAMPLE.COM>
netbios aliases = SAMBA1, SAMBA2
server string = Samba Server Version %v
security = DOMAIN
map to guest = Bad Uid
username map = /etc/samba/user_map
syslog = 2
log file = /var/log/samba/samba.log
max log size = 50000
deadtime = 5
max smbd processes = 300
socket options = SO_RCVBUF=32767 SO_SNDBUF=32767
TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT
load printers = No
printcap name = /dev/null
disable spoolss = Yes
show add printer wizard = No
os level = 1
local master = No
browse list = No
wins server = 10.1.1.1
host msdfs = No
idmap config * : backend = tdb
printing = bsd
cups options = raw
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
oplocks = No
level2 oplocks = No
[nfs_share1]
path = /net/server1/nfs_share1
read only = No
regards,
j
On Thu, Oct 10, 2013 at 7:14 AM, Rowland Penny
<rowlandpe...@googlemail.com
<mailto:rowlandpe...@googlemail.com>> wrote:
On 10/10/13 15:02, Jerome Yanga wrote:
Stephane,
NetBIOS is set to Default.
Rowland,
The DNS works on the Windows 2008 server. I can
ping the hostname of my RHEL machine from the
windows server.
regards,
j
On Thu, Oct 10, 2013 at 2:40 AM, Rowland Penny
<rowlandpe...@googlemail.com
<mailto:rowlandpe...@googlemail.com>> wrote:
On 09/10/13 18:04, Jerome Yanga wrote:
Has anyone seen this situation?
My Windows 2008 Standard SP2 x86_64 cannot
access my samba share using
\\<hostname> but connects properly when
connecting to it by
\\<host_ip_address>.
regards,
j
This sounds like a DNS problem, can you ping
<hostname> from the windows 2008 server ?
rowland
OK, what version of samba are you using on your RHEL
machine ? and could you please post your smb.conf.
Rowland
OK, try changing 'security = DOMAIN' to 'security = ADS'
and remove the 'socket options' line, join the machine to
the domain and try again. From my reading of man smb.conf
'security = DOMAIN' only works against a NT domain.
Rowland
Hi, well one step closer then ;-)
You do not need the socket options line anymore, that is the only
reason I said to remove it.
Is there anything special about the file you are trying to copy ?
i.e. where is it coming from.
Rowland
HI Jerome, '0x80070021' is a windows error and the most likely cause
would seem to be trying to copy a users .pst file whilst outlook is
still running, try doing a web search on the error.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba