Hi, I have a PDC setup (kind of). smb.conf has: unix password sync = yes passwd program = /usr/bin/smbpasswd %u passwd chat = *New*password* %u\n *Re*ype*new*password* %u\n *passwd:*all*authentication*tokens*updated*successfully* Logging ok but changing passwords in windows does not effect samba/linux account. Turned logging on to 10 but nothing obvious comes up when I ctrl-alt-del, change password, enter them and click change passwords. Windows changes only. regards -- View this message in context: http://samba.2283325.n4.nabble.com/pdc-win10-change-password-not-working-tp4709038.html Sent from the Samba - General mailing list archive at Nabble.com.
On Mon, 3 Oct 2016 04:22:43 -0700 (PDT) coxsterdillon via samba <samba at lists.samba.org> wrote:> Hi, > > I have a PDC setup (kind of).What do you mean 'kind of' , it is either a PDC or it isn't> > smb.conf has: > > unix password sync = yes > passwd program = /usr/bin/smbpasswd %u > passwd chat = *New*password* %u\n *Re*ype*new*password* %u\n > *passwd:*all*authentication*tokens*updated*successfully*I think you are going to have to post your smb.conf. I don't think anyone will be able to help until we see it. It might also help if you describe your network setup' Rowland
OK, thanks. I just want to confirm that I can successfully change the password in Windows 7 OK now. I cannot in Windows 10, says: "The system cannot contact a domain controller to service the authentication request. Please try again later." /etc/samba/smb.conf contains: [global] workgroup = COMPO netbios name = DEV2 server string = %h server (Samba, Ubuntu) domain master = yes preferred master = yes local master = yes domain logons = yes add machine script = sudo /usr/sbin/useradd -N -g pdcmachines -c Machine -d /var/lib/samba -s /bin/false %u security = user encrypt passwords = yes wins support = yes name resolve order = wins lmhosts hosts bcast logon path = \\%N\%U\profile logon drive = H: logon home = \\%N\%U logon script = logon.bat panic action = /usr/share/samba/panic-action %d unix password sync = yes obey pam restrictions = 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 server max protocol = NT1 [homes] comment = Home Directories browseable = no read only = no create mask = 0700 directory mask = 0700 valid users = %S [share] comment = Global shared directory browseable = yes path = /home/share valid users = %U directory mask = 0700 create mask = 0700 read only = no [temp] comment = Temporary shared data directory browseable = yes path = /home/temp valid users = %U directory mask = 0700 create mask = 0700 read only = no [netlogon] path = /srv/samba/netlogon browseable = no read only = yes create mask = 0700 directory mask = 0700 guest ok = yes comment = Network Logon Service -- View this message in context: http://samba.2283325.n4.nabble.com/pdc-win10-change-password-not-working-tp4709038p4709097.html Sent from the Samba - General mailing list archive at Nabble.com.