[Samba] Samba 4 slow write

Jeremy Allison jra at samba.org
Thu Apr 16 16:00:49 MDT 2015

On Thu, Apr 16, 2015 at 08:42:48PM +0200, Ervin Hegedüs wrote:
> Dear Samba users,
> here is an Ubuntu 14.04, with Samba 4 (4.1.6), and LDAP (slapd
> 2.4.31). The config came from a previous system (Debian Squeezy),
> which had been crashed (HW error - on this new machine, I've put
> Ubuntu).
> So, as I wrote, the smb.conf and LDAP database was copied from
> the backup from the old system - but it works as well. Only one
> thing what's very annoying. The Samba is "only" a fileserver, not
> AD. Users put all files to Samba, eg. small projects for
> microcontrollers, written in C. Most user compiles the project on
> the Samba shares. The clients are Windows 7 and 8.
> These processes on the previous system takes about 8-10 seconds
> (of course, this is a very relative time...). On this new system,
> this compile process for some users takes still 8 seconds, but
> for some users takes 80-100 seconds. The different between the
> two groups is the "fast" group members are listed after the
> "admin users" in the smb.conf, the "slow" users aren't.

My guess is this is to do with user lookups. "admin users"
get mapped to root, non admin users don't.

Can you try with local users instead ?

More information about the samba mailing list