[Samba] Runnung samba4 as classic domain controller, win7 thinks it is AD

Michael Tokarev mjt at tls.msk.ru
Sat Dec 6 12:34:25 MST 2014


06.12.2014 21:47, Rowland Penny wrote:
[]
> Any chance we can see your smb.conf ?

Sure, here it is.  Somehow I forgot to add it initially, even if planned.
Thank you for looking into this.

/mjt

[global]
 workgroup = TLS
 server string = %h samba server %v
 netbios name = FS
 netbios aliases = PALTUS LINUX SERVER

 acl allow execute always = true

 wins support = yes
 dns proxy = yes

 interfaces = 192.168.177.2/26 127.0.0.1/8
 bind interfaces only = yes
 allow hosts = 192.168.177.0/26 127.0.0.0/8

 log file = /var/log/samba/log.%m
 max log size = 1000
 syslog = 0

 remote browse sync = 192.168.19.1

 security = user
 encrypt passwords = true
 passdb backend = tdbsam:/var/lib/samba/passdb.tdb
 obey pam restrictions = yes
 unix password sync = no
 pam password change = yes
 username map = /etc/samba/username.map
 utmp = yes
 hostname lookups = yes

 # temp for win95
 lanman auth = yes

########## Domains ###########

 preferred master = auto
 domain master = yes
 local master = yes
 domain logons = yes
 os level = 64
# added to try to join a machine to samba4 domain, does not help
 server role = classic primary domain controller

# Location of the user's profile directory
 logon path = \\%L\%U\Profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
 logon drive = H:
 logon home = \\%L\%U

 load printers = no
 printing = bsd
;   printcap name = /etc/printcap
 print command = lpr -h -P%p '%s'; rm -f '%s'

 map archive = no
 # map hidden = yes
 # map system = yes
 create mask = 0775
 directory mask = 0775

 host msdfs = yes

 # unix ext and wide links are incompatible. we need wide links.
 unix extensions = no
 wide links = yes

#======================= Share Definitions =======================

[homes]
 comment = Home Directories
 browseable = no

[... other share definitions follow....]


> Rowland
> 



More information about the samba mailing list