[Samba] Security=user half as fast as share. Why?

samba1.20.cdunham at spamgourmet.com samba1.20.cdunham at spamgourmet.com
Mon Nov 7 18:40:19 GMT 2005

> samba1.20.cdunham at spamgourmet.com escreveu:
> > I'm running Suse 9.2 (kernel 2.6.8-24) with Samba 3.0.20b
> >
> > When I use security=user, my read/write performance is less than half
> > the peformance with security=share.  Why?  There are no other changes,
> > but performance is never better than half the speed.  This happens with
> > WinXP, Win2K and Win98 clients, so I don't think the client
> > configuration is the problem.  Network is gigabit, with Intel Pro/1000
> > adapters.
>  Did you setup the socket options?
>  security = share has five "extra" steps to check the user,
> perhaps it could be a delay from the backend (LDAP or winbind).
>  Kind regards,

I'm not sure what you mean by socket options.  My smb.conf is shown below. 
I'm not using LDAP or winbind. No domain, just a workgroup.

My smb.conf file is:

 workgroup = MYWORKGROUP
 netbios name = SERVER1
 wins support = yes
 domain master = yes
 local master = yes
 preferred master = yes
 os level = 65
 map to guest = Bad User

 restrict anonymous = no
 server signing = Auto

 comment = test
 path = /home/users
 read only = no
 guest ok = yes

More information about the samba mailing list