[Samba] Samba 4 slow write

Ervin Hegedüs airween at gmail.com
Fri Apr 17 02:07:47 MDT 2015


Hi Jeremy,

thanks for your reply,

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:
> > 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.

this is what I found:

# net groupmap list | grep -i admin
Domain Admins (S-1-5-21-3..-...-...-512) -> Domain Admins
Administrators (S-1-5-32-544) -> Administrators

# getent group | grep -i admin
Domain Admins:*:512:root,user1,user2
Administrators:*:544:user1,user2

# getent group | grep -i root
root:x:0:
Domain Admins:*:512:root,user1,user2

Anyway - why does the process faster for admin users?
 
> Can you try with local users instead ?

I'll try this later - I need remote access for a desktop client.


Thanks:


a.



More information about the samba mailing list