[Samba] [EXTERNAL]Re: SMB1 Domain stopped working after updates quick solution needed
Rowland Penny
rpenny at samba.org
Mon Jun 12 21:27:27 UTC 2023
On 12/06/2023 21:51, Mark Bannister via samba wrote:
>>
> Ok, so I need to search for info on a "NT4-sytle PDC"? Everything I
> find is about AD. Do you think this error is the reason for Winbind
> exiting "idmap backend rid not found" ?
>
> --
Okay, after digging in some very old files, try this as the '[global]'
part of your smb.conf
[global]
workgroup = LINGROUP
server string = APP Samba %v %h
wins support = Yes
dns proxy = No
log file = /var/log/samba/log.%m
max log size = 1000
panic action = /usr/share/samba/panic-action %d
server role = classic primary domain controller
obey pam restrictions = Yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = Yes
map to guest = Bad User
domain logons = Yes
logon drive = H:
logon home =
logon path =
logon script = logon.bat
add machine script = sudo /usr/sbin/useradd -g machines -c "%u
machine account" -d /var/lib/samba -s /bin/false %u
add user script = /usr/sbin/adduser --quiet --disabled-password
--gecos "" %u
domain master = Yes
load printers = No
name resolve order = wins lmhosts host bcast
ntlm auth = ntlmv1-permitted
preferred master = Yes
server max protocol = NT1
client max protocol = NT1
template homedir = /home/%U
template shell = /bin/bash
admin users = sysadmin
hosts allow = 127.0.0.1 192.168.1. 192.168.0.0/26
hosts deny = 0.0.0.0/0
use client driver = Yes
veto oplock files =
/*.TV/*.FAM/*.dat/*.DAT/*.db/*.DB/*.X??/*.x??/*.Y??/*.y??/*.MB/*.mb/*.VAL/*.val/*.PX/*.px/*.mdb/*.MDB/*.lck/*.LCK/
Rowland
More information about the samba
mailing list