Subject: Re: Samba and Mac OS trouble
To: Tobias Nygren <tnn@netbsd.org>
From: Zafer Aydogan <zafer@aydogan.de>
List: pkgsrc-users
Date: 08/07/2007 13:14:03
2007/8/7, Tobias Nygren <tnn@netbsd.org>:
> On Tue, 7 Aug 2007 12:18:11 +0200
> "Zafer Aydogan" <zafer@aydogan.de> wrote:
>
> > Hello list,
> >
> > I've set up a samba server, which works very well, except one oddity.
> > We're only using Mac's in our company and if I connect to the
> > samba share via the Finder (smb://samba) and if I use "duplicate" to
> > duplicate a file,
> > the samba server takes a long time (1-2 Minutes) to accomplish this
> > task, when the file used to duplicate is medium size (< 10 MB) . Other
> > tasks seem to be done immediately.
> > Does anybody know what could be the reason ?
> > What can I do to track down and solve the problem.
> >
> > Thanks, Zafer.
>
> First of all you need to find out what's causing the bottleneck.
> Maybe adding some combination of the socket options below to smb.conf
> will help?
>
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> c.f. smb.conf(5) for more possible options to add.
>
>
# man smb.conf
while trying to read the smb.conf manpage following happended.
man: Formatting manual page...
man5/smb.conf.5:444: warning: numeric expression expected (got `r')
man5/smb.conf.5:2976: warning: numeric expression expected (got `a')
man5/smb.conf.5:3010: warning: numeric expression expected (got `m')
man5/smb.conf.5:3781: warning: numeric expression expected (got `m')
man5/smb.conf.5:3781: normal or special character expected (got a space)
man5/smb.conf.5:4147: cannot use a space as a starting delimiter
man5/smb.conf.5:4153: a space character is not allowed in an escape name
man5/smb.conf.5:4156: a space character is not allowed in an escape name
man5/smb.conf.5:4159: a space character is not allowed in an escape name
man5/smb.conf.5:4159: a space character is not allowed in an escape name
man5/smb.conf.5:4159: a space character is not allowed in an escape name
man5/smb.conf.5:4891: warning: numeric expression expected (got `S')
man5/smb.conf.5:4892: missing delimiter (got a space)
man5/smb.conf.5:4892: warning: numeric expression expected (got `A')
man5/smb.conf.5:5786: warning: numeric expression expected (got `a')
SMB.CONF(5)
It looks like the man page contains unrecognized characters like
"Any line beginning with a semicolon (“;”) or a hash
(“#”) character is ignored, as are lines containing only
whitespace.
"
Zafer.