[Samba] How to install a replacement PDC?

deejayen at hush.com deejayen at hush.com
Mon Jul 29 08:48:34 MDT 2013


Also, here are the 'global' sections from the 'testparm' command.

Existing Unix server

[global]
	workgroup = DDOMAIN
	server string = Samba Server PDC
	smb passwd file = /etc/smbpasswd
	log file = /usr/lib/samba/var/log.%m
	max log size = 50
	time server = Yes
	keepalive = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	disable spoolss = Yes
	logon script = %U.bat
	logon drive = G:
	domain logons = Yes
	os level = 64
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	hosts allow = 192.0.0., 127.


New Debian server

[global]
	workgroup = DDOMAIN
	server string = %h server (Samba %v)
	interfaces = 127.0.0.0/8, eth0
	bind interfaces only = Yes
	obey pam restrictions = Yes
	smb passwd file = /etc/smbpasswd  ### I added this, but the file 
doesn’t exit
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* 
.
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	logon script = %U.bat
	logon drive = G:
	domain logons = Yes
	os level = 64
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	panic action = /usr/share/samba/panic-action %d




More information about the samba mailing list