[Samba] Samba 4 slow write

Ervin Hegedüs airween at gmail.com
Sat Apr 18 03:01:13 MDT 2015

Hi all,

On Thu, Apr 16, 2015 at 03:00:49PM -0700, Jeremy Allison wrote:
> 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.

I've searched away the config, I've found this:

# net rpc group members administrators
# net rpc group members "domain admins"

but here isn't listed the user4, which listed in smb.conf, near
to "admin users" option. These users above (and only these users)
are members of Domain Admins group in LDAP.

Why faster the Samba for users, who listed in "admin users" in



I � UTF-8

More information about the samba mailing list