[Samba] samba 4.0.6 getent group

smb l. ist smblist at tms3labs.com
Mon Jun 24 12:48:53 MDT 2013


Hello all listies.

I've got samba4.0.6 running on FreeBSD 9.1.

Joined W2K12 domain as member server.

running getent group I noticed it takes a long time to resolve groups.

The result is correct, but it is inordinately long.

With 3.6.13 on FreeBSD 9.1 the return is nearly instantaneous.

smb4.conf looks like this.

[global]
  workgroup = TMS3
  security = ADS
  realm = TMS3.COM
  encrypt passwords = yes

#  idmap config DOMAIN : backend = rid
#  idmap config DOMAIN : range = 10000 - 20000
#  idmap config TMS3 : backend = tdb
#  idmap config TMS3:schema_mode = rfc2307
#  idmap config TMS3:range = 10000 - 20000
   idmap config DOMAIN : range = 10000 - 20000
   idmap config DOMAIN : backend = rid
   idmap config * : range = 10000 - 20000
   idmap config * : backend = tdb

#  winbind nss info = rfc2307
  winbind trusted domains only = no
  winbind use default domain = yes
  winbind enum users  = yes
  winbind enum groups = yes
  winbind refresh tickets = Yes
  winbind nested groups = No
#  map untrusted to domain = Yes

  aio read size = 16384
  aio write size = 16384
  aio write behind = false

  client ldap sasl wrapping = seal
  directory name cache size = 0

  nsupdate command = /usr/local/bin/samba-nsupdate -g
  dos filemode = yes
  inherit acls = yes
  inherit permissions = yes
#  log file = /var/log/samba/log.%m
  use sendfile = true
  read raw = yes
  write raw = yes
##############
###Member Server
##############
  preferred master = No   
  domain logons =No
  domain master = No           


More information about the samba mailing list