[Samba] Windows 2008 Standard SP2 cannot access samba share by hostname but ok with IP
Jerome Yanga
jerome.yanga at gmail.com
Thu Oct 10 09:01:30 MDT 2013
Stephane,
A bit more background...
The original samba server was running on an old Solaris 10 SPARC box with
Samba version 11.10.0,REV=2005.01.08.05.16. Due to it age and probably
because I may not have the parts to repair it if it breaks, I decided to
migrate this server into a newer box. We do not experience the errors I
enumerated on my previous email on this old samba server.
It's global configuration are as follows.
[global]
workgroup = TEST
netbios aliases = SAMBA1
server string = Samba Server
security = DOMAIN
map to guest = Bad Uid
password server = dc1.sample.com, dc2.sample.com
username map = /etc/samba/user_map
syslog = 2
log file = /var/samba/log/samba.log
max log size = 256000
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
os level = 1
local master = No
browse list = No
wins server = 10.1.1.1
allow insecure wide links = Yes
host msdfs = No
idmap config * : backend = tdb
oplocks = No
level2 oplocks = No
I had to change the global config of the new samba server as there are
configs above that testparm was complaining about.
regards,
j
On Thu, Oct 10, 2013 at 7:43 AM, Stéphane PURNELLE <
stephane.purnelle at corman.be> wrote:
> Your share is on a NFS server ?
>
> if yes, maybe look your NFS server configuration !
>
> -----------------------------------
> Stéphane PURNELLE Admin. Systèmes et Réseaux
> Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
>
> samba-bounces at lists.samba.org wrote on 10/10/2013 16:31:44:
>
> > De : Jerome Yanga <jerome.yanga at gmail.com>
> > A : Rowland Penny <rowlandpenny at googlemail.com>,
> > Cc : samba at lists.samba.org
> > Date : 10/10/2013 16:32
> > Objet : Re: [Samba] Windows 2008 Standard SP2 cannot access samba
> > share by hostname but ok with IP
>
> > Envoyé par : samba-bounces at lists.samba.org
> >
> > 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
> > 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
> > <rowlandpenny at 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 <
> > > rowlandpenny at 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
> > >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:
> https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list